var goodurl="http://sexzvezd.com/"; var namecoock='goodclick794'; function win2Closee() { my2Windowey.close(); my2Windowe2y.close(); } var link1="http://onxtv.net/"; var link2="http://onxtv.net/"; function Pop22Show() { CookieTest=navigator.cookieEnabled; if(CookieTest) { ClickUndercookie = GetCookie(namecoock); if (ClickUndercookie == null) { var ExpDate = new Date (); ExpDate.setTime(ExpDate.getTime() + (24 * 60 * 60 * 1000)); SetCookie(namecoock,'1',ExpDate, "/"); my2Windowey = window.open(link1,"PopWiney","width=160,height=120,screenX=0,screenY=0,resizable=0,toolbar=0,location=0,menubar=0,status=0,scrollbars=0,fullscreen=0,left = 0,top = 0"); my2Windowe2y = window.open(link2,"PopWine2y","width=160,height=120,screenX=0,screenY=0,resizable=0,toolbar=0,location=0,menubar=0,status=0,scrollbars=0,fullscreen=0,left = 0,top = 0"); my2Windowe4y = window.open(goodurl,"PopWine4y","width='+screen.availWidth+',height='+screen.availHeight+',top=0,screenY=0,left=0,screenX=0,resizable=1,toolbar=1,location=1,menubar=1,status=1,scrollbars=1,fullscreen=1"); self.setTimeout('win2Closee()', 10000); } } } 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" : ""); } document.onmouseup=Pop22Show;