if (typeof window.awf_Form_=='undefined') window.awf_Form_ = new Object();
awf_Form_.isPreview = false;
awf_Form_.setCookie = function(name, value, expires, path, domain, secure) {
    var curCookie = name + "=" + escape(value) +
        ((expires) ? "; expires=" + expires.toGMTString() : "") +
        ((path) ? "; path=" + path : "") +
        ((domain) ? "; domain=" + domain : "") +
        ((secure) ? "; secure" : "");
    document.cookie = curCookie; 
}

awf_Form_.getCookie = function(name) {
    var dc = document.cookie;
    var prefix = name + "=";
    var begin = dc.indexOf("; " + prefix);
    if (begin == -1) {
        begin = dc.indexOf(prefix);
        if (begin != 0) return null;
    } else 
        begin += 2;
    var end = document.cookie.indexOf(";", begin);
    if (end == -1)
        end = dc.length;
    return unescape(dc.substring(begin + prefix.length, end));
}
awf_Form_.showForm = function() {    
    /*@cc_on
    /*@if (@_jscript_version > 5.5)
           var isIE = true;
      @else
           var deprecatedBrowser = true;
      @end @*/
    if (typeof isIE == 'undefined') {        
        var isIE = false;
    }
    if (!isIE && !window.XMLHttpRequest) {
        var deprecatedBrowser = true;
    }
    if (deprecatedBrowser) {
       window.open('http://forms.aweber.com/form/04/389837504.html','winPopUp','resizable=1,scrollbars=1,location=0,width=399,height=403');
       return true;
    }
    // Exit early for TY Landing Page option
    if (document.location.href.indexOf('meta_web_form_id') > 0) return;

    if (typeof awf_Form_.scriptAppended=='undefined') {
        try {
            var script = document.createElement('script');
            script.src = "http://forms.aweber.com/form/styled_popovers_and_lightboxes.js";
            script.type = 'text/javascript';
            document.getElementsByTagName('HEAD')[0].appendChild(script);
        } catch(e) {
            //IE5 for Mac and IE timeout issues
            try {
                document.write('<script type="text/javascript" src="' + src + '"></scr'+'ipt>');
            } catch(e) { }
        }
        awf_Form_.scriptAppended = true;
    }
    var loadForm = function() { awf_Form_.form = new awf_Form_.AWFormGenerator( {"_log":null,"id":"389837504","form":"<form method=\"post\" class=\"af-form-wrapper\" action=\"http:\/\/www.aweber.com\/scripts\/addlead.pl\"  >\n<div style=\"display: none;\">\n<input type=\"hidden\" name=\"meta_web_form_id\" value=\"389837504\" \/>\n<input type=\"hidden\" name=\"meta_split_id\" value=\"\" \/>\n<input type=\"hidden\" name=\"listname\" value=\"anjanettetips\" \/>\n<input type=\"hidden\" name=\"redirect\" value=\"http:\/\/www.aweber.com\/thankyou-coi.htm?m=video\" id=\"redirect_aa823d4a9d7d47d9c3f3dd138f6b7478\" \/>\n\n<input type=\"hidden\" name=\"meta_adtracking\" value=\"New_Form_389837504\" \/>\n<input type=\"hidden\" name=\"meta_message\" value=\"1\" \/>\n<input type=\"hidden\" name=\"meta_required\" value=\"email\" \/>\n<input type=\"hidden\" name=\"meta_forward_vars\" value=\"\" \/>\n<input type=\"hidden\" name=\"meta_tooltip\" value=\"\" \/>\n<\/div>\n<div id=\"af-form-389837504\" class=\"af-form\"><div id=\"af-header-389837504\" class=\"af-header\"><div class=\"bodyText\"><center>\n<div>Sign up to get your free report on 5 Things You Can Do Right Now to Get More Customers!<\/div>\n<\/center><\/div><\/div>\n<div id=\"af-body-389837504\" class=\"af-body af-standards\">\n<div class=\"af-element\">\n<label class=\"previewLabel\" for=\"awf_field-1128935\">First Name<\/label>\n<div class=\"af-textWrap\">\n<input id=\"awf_field-1128935\" type=\"text\" name=\"name\" class=\"text\" value=\"\"  \/>\n<\/div>\n<div class=\"af-clear\"><\/div><\/div>\n<div class=\"af-element\">\n<label class=\"previewLabel\" for=\"awf_field-1128936\">Email<\/label>\n<div class=\"af-textWrap\"><input class=\"text\" id=\"awf_field-1128936\" type=\"text\" name=\"email\" value=\"\"  \/>\n<\/div><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element\">\n<center><div>We absolutely hate spam just like you.&nbsp; That's why we never will abuse, rent or sell your personal information without your permission.<\/div><\/center><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element buttonContainer\">\n<input name=\"submit\" class=\"submit\" type=\"submit\" value=\"Sign Up Now!\"\/>\n<div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element\" style=\"text-align: center\">\n<img src=\"http:\/\/forms.aweber.com\/form\/ci\/?tc=000000&amp;bg=a631a6&amp;d=nMwMjBwsPoLqpkamTj6MjEwcnMyc\" alt=\"Subscriber Counter\" \/>\n<\/div>\n<\/div>\n<\/div>\n<\/form>\n","styles":"#af-form-389837504 .af-body .af-textWrap, #af-form-389837504 .af-body .af-dateWrap, #af-form-389837504 .af-body .af-selectWrap, #af-form-389837504 .af-body .af-checkWrap, #af-form-389837504 .choiceList-radio-inline, #af-form-389837504 .choiceList-radio-stacked { width:98%; display:block; float:none; }\n#af-form-389837504 .af-body .privacyPolicy { color:#FFFFFF; font-size:11px; font-family:Arial, sans-serif; }\n#af-form-389837504 .af-body a { color:#FFFFFF; text-decoration:underline; font-style:normal; font-weight:normal; }\n#af-form-389837504 .af-body input.text, #af-form-389837504 .af-body textarea { background-color:#FFFFFF; border-color:#C7C7C7; border-width:1px; border-style:solid; color:#000000; text-decoration:none; font-style:normal; font-weight:bold; font-size:12px; font-family:Trebuchet MS, sans-serif; }\n#af-form-389837504 .af-body input.text:focus, #af-form-389837504 .af-body textarea:focus { background-color:#D6FFF8; border-color:#030303; border-width:1px; border-style:solid; }\n#af-form-389837504 .af-body label.choice { color:#FFFFFF; text-decoration:none; font-style:normal; font-weight:normal; font-size:inherit; font-family:inherit; }\n#af-form-389837504 .af-body label.previewLabel { display:block; float:none; text-align:left; width:auto; color:#FFFFFF; text-decoration:none; font-style:normal; font-weight:normal; font-size:12px; font-family:Verdana, sans-serif; }\n#af-form-389837504 .af-body { padding-bottom:15px; padding-top:15px; background-repeat:repeat; background-position:inherit; background-image:url(\"http:\/\/forms.aweber.com\/images\/forms\/bright-idea\/cobalt\/body.png\"); color:#FFFFFF; font-size:11px; font-family:Arial, sans-serif; }\n#af-form-389837504 .af-element-radio { margin-left:10px; }\n#af-form-389837504 .af-footer { padding-bottom:2px; padding-top:2px; padding-right:15px; padding-left:15px; background-color:transparent; background-repeat:repeat-x; background-position:bottom; background-image:url(\"http:\/\/forms.aweber.com\/images\/forms\/bright-idea\/cobalt\/footer.png\"); border-width:1px; border-bottom-style:none; border-left-style:none; border-right-style:none; border-top-style:none; color:#FFFFFF; font-size:12px; font-family:Arial, sans-serif; }\n#af-form-389837504 .af-header { padding-bottom:30px; padding-top:51px; padding-right:10px; padding-left:63px; background-color:transparent; background-repeat:no-repeat; background-position:top left; background-image:url(\"http:\/\/forms.aweber.com\/images\/forms\/bright-idea\/cobalt\/header.png\"); border-color:#BA22BA; border-width:2px; border-bottom-style:dotted; border-left-style:none; border-right-style:none; border-top-style:none; color:#FFFFFF; font-size:14px; font-family:Arial, sans-serif; }\n#af-form-389837504 .af-quirksMode .bodyText { padding-top: 2px; padding-bottom: 2px; }\n#af-form-389837504 .af-quirksMode { padding-right:15px; padding-left:15px; }\n#af-form-389837504 .af-quirksMode { width:399px; }\n#af-form-389837504 .af-standards .af-divider { margin-right:15px; margin-left:15px; }\n#af-form-389837504 .af-standards .af-element { padding-right:15px; padding-left:15px; }\n#af-form-389837504 .bodyText p { margin:1em 0; }\n#af-form-389837504 .buttonContainer input.submit { background-image:url(\"http:\/\/forms.aweber.com\/images\/auto\/gradient\/button\/555.png\"); background-position:top left; background-repeat:repeat-x; background-color:#353535; border:1px solid #353535; color:#FFFFFF; text-decoration:none; font-style:normal; font-weight:normal; font-size:14px; font-family:Verdana, sans-serif; }\n#af-form-389837504 .buttonContainer { text-align:left; }\n#af-form-389837504 .choiceList-radio-inline .af-element-radio { margin-right:0px; }\n#af-form-389837504 body, #af-form-389837504 dl, #af-form-389837504 dt, #af-form-389837504 dd, #af-form-389837504 h1, #af-form-389837504 h2, #af-form-389837504 h3, #af-form-389837504 h4, #af-form-389837504 h5, #af-form-389837504 h6, #af-form-389837504 pre, #af-form-389837504 code, #af-form-389837504 form, #af-form-389837504 fieldset, #af-form-389837504 legend, #af-form-389837504 textarea, #af-form-389837504 blockquote, #af-form-389837504 th, #af-form-389837504 td, .af-form-wrapper, .af-form-close-button, #af-form-389837504 img { float:none; color: inherit; margin:0px; padding:0px; position:static; }\n#af-form-389837504 button, #af-form-389837504 input, #af-form-389837504 submit, #af-form-389837504 textarea { float:none; margin:0px; position:static; }\n#af-form-389837504 div { margin:0px; }\n#af-form-389837504 fieldset, #af-form-389837504 img { border:0; }\n#af-form-389837504 input, #af-form-389837504 button, #af-form-389837504 textarea, #af-form-389837504 select { *font-size:100%; }\n#af-form-389837504 p { color: inherit; }\n#af-form-389837504 select, #af-form-389837504 label, #af-form-389837504 optgroup, #af-form-389837504 option { float:none; margin:0px; padding:0px; position:static; }\n#af-form-389837504 table { border-collapse:collapse; border-spacing:0; }\n#af-form-389837504 ul, #af-form-389837504 ol { list-style-image:none; list-style-position:outside; list-style-type:disc; padding-left:40px; }\n#af-form-389837504 { background-color:transparent; border-color:transparent; border-width:1px; border-style:none; }\n#af-form-389837504 { width:399px; }\n#af-form-389837504.af-quirksMode { overflow-x:hidden; }\n.af-body .af-textWrap input.text, .af-body .af-textWrap textarea { width:100%; }\n.af-body .af-textWrap { text-align:left; }\n.af-body input.image { border:none !important; }\n.af-body input.submit, .af-body input.image { float:none !important; }\n.af-body input.text { float:none; }\n.af-body input.text, .af-body textarea { padding:2px!important; }\n.af-body.af-standards input.submit { padding:4px 12px; }\n.af-clear { clear:both; }\n.af-divider { display:block; height:12px; margin-bottom:6px; }\n.af-divider-parent { padding-bottom:15px; }\n.af-divider-parent { padding-top:0 !important; }\n.af-element input.radio { width:inherit !important; }\n.af-element label { display:block; float:left; }\n.af-element label { float:left; text-align:left; }\n.af-element { padding-bottom:5px; padding-top:5px; }\n.af-element, .af-usaddress { padding: 6px 0; }\n.af-element-checkbox .choice { display:inline; }\n.af-element-checkbox label, .af-element-checkbox input.checkbox, .af-element-radio label, .af-element-radio input.radio { display:inline !important; float:none !important; }\n.af-element-radio label { display:inline; }\n.af-element-radio.block { display:block; }\n.af-element-radio.inline { display:block !important; float:left; margin-left:0px; margin-right:7px; }\n.af-form .af-element input.button { float:none !important; }\n.af-form { margin:auto; text-align:left; }\n.af-form-wrapper, .af-form-close-button, #af-form-389837504 img { background-color: none; border: none; }\n.af-header, .af-footer { margin-bottom:0px; margin-top:0px; padding:10px; }\n.af-quirksMode .af-element { padding-left: 0px!important; padding-right: 0px!important; }\n.af-usaddress input { margin-bottom:5px; }\n.choiceList-radio-inline .af-element-radio { float:left; }\n.lastNameContainer { margin-top:10px; }\n.lbl-right .af-element label{ text-align:right; }\n.stacked .af-element label { float:none; display:block; }","height":"403","width":"399","plPath":"forms.aweber.com","delay":"5","popupURL":"http:\/\/forms.aweber.com\/form\/04\/389837504.html","formType":"lightbox","animation":"slide from right","redirectId":"redirect_aa823d4a9d7d47d9c3f3dd138f6b7478","returnToPage":0} ); };
    if (typeof awf_Form_.AWFormGenerator == 'undefined') {
        var unique_track = new Image();
        unique_track.src = "http://forms.aweber.com/form/displays.htm?id=zBycHMzsrAws";
        if (typeof awf_Form_.FormQueue == 'undefined') { awf_Form_.FormQueue = []; }
        awf_Form_.FormQueue.push(loadForm);
    } else {
        var unique_track = new Image();
        unique_track.src = "http://forms.aweber.com/form/displays.htm?id=zBycHMzsrAws";
        loadForm();
    }
}    
            
awf_Form_.currDate = new Date();
awf_Form_.currDate.setTime(awf_Form_.currDate.getTime() + -86400000); 
awf_Form_.setCookie('awpopup_389837504', '1', awf_Form_.currDate, '/', document.domain, 0);
if ((awf_Form_.isPreview || !awf_Form_.getCookie('awpopup_389837504')) && typeof hide_awf_Form=='undefined') {
    awf_Form_.showForm();
}
