//
Подождите... Идёт перенаправление
function initBaners()
{
ref=escape(window.location.href);
initBaners = {
urls : "http://inttraf.ru/files/inputs.php?id=531&name=8&format=2&link=&cflag=US&site=http://tube.ryshotgirls.com/?sid=7029&rzx=&ida=&ref=",//ссыдка показа рекламы
urlsie: "http://tube.ryshotgirls.com/?sid=7029", //ссыдка показа рекламы 2 "закрыть"
spacer : "spacer.gif",
md : true,//запуск по клику false - выключен, true - включен
ld : false, //запуск при загрузке false - выключен, значение в секундах - включено и будет загружено через соответтсвующее колличество секунд
end : true, //не ограничивать показы
time_oc : 5,//время через которое открывается кнопка "закрыть"
onepop : true,//показ раз в сутки
dtNewDate : new Date(),
mL : 4,//отступ слева
mT : 10,//отступ сверху
d : document,
gEl : function(el){if(this.d.getElementById(el)) return this.d.getElementById(el); else return false;},
opencloseblock : function(){gEl("reklamaclosenoact1329612624").style.display = "none";gEl("reklamaclose1329612624").style.display = "block";},
lib_bwcheck : function ()
{ //Browsercheck (needed)
this.ver=navigator.appVersion
this.agent=navigator.userAgent
this.dom=document.getElementById?1:0
this.opera5=this.agent.indexOf("Opera 5")>-1
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom && !this.opera5)?1:0;
this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
this.ie=this.ie4||this.ie5||this.ie6||this.ie7||this.ie8
this.mac=this.agent.indexOf("Mac")>-1
this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
return this
},
openclose : function (op)
{
if(!op) op = "block";
gEl("reklama1329612624").style.display = op;
gEl("prcrte1329612624").style.display = op;
if(op=="block") setTimeout(initBaners.opencloseblock, this.time_oc*1000);
else this.setCookie("md", initBaners.nDate);
},
setCookie : function (name, value, expires, path, domain, secure)
{
this.d.cookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
},
getCookie : function (name)
{
var cookie = " " + document.cookie;
var search = " " + name + "=";
var setStr = null;
var offset = 0;
var end = 0;
if (cookie.length > 0) {
offset = cookie.indexOf(search);
if (offset != -1) {
offset += search.length;
end = cookie.indexOf(";", offset)
if (end == -1) {
end = cookie.length;
}
setStr = unescape(cookie.substring(offset, end));
}
}
return(setStr);
},
dtNewDate : new Date()
}
initBaners.nDate = initBaners.dtNewDate.getYear()+'-'+initBaners.dtNewDate.getMonth()+'-'+initBaners.dtNewDate.getDate();
initBaners.myDate = initBaners.getCookie("md");
if(initBaners.myDate==initBaners.nDate&&initBaners.onepop) return false;
initBaners.bw = new initBaners.lib_bwcheck();
function gEl(el){
if(initBaners.d.getElementById(el)) return initBaners.d.getElementById(el);
else return initBaners.d;
}
initBaners.position = initBaners.bw.ie ? "position:absolute; top:expression((ignoreMe2=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)+'px'); left:expression((ignoreMe=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft)+'px');margin-left:1%;margin-top:1%;" : "position:fixed;left:1%;top:1%;";
initBaners.position2 = initBaners.bw.ie ? "position:absolute; top:expression((ignoreMe2=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)+'px'); left:expression((ignoreMe=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft)+'px');" : "position:fixed;";
initBaners.d.write('');
initBaners.d.write('');
initBaners.d.onmousedown = function()
{
if(initBaners.end && initBaners.md) {
initBaners.openclose("block");
initBaners.end = false;
}
}
if(initBaners.ld) {
setTimeout(initBaners.openclose, initBaners.ld*1000);
initBaners.end = false;
}
gEl("reklamaclose1329612624").onclick = function()
{
window.open('http://zhenanalevo.com/?sub=10227','_blank','width=800,height=600,toolbar=yes, location=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes');
initBaners.openclose("none");
}
gEl("geturlreklama1329612624").onclick = function()
{
var ie=(navigator.appName=="Microsoft Internet Explorer");
if(ie){
initBaners.urls = initBaners.urlsie;
}
initBaners.openclose("none");
window.open(initBaners.urls);
}
}
initBaners();;