<!--
/*
* The following code is Copyright(c) 2002 Steve Shaw and Ryan Diess.
* All rights reserved. Steve Shaw is the programmer of the script and
* can be reached at steve@takanomi.com, web site http://takanomi.com.
* Ryan Deiss is an Austin based internet business owner, email
* ryan@sitesightings.com, web site http://www.SiteSightings.com
*/
var displayText = "***JUST RELEASED***  Charlie Lafave's 'Web Secrets Revealed' and 3 FREE Bonuses***\n\nDiscover the tightly-guarded secrets most Internet gurus don't want you to know.\n\n--> For a very limited time, you can receive my newsletter *ABSOLUTELY FREE*\n\n--> Here's where I reveal Advanced *SECRETS* the Pros don't want you to know\n\n--> Get 3 FREE BONUSES in the first 2 weeks of membership\n\nBottom line, if you're new to Internet Marketing, and need some help\ngetting started, or if you've been online for some time now, but want\ninstant updates on the latest net marketing tools and resources, then\nyou owe it to yourself to subscribe today.\n\nThis is all completely automatic - just hit the button below!\n\n**Simply clicking on 'OK' will subscribe you via your default email program!**\n\nComplete privacy:  Your email address is never revealed to third parties.\n";
var delay = "10";
var email = "imme@getresponse.com";
var buttonText = "Click Here For *Web Secrets Revealed!* And 3 Free Bonuses";
var emailSubject = "Yes, Charlie, sign me up for Web Secrets Revealed!";
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:#CCCCCC' onMouseOver=\"this.style.backgroundColor = '#CCCCCC'\" onMouseOut=\"this.style.backgroundColor = '#CCCCCC'\" 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();
}
//-->
