//Do not remove, edit or modify this header.
//Do not alter any part of the script, except as explicitly specified.
//Listbuilder Version 2.1
//Copyright Ravi Jayagopal 2002 || Ravi@CyberConneXions.com
//www.CyberConneXions.com


//Modify the number below
var days = 1;

// Cookie is currently set to expire in 1 day.
// To modify, change the number '1' in the above equation 
// to be the # of days until expiry
// For example, if you don't want the pop-up to show up
// for up to one year after the visitor visited your site
// set days = 365 in the above equation.


var myCookie;

// The following function getCookie was written by 
// Duncan Crombie: dcrombie@chirp.com.au

  function getCookie(name) {
    name += "="; // append '=' to name string
    var i = 0; // index of first name=value pair
    while (i < myCookie.length) {
      var offset = i + name.length; // end of section to compare with name string
      if (myCookie.substring(i, offset) == name) { // if string matches
        var endstr = myCookie.indexOf(";", offset); // locate end of name=value pair
        if (endstr == -1) endstr = myCookie.length;
        return unescape(myCookie.substring(offset, endstr)); // return cookie value section
      }
      i = myCookie.indexOf(" ", i) + 1; // move i to next name=value pair
      if (i == 0) break; // no more values in cookie string
    }
    return null; // cookie not found
  }
  

function setCookie(name, value, expire) {
//alert("expire = " + expire);
          document.cookie = name + "=" + escape(value)
          + ((expire == null) ? "" : 
            ("; expires=" + expire))
}

function visited()
{ 
	var expDate = new Date();
	var expiry = 3 * 24 * 60 * 60 * 1000;
	expDate.setTime( expDate.getTime() + expiry );
	expire = expDate.toGMTString();
	//alert("Expire = "+ expire);
	setCookie("cyber","yes",expire);
}

function Go()
{ 
myCookie = document.cookie;
if(getCookie("cyber") != "yes")
{
if (confirm(
// -------------- Modify only the next Line --------------- //

"--------> FREE to join mailer <--------\n\nSpecial Offers\n\n -> \n -> New Games -  \n -> Reviews! \n -> Discounts and news! \n -> You can Unsubscribe any time\n\n--------> Simply click on OK twice. <--------\n "))

// -------------- Stop Editing Here --------------- //

{
	visited();
	document.cyber.button.click();
}
else
{
	visited();
}
}
//reset();
}

function reset()
{
setCookie("cyber",null,null);
}
//End of Listbuilder

