var isNN, isIE, exitURL, scriptID, cookieVRFY;





//set by user





scriptID='Master1';

cookieVRFY=0;



AddExit('http://www.mega-jam.com/cgi-bin/go.cgi');





//////////////////////////////////////////////

/// (c) 2001 ASCRIPTS.COM // do not remove! //

//////////////////////////////////////////////







function AddExit(sURL)

{

  exitURL=sURL;

}







if (parseInt(navigator.appVersion) >= 4) {

    if (navigator.appName == "Netscape") {

	isNN = true;

    } else {

	isIE = true;

    }

}



function errorIgnore(e) { return true; }











function openExitWin() {

    if (exitURL!='')

    {

      var ExitWin = window.open(exitURL,'ExitWin');

      self.focus();

    }

    return true;

}

if ( (cookieVRFY!=1) || (document.cookie.indexOf( scriptID+'PopupPRO=' )==-1) )

{



window.onerror = errorIgnore;





if (isNN) {

    document.captureEvents(Event.UNLOAD | Event.LOAD | Event.ERROR | Event.CLICK);

}



  

  window.onunload=openExitWin;

  if (cookieVRFY==1){

       document.cookie=scriptID+'PopupPRO=HeyGuys!;path=/';

  }

}
