if(self.parent.length!=2){self.parent.location.href='earn.asp?UserID=' + UserID;} var a=true; var b=30; function p(){ var URL='click.asp?B='+BannerIDno+'&U='+UserID; window.open(URL); } function c(){ if(a){ if(b>=0){ document.F.T.value='Next site in ' + b-- + ' sec.'; d=setTimeout('c()',1000); }else{ location.href='earn_top.asp?UserID=' + UserID; } } } function e(){ if(!a){ a=true; c(); } } function g(){ if(a){ a=false; document.F.T.value='Press play to start'; } } function h(){ parent.ok=1; top.location.href='login.asp'; } function i(){ parent.ok=1; top.location.href='earn_abuse.asp?UserID='+UserID; } function j(){ window.open(url); }