//////////////////////////////////////////////////////////////////////
//                                                                  //
//                     ULTRA LIST BUILDER (tm)                      //
//                  List Building & Mining System                   //
//                                                                  //
//                     Anthony Stillwell, 2002                      //
//                       All rights reserved                        //
//                                                                  //
//                http://www.getfreeadvertising.com                 //
//                                                                  //
//     Selling or distributing this software in whole or            //
//     in part or of any modification of this software without      //
//     written permission is expressly forbidden. Permission        //
//     to modify the script for personal use on the domain for      //
//     which this script is licensed is granted to the purchaser.   //
//     In all cases this full header and copyright information      //
//     must remain fully intact. Any and All violators will be      //
//     PROSECUTED to the fullest extent of the law.                 //
//                                                                  //
//////////////////////////////////////////////////////////////////////

// Set usecookie to the number of days the cookie should last.
// Set it to 0 if you want it to popup every time the page loads.
// Set it to 10 if you want it to popup once every 10 days.

var usecookie = 1;

var msg =////////////// Modify Only the Next Line /////////////

           "Before you enter my site let me ask you a question"+
           "\n\nARE YOU INTERESTED IN LEARNING WHAT IT"+ 
           "\n  *REALLY* TAKES TO MAKE MONEY ONLINE?"+
           "\n\nIf so then you need subscribe to my very popular"+ 
           "\nFREE No B.S. Newsletter: The John Report  "+
		   "\n\nClick OK to subscribe yourself"+
           "\n\nBONUS: I give all new subscribers a personalized" +
           "\ngift specifically choosen for them";
        

              ///////////// Stop Editing Here //////////////////
			  
// Enter the subscribe address for your newsletter or autoresponder
var email = "johnreportpop@simplewebmarketing.com";

// Enter the subject for your email
var subject = "Subscribe Me";

function getCookieVal (offset)
{
    var endstr = document.cookie.indexOf (";", offset);
    if (endstr == -1)
        endstr = document.cookie.length;
    return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name)
{
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    while (i < clen)
    {
        var j = i + alen;
        if (document.cookie.substring(i, j) == arg)
            return getCookieVal (j);
        i = document.cookie.indexOf(" ", i) + 1;
        if (i == 0) break;
    }
    return null;
}

function CallOnLoad()
{
    if (GetCookie("ssr") == "yes" && usecookie)
        return;

    now = new Date();
    now.setTime(now.getTime()+(usecookie*24*60*60*1000));

    var expires = now.toUTCString();
    if (expires == "")
        expires = now.toGMTString();

    if (confirm(msg))
    {
        loc = "mailto:" + email;
        if (subject)
            loc = loc + "?subject=" + escape(subject);
        window.location = loc;
    }

    document.cookie = "ssr=yes;expires="+expires;
}
// ULTRA LIST BUILDER
