<!--

var displayText = "JUST RELEASED: The Cancer Breakthroughs Newsletter \n\n -> For a VERY Limited Time: Receive it FREE \n\n\ -> FREE Updates on cutting-edge Cancer Cures \n\n -> Special Subscribers-ONLY Offers \n\n -> Don't let this offer pass you by. \n\n Simply clicking 'OK' will subscribe you \n via your default email program.";
var delay = "18";
var email = "cancer-breakthroughs@GetResponse.com";
var buttonText = "Click To Get >>Cancer Breakthroughs<< FREE";
var emailSubject = "Subscribe Me To *Cancer Breakthroughs*";
var cookie = "optinautomator";
function optin(text){
setOptinCookie();
if(confirm(text)){
document.mailer.subscribe.click();
}
}
function showButton(){
document.write("<form name=mailer id=mailer method=post action='mailto:"+email);
document.write((emailSubject!="")?"?subject="+emailSubject:"");
document.write("'><input type=hidden value=submit name=submit>");
document.write("<input type='submit' onclick='setPermanentCookie();' STYLE='cursor:hand;background:#C6D1FF' onMouseOver=\"this.style.backgroundColor = '#F0F8FF'\" onMouseOut=\"this.style.backgroundColor = '#C6D1FF'\" value='"+buttonText);
document.write("' name=subscribe id=subscribe></form>");
}
function Go(){
if (getOptinCookie(cookie)==""){
setTimeout("optin(displayText);",delay * 1000);
}
}
function getOptinCookie(cookieName) {
var id = cookieName + "=";
var cookievalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(id);
if (offset != -1) {
cookievalue = "x";
}
}
return cookievalue;
}
function setOptinCookie () {
var today = new Date();
var expdate = new Date(today.getTime() + 1 * 24 * 60 * 60 * 1000);
document.cookie = cookie + "=done;expires=" + expdate.toGMTString();
}
function setPermanentCookie () {
var today = new Date();
var expdate = new Date(today.getTime() + 311040000000);
document.cookie = cookie + "=done;expires=" + expdate.toGMTString();
}
//-->
