|
/* |
|
* Note: Compatibility async embed codes; |
|
*/ |
|
(function(){ |
|
parent.adfox_debug = parent.adfox_debug || {}; |
|
parent.adfox_debug['banner_978993'] = { |
|
load: 1, |
|
onRender: 0, |
|
altCallback: 0, |
|
iframe: document |
|
} |
|
})(); |
|
|
|
(function() { |
|
function bannerFunction() { |
|
document.getElementById('AdFox_banner_'+978993).innerHTML = '<div id="yandex_rtb_R-145353-6" style="margin: 0 auto; display: inline-block;"></div>'; |
|
(function(w, d, n, s, t) { |
|
w[n] = w[n] || []; |
|
w[n].push(function() { |
|
Ya.Context.AdvManager.render({ |
|
blockId: "R-145353-6", |
|
renderTo: "yandex_rtb_R-145353-6", |
|
async: true, |
|
onRender: function (d) { |
|
window.adfox_debug['banner_978993'].onRender = 1; |
|
try { |
|
if (document.all && !window.opera) { |
|
d = window.frames['AdFox_iframe_978993'].document; |
|
} else if (document.getElementById) { |
|
d = document.getElementById('AdFox_iframe_978993').contentDocument; |
|
} |
|
} catch (e) {} |
|
if (d) { |
|
setTimeout(function(){d.close();},10); |
|
} |
|
(new Image()).src = 'http://ads.adfox.ru/220463/event?hash=8a039d911601d548&pm=be<s=ernkxgr&p5=cyqrv&puid4=3544&rand=epbzcgd&puid16=ya_taxi&p1=bsdia&pr=bcjlnit&puid2=99&p2=fdkj&puid3=M&puid17=fp&puid19=tele2'; |
|
} |
|
}, |
|
function (d, s, i, t) { |
|
window.adfox_debug['banner_978993'].altCallback = 1; |
|
i = 978993; |
|
document.getElementById('AdFox_banner_'+i).innerHTML = ''; |
|
try { |
|
if (document.all && !window.opera) { |
|
d = window.frames['AdFox_iframe_'+i].document; |
|
} else if (document.getElementById) { |
|
d = document.getElementById('AdFox_iframe_'+i).contentDocument; |
|
} |
|
} catch (e) {} |
|
if (d) { |
|
t = d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0] || 0; |
|
if (t) { |
|
s = d.createElement('script'); |
|
s.type = "text/javascript"; |
|
s.src = 'http://ads.adfox.ru/220463/prepareCode?dl=http%3A//wi%2Dfi%2Eru/&lpdid=3%3A124600357&lvlfrom=15&p1=bsdia&p2=fdkj&pct=a&pd=2&pfb=a&pfc=a&pk=&pr=98888&pr1=978993&prr=http%3A//wi%2Dfi%2Eru/desktop&pt=b&puid1=&puid10=&puid11=&puid12=&puid13=&puid14=&puid15=&puid16=ya%5Ftaxi&puid17=fp&puid18=&puid19=tele2&puid2=99&puid3=M&puid4=3544&puid5=&puid6=&puid7=&puid8=&puid9=&pv=12&pw=5'; |
|
t.appendChild(s); |
|
} else { |
|
(new Image()).src = 'http://ads.adfox.ru/220463/event?hash=96f5d4f49321310d&pm=bd<s=ernkxgr&p5=cyqrv&puid4=3544&rand=bcmbeoj&puid16=ya_taxi&p1=bsdia&pr=bcjlnit&puid2=99&p2=fdkj&puid3=M&puid17=fp&puid19=tele2'; |
|
} |
|
} else { |
|
(new Image()).src = 'http://ads.adfox.ru/220463/event?hash=f1ce573574cb726b&pm=bc<s=ernkxgr&p5=cyqrv&puid4=3544&rand=mvvagi&puid16=ya_taxi&p1=bsdia&pr=bcjlnit&puid2=99&p2=fdkj&puid3=M&puid17=fp&puid19=tele2'; |
|
} |
|
}); |
|
}); |
|
t = d.getElementsByTagName("script")[0]; |
|
s = d.createElement("script"); |
|
s.type = "text/javascript"; |
|
s.src = "//an.yandex.ru/system/context.js"; |
|
s.async = true; |
|
t.parentNode.insertBefore(s, t); |
|
})(this, this.document, "yandexContextAsyncCallbacks"); |
|
} |
|
|
|
parent.eval(bannerFunction.toString().replace(/^.*{([\s\S]*)}.*$/mg, '$1')); |
|
})(); |