var msgstr='PLEASE NOTE:\n\nOur updated Life Planning System is currently\nin its final stages of production.  If you would\nlike to be notified when it becomes available, \nplease click \"OK\" below.\n\nWe promise your info will NEVER be misused.\n\n(You may safely disregard any automatic warnings)';
var expdate = null;
function JS_Set_Cookie_Val(name, value, expire)
{
    document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()))
}

function JS_Get_Cookie_Val(Name)
{
    var search = Name + "=";
    if (document.cookie.length > 0)
    {
        offset = document.cookie.indexOf(search);
        if (offset != -1) 
        {
            offset += search.length;end = document.cookie.indexOf(";",offset);
            if (end == -1)
                end = document.cookie.length;
            return unescape(document.cookie.substring(offset, end));
        }
    }
}

function JS_Is_Old_User()
{
    var Value="Me_Cookie";
    JS_Set_Cookie_Val("Me_Cookie",Value,expdate);
}

function JS_Confirm()
{
    if (navigator.appVersion.indexOf("AOL") == -1)
    {
        var GetIt=JS_Get_Cookie_Val("Me_Cookie");
        if(GetIt==null)
        {
            if (confirm(msgstr))
            {
                JS_Is_Old_User();
                document.OptinForm.button.click();
            } 
            else
            {
                JS_Is_Old_User();
            }
        }
    }
}

function JS_Kill()
{
    JS_Set_Cookie_Val("Me_Responder",null,null);
}

function ShowButton()
{
document.write("<FORM NAME='OptinForm' METHOD='post'ACTION='mailto:notifications@lifesplan.com?subject=Please Notify Me When Available' ENCTYPE='text/plain'>");
document.write("<INPUT TYPE='hidden' NAME='button' VALUE='' onMouseOver=\"this.style.backgroundColor = '#0E1D43'\" onMouseOut=\"this.style.backgroundColor = '#0E1D43'\">");
document.write("</FORM>");
OptinForm.button.style.backgroundColor = '#0E1D43'
}

var counted=0;  