if (document.all||document.layers){window.moveTo(0,0);window.resizeTo(300,150);} var a=true; var b=30; var x=0; var n=0; var s=null; var d=null; function k(){ alert('You MUST allow the [View for Credits]-windows to open!'); } function o(){ if(d){clearTimeout(d);} document.F.T.value=''; var awx = screen.availWidth - 10; var ahx = screen.availHeight - 200; var sFeatures = 'width=' + awx + ',innerWidth=' + awx + ',height=' + ahx + ',innerHeight=' + ahx + ',Status=0,menubar=0,top=150,left=0,screenX=0,screenY=150,resizable,scrollbars' s=window.open(url,'SiteWindowHitLoungecom',sFeatures,true); if (!s){k();a=false;}else{b=30;} } function c(){ if(a){ if(b>=0){ if (!s){if(x++ > 1){k();};o();} if (s && s.closed){if(x++ > 1){k();};o();} document.F.T.value='Next site in ' + b-- + ' sec.'; d=setTimeout('c()',1000); }else{ if (s && !s.closed){s.close();} if (s && !s.closed){setTimeout('m()',100);}else{setTimeout('m()',10);} } } } function m(){ n++ if (s && !s.closed){s.close();}else{n=-1;} if (n=-1){location.href='view.asp?UserID='+UserID;} if (n>10){ alert('Canīt close the window\nPlease check for e.g. an alert box and report it IF there are any abusing problems.'); if (s && !s.closed){s.close();} n=0; } if (n>=0){setTimeout('m()',100);} } function e(){ if(!a){ a=true; c(); } } function g(){ if(a){ a=false; document.F.T.value='Press play to start'; } } function h(){ window.open('login.asp'); } function i(){ var site2open = 'view_abuse.asp?UserID='+UserID+'&URL='+url; window.open(site2open); } function j(){ window.open(url); }