***).insertBefore($(***.right_content > .title***));
$(***#ad_220x700***).html(response.zones[52302].script);
}
if(typeof response.zones[52299] != ***undefined***){
$(***#virgul_extra_calls***).append(response.zones[52299].script);
}
if(typeof response.zones[52300] != ***undefined***){
$(***#virgul_extra_calls***).append(response.zones[52300].script);
}
//Site geneli 728x90
if (typeof response.zones[385] != ***undefined***) {
$(***#ngVirgul_728x90***).show();
console.log(response.zones[385].script);
$(***#ngVirgul_728x90***).html(response.zones[385].script);
}
if (typeof response.zones[2188] != ***undefined***) {
$(***#ngVirgul_728x90***).show();
$(***#ngVirgul_728x90***).html(response.zones[2188].script);
}
if(typeof response.zones[52379] !== ***undefined***){
$(***body***).append(response.zones[52379].script);
}
if(typeof response.zones[52492] !== ***undefined***){
blogbarVideo = true;
document.domain = ******.com***;
var tbar = document.getElementById(***tbar***);
var ad = response.zones[52492];
var iframe = tbar.contentWindow;
// tbar.style.height = ***200px***;
blogbar = true;
iframe.displayVastAd(ad);
}
if(isFirst){
//roadblock
if(typeof response.zones[52124] != ***undefined*** && !blogbarVideo) {
var roadBlockCookie = getCookie(***roadblock_closed***);
if(roadBlockCookie == 1) {
closeRoadBlock();
}
else {
openRoadBlock(false);
}
}
//pageSkin
if(typeof response.zones[2185] != ***undefined***){
$(***#ngVirgulPageskin***).attr(***style***, ***background:#***+response.zones[2185].color+*** url(***+response.zones[2185].background+***) no-repeat center 125px !important; position:absolute; top:-52px; left:0;height:1900px; z-index:-1; width:100%;***);
$(***#rss***).attr(***style***,***width:960px; margin:194px auto 0 !important; border:1px solid #EEE; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; background:#FFF; padding:10px 0;***);
$(***#newAdSkinClickUrl***).show();
$(***#newAdSkinClickUrl***).attr(***href***, response.zones[2185].click);
$(***#newAdSkinClickUrl***).html(response.zones[2185].view);
}
//Scroll Popup Mainpage
if(!ad_poll_seen && typeof response.zones[1896] != ***undefined***){
window.flyer=***reklam***;
$(***#scrollPopupContainer***).attr(***style***,***right: 0px***);
$(***#scrollPopup***).append(response.zones[1896].script);
}
if(typeof response.zones[2187] != ***undefined***){
window.flyer=***reklam***;
var video;
video = ***
***;
$(***#scrollPopupContainer***).attr(***style***,***right: 0px;border: 3px solid #e0e0e0;***);
$(***.mini-close***).attr(***style***,***left: -12px; top: -12px; width:38px; height:38px;position: absolute;cursor:pointer;z-index:10001***);
$(***#scrollPopup***).append(video);
if(navigator.appName.indexOf(***Microsoft***) == -1){
PLAYER_OBJECT=document.getElementById(***ay_player_e***);
}else{
PLAYER_OBJECT=document[***ay_player_e***];
}
}
//splash
if (typeof response.zones[596] != ***undefined***) {
$(***#splashAd***).show();
$(***#splashAdScript***).html(response.zones[596].script);
}
if(typeof response.zones[2186] != ***undefined***){
$(***#takeoverAd***).show();
$(***#takeoverAdScript***).append(response.zones[2186].script);
}
isFirst = false;
}
if(typeof response.zones[52489] !== ***undefined***){
$(***#roadblock***).hide();
var div = document.createElement(***div***);
div.innerHTML = ******;
div.setAttribute(***id***, ***fullscreenAd***);
div.style***Text = ***position: fixed;width: 100%;height: 100%;z-index: ***3647;top: 0;left: 0;margin: 0;padding: 0;***;
$(div).append(response.zones[52489].script);
document.body.appendChild(div);
}
function rg() {
if(blogId == 1807168){
document.getElementById(***ngHeadBanner***).style***Text = "width: 970px !important; max-width: 970px !important; height: auto !important; overflow: visible !important; margin: "+window.marginTopAd+" auto auto; display: block !important; visibility: visible !important; margin-top: "+window.marginTopAd+" !important; position: relative !important; opacity: 1 !important; margin-bottom: " + (-1 * parseInt($(***zody > div***)***(***margin-top***))) + ***px !important***;
document.getElementById(***cont1***).style.marginTop = ***1px***;
document.getElementById(***tbar***).style***Text += " display: block !important; visibility:visible !important; position: fixed !important; top: 0px !important; left: 0px !important; width: 100% !important; min-width: 1000px !important; line-height: 30px !important; z-index: ***3647 !important; opacity: 1 !important; margin: 0px !important; padding: 0px !important;";
}
else{
document.getElementById(***ngHeadBanner***).style***Text = "width: 970px;height: auto; margin: " + window.marginTopAd + " auto auto; display: block !important; visibility: visible !important; margin-top: " + window.marginTopAd + " + important!; position: relative !important; opacity: 1 !important;";
// console.log("width: 970px;height: auto; margin: " + window.marginTopAd + " auto auto; display: block !important; visibility: visible !important; margin-top: " + window.marginTopAd + "; position: relative !important; opacity: 1 !important;");
}
document.body.style***Text += " margin: 0px !important; padding: 0px !important;";
document.getElementById(***roadblock***).style***Text = "display: block !important; visibility: visible !important; position: relative !important; opacity: 1 !important; overflow: visible !important; height: auto !important;";
document.getElementById(***ngVirgul_728x90***).style***Text = "display: block !important; visibility: visible !important; position: relative !important; opacity: 1 !important";
if(document.getElementById(***vrgdiv5703bd22e4b0fbeea48e1b84***) !== null){
document.getElementById(***vrgdiv5703bd22e4b0fbeea48e1b84***).style***Text = "display: block !important; visibility: visible !important; position: relative !important; opacity: 1 !important";
}
if(document.getElementById(***a5703bd22e4b0fbeea48e1b84***) !== null){
document.getElementById(***a5703bd22e4b0fbeea48e1b84***).style***Text = "display: block !important; visibility: visible !important; position: relative !important; opacity: 1 !important";
}
if(document.getElementById(***ad_660x250***) !== null){
document.getElementById(***ad_660x250***).style***Text = "display: block !important; visibility: visible !important; position: relative !important; opacity: 1 !important";
}
}
if(blogbar === false){
displayVideoWidget();
}
window.marginTopAd = ***55px***;
// rg();
setInterval(rg, 1000);
}
virgulAd(catId, virgulUrl, url, callback, noktaId, pageId, time);