var ov = false; function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } function popup_gel() { day = new Date(); URL = 'ht'+'tp'+':/'+'/reklamoman.ru/cl'+'ick/po'+'pup.php?id=71&hash=664faafa0d86a5229cffc76eb42cfe5c'; id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=600,height=600,left = 276,top = 132');"); window.focus(); document.getElementById('popup_divMenu').style.display = 'none'; pathname = "/"; myDomain = "/"; var largeExpDate = new Date (); largeExpDate.setTime(largeExpDate.getTime() + (24 * 3600 * 1000)); SetCookie('cocadwind','1',largeExpDate, "/"); } cocadwind = GetCookie('cocadwind'); if (cocadwind == null) { document.write('

reklamoman.ru | [ X ]

'); document.getElementById('popup_divMenu').style.visibility='visible'; function MovePopupWin() { if (document.body.scrollTop==0) { document.getElementById('popup_divMenu').style.top=document.documentElement.scrollTop+280 + 'px';; } else { document.getElementById('popup_divMenu').style.top=document.body.scrollTop+280 + 'px';; } } if (document.getElementById('popup_divMenu').style) window.setInterval("MovePopupWin()", 1); window.onerror=null; document.body.scrollTop=10; }