baseURL="http://www.xtremehard.net/";
scriptURL=baseURL+"cgi-bin/";
lHistory=scriptURL +"history1.pl";
lA=scriptURL +"rc_spons.pl";
lCC=scriptURL +"cc_sponsor.pl";
lRandom=scriptURL +"r_random.pl";

exit=true;

var refer=escape(document.referrer);
document.writeln('<img style="display:none" src="'+lHistory+'?site='+nameSite+'&page='+namePage+'&ref='+refer+ '">');


eval("window.attachEvent('onload',checkVer);");
eval("window.attachEvent('onunload',exitSite);");
isUsingSpecial = true;
var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";
var popDialogOptions = "dialogWidth:"+window.screen.width+"px; dialogHeight:"+window.screen.height+"px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:1; scroll:1; status:0";
var popWindowOptions = "scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1";
var usePopDialog = true;
var randomURL="";

function exitSite(){
 if (exit){
  if (randomURL.indexOf("http://") > -1) exitURL=randomURL;
  else exitURL=lRandom+'?site='+nameSite+'&ref='+refer;
  if(!isXPSP2 && !usePopDialog) window.open(exitURL,"",popWindowOptions);
  else {
  	if(!isXPSP2 && usePopDialog) eval("window.showModalDialog(exitURL,'',popDialogOptions)");
 	else iie.launchURL(exitURL);
  }
 }
}

function checkVer(){
 isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
 if(isXPSP2){document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";}
}


function sA(numberLoad){
 loadURL=lA+'?site='+nameSite+'&page='+namePage+'&ref='+refer+'&load='+numberLoad; 
 strLoad='<a href="'+loadURL;
 strLoad+='" onmouseover="window.status=\'CLICK HERE\'; return(true);" onmouseout="window.status=\'\';return(true)">'
 document.writeln(strLoad);}

function sCC(art,mode,cat){
 loadURL=lCC+'?site='+nameSite+'&page='+namePage+'&ref='+refer+'&art='+art+'&mode='+mode+'&cat='+cat; 
 strLoad='<a href="'+loadURL;
 strLoad+='" onmouseover="window.status=\'Free Live Cams CLICK HERE \'; return(true);" onmouseout="window.status=\'\';return(true)">'
 document.writeln(strLoad);}



