';
advideo_iframe.onload = function(){
advideo_iframe.contentWindow.document.open('text/htmlreplace');
advideo_iframe.contentWindow.document.write(myContent);
uPreroll.add_close_events(30);
uPreroll.setCounter('ukit');
}
},
setCloseCounter: function(tmr){
var cid = '.counter';
var wid = '.uPreroll-holder';
$(cid).html(tmr);
var uPreroll_count = setInterval(function () {
$(cid).html(tmr--);
if (tmr==-1){
$(wid + ' .close_popup').addClass('appeared');
$(cid).css('display','none');
clearInterval(uPreroll_count);
}
}, 1000);
$(wid + ' .close_popup').click(function(){
uPreroll.close_preroll_banners();
});
},
setCloseCounter: function(tmr){
var cid = '.counter';
var wid = '.uPreroll-holder';
$(cid).html(tmr);
var uPreroll_count = setInterval(function () {
$(cid).html(tmr--);
if (tmr==-1){
$(wid + ' .close_popup').addClass('appeared');
$(cid).css('display','none');
clearInterval(uPreroll_count);
}
}, 1000);
$(wid + ' .close_popup').click(function(){
uPreroll.close_preroll_banners();
});
},
add_close_events: function(tmr){
var uPreroll_count = setInterval(function () {
$("#preroll_counter").html(tmr--);
if (tmr==-1){
$("#preroll_close_btn").show();
$("#preroll_counter").hide();
clearInterval(uPreroll_count);
}
}, 1000);
$("#preroll_close_btn").click(function(){
uPreroll.close_preroll_banners();
});
},
ads:{
bannerator_ua: function(){
banerator_key = "d7f80004920c0c0cb6574083c89c62c5";
banerator_channel = "";
banerator_code_format = "ads";
banerator_ads_host = "//web.archive.orghttp://banerator.net";
banerator_click = "";
banerator_custom_params = {};
banerator_width = "600";
banerator_height = "300";
document.write("");
document.write("
![]() | Войти Зарегистрироваться |
|
|