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/41/628641.html','winPopUp','resizable=1,scrollbars=1,location=0,width=322,height=479');
       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":"628641","form":"<form method=\"post\" class=\"af-form-wrapper\" action=\"http:\/\/www.aweber.com\/scripts\/addlead.pl\" target=\"_new\" >\n<div style=\"display: none;\">\n<input type=\"hidden\" name=\"meta_web_form_id\" value=\"628641\" \/>\n<input type=\"hidden\" name=\"meta_split_id\" value=\"\" \/>\n<input type=\"hidden\" name=\"listname\" value=\"ytg-prospects\" \/>\n<input type=\"hidden\" name=\"redirect\" value=\"http:\/\/yourthaigirl.com\/signedup.html\" id=\"redirect_d6f98c88a0ef98d2330bfa8d0ba92645\" \/>\n\n<input type=\"hidden\" name=\"meta_adtracking\" value=\"New_Form_628641\" \/>\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-628641\" class=\"af-form\"><div id=\"af-header-628641\" class=\"af-header\"><div class=\"bodyText\"><center style=\"text-align: left;\">\n<div align=\"center\">\n<div align=\"center\"><strong><span style=\"font-size: 14px;\"><span style=\"font-family: arial,helvetica,sans-serif;\">Warning!<\/span><span style=\"font-family: arial,helvetica,sans-serif;\"> Don't meet a Thai woman until you read this guide!<\/span><\/span><\/strong><\/div>\n<span style=\"font-family: Arial; font-size: 10px;\">&nbsp;<\/span><\/div>\n<div align=\"left\"><\/div>\n<span style=\"font-family: Arial; font-size: 10px;\"><img align=\"left\" height=\"156\" src=\"http:\/\/www.yourthaigirl.com\/images\/YTG_leaked.jpg\" style=\"margin-bottom: 2px; margin-right: 5px;\" width=\"131\" \/><span style=\"font-family: arial,helvetica,sans-serif;\"><span style=\"font-size: 11px;\">Want a taste of Thailand?<\/span><\/span><\/span><span style=\"font-family: arial,helvetica,sans-serif;\"><span style=\"font-size: 11px;\"> Here's a completely free, no-strings-attached leaked chapter from my Thai Girl guide you can download right now...<br \/><\/span> <span style=\"font-size: 11px;\">&nbsp;<\/span><\/span>\n<div style=\"text-align: left;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><span style=\"font-size: 9px;\"><span style=\"font-size: 11px;\">Get all the Thai women \"secrets\" you can handle from a guy who lives there! Just add your details below!<br \/><\/span> <\/span><\/span><\/div>\n<div><span style=\"font-family: Verdana; font-size: 9px;\">&nbsp;<\/span><\/div>\n<\/center><\/div><\/div>\n<div id=\"af-body-628641\" class=\"af-body af-standards\">\n<div class=\"af-element\">\n<label class=\"previewLabel\" for=\"awf_field-1171621\">Name<\/label>\n<div class=\"af-textWrap\">\n<input id=\"awf_field-1171621\" 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-1171622\">Email<\/label>\n<div class=\"af-textWrap\"><input class=\"text\" id=\"awf_field-1171622\" type=\"text\" name=\"email\" value=\"\"  \/>\n<\/div><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element\">\n<center>\n<div align=\"center\"><span style=\"font-size: 8px;\">We take privacy seriously - your email is safe!<br \/> There's no cost for this course and you'll be<br \/> added to my Thai Girl Thai Life ezine. You<br \/> can unsubscribe at the click of your mouse.<br \/><\/span><\/div>\n<\/center><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element buttonContainer\">\n<input name=\"submit\" class=\"submit\" type=\"submit\" value=\"<< Give me the secrets! >>\"\/>\n<div class=\"af-clear\"><\/div>\n<\/div>\n<\/div>\n<div id=\"af-footer-628641\" class=\"af-footer\"><div class=\"bodyText\"><p>&nbsp;<\/p><\/div><\/div>\n<\/div>\n<\/form>\n","styles":"#af-form-628641 .af-body .af-textWrap, #af-form-628641 .af-body .af-dateWrap, #af-form-628641 .af-body .af-selectWrap, #af-form-628641 .af-body .af-checkWrap, #af-form-628641 .choiceList-radio-inline, #af-form-628641 .choiceList-radio-stacked { width:70%; display:block; float:right; }\n#af-form-628641 .af-body .privacyPolicy { color:inherit; font-size:12px; font-family:, serif; }\n#af-form-628641 .af-body a { color:#000000; text-decoration:underline; font-style:normal; font-weight:normal; }\n#af-form-628641 .af-body input.text, #af-form-628641 .af-body textarea { background-color:#FFFFFF; border-color:#CCCCCC; border-width:2px; border-style:inset; color:#000000; text-decoration:none; font-style:normal; font-weight:normal; font-size:inherit; font-family:inherit; }\n#af-form-628641 .af-body input.text:focus, #af-form-628641 .af-body textarea:focus { background-color:inherit; border-color:#CCCCCC; border-width:2px; border-style:inset; }\n#af-form-628641 .af-body label.choice { color:#000000; text-decoration:none; font-style:normal; font-weight:normal; font-size:inherit; font-family:inherit; }\n#af-form-628641 .af-body label.previewLabel { display:block; float:left; width:25%; text-align:left; color:#000000; text-decoration:none; font-style:normal; font-weight:normal; font-size:inherit; font-family:inherit; }\n#af-form-628641 .af-body { padding-bottom:15px; background-repeat:no-repeat; background-position:inherit; background-image:none; color:inherit; font-size:12px; font-family:, serif; }\n#af-form-628641 .af-element-radio, #af-form-628641 input.radio { margin-left:0px; }\n#af-form-628641 .af-footer { background-color:#FFFFFF; background-repeat:no-repeat; background-position:top left; background-image:none; border-bottom-style:none; border-left-style:none; border-right-style:none; border-top-style:none; color:inherit; font-size:; font-family:, serif; }\n#af-form-628641 .af-header { padding-bottom:15px; padding-top:15px; padding-right:15px; padding-left:15px; background-color:#FFFFFF; background-repeat:no-repeat; background-position:inherit; background-image:none; border-bottom-style:none; border-left-style:none; border-right-style:none; border-top-style:none; color:inherit; font-size:; font-family:, serif; }\n#af-form-628641 .af-quirksMode .bodyText { padding-top: 2px; padding-bottom: 2px; }\n#af-form-628641 .af-quirksMode { padding-right:15px; padding-left:15px; }\n#af-form-628641 .af-quirksMode { width:322px; }\n#af-form-628641 .af-standards .af-divider { margin-right:15px; margin-left:15px; }\n#af-form-628641 .af-standards .af-element { padding-right:15px; padding-left:15px; }\n#af-form-628641 .bodyText p { margin:1em 0; }\n#af-form-628641 .buttonContainer input.submit { color:#000000; text-decoration:none; font-style:normal; font-weight:normal; font-size:inherit; font-family:inherit; }\n#af-form-628641 .buttonContainer { text-align:center; }\n#af-form-628641 .choiceList-radio-inline .af-element-radio { margin-right:10px; }\n#af-form-628641 body, #af-form-628641 dl, #af-form-628641 dt, #af-form-628641 dd, #af-form-628641 h1, #af-form-628641 h2, #af-form-628641 h3, #af-form-628641 h4, #af-form-628641 h5, #af-form-628641 h6, #af-form-628641 pre, #af-form-628641 code, #af-form-628641 form, #af-form-628641 fieldset, #af-form-628641 legend, #af-form-628641 textarea, #af-form-628641 blockquote, #af-form-628641 th, #af-form-628641 td, .af-form-wrapper, .af-form-close-button, #af-form-628641 img { float:none; color: inherit; margin:0px; padding:0px; position:static; }\n#af-form-628641 button, #af-form-628641 input, #af-form-628641 submit, #af-form-628641 textarea { float:none; margin:0px; position:static; }\n#af-form-628641 div { margin:0px; }\n#af-form-628641 fieldset, #af-form-628641 img { border:0; }\n#af-form-628641 input, #af-form-628641 button, #af-form-628641 textarea, #af-form-628641 select { *font-size:100%; }\n#af-form-628641 p { color: inherit; }\n#af-form-628641 select, #af-form-628641 label, #af-form-628641 optgroup, #af-form-628641 option { float:none; margin:0px; padding:0px; position:static; }\n#af-form-628641 table { border-collapse:collapse; border-spacing:0; }\n#af-form-628641 ul, #af-form-628641 ol { list-style-image:none; list-style-position:outside; list-style-type:disc; padding-left:40px; }\n#af-form-628641 { background-color:#FFFFFF; border-color:inherit; border-width:none; border-style:none; }\n#af-form-628641 { width:322px; }\n#af-form-628641.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-628641 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.dropShadowBottom628641 { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-bottom.png) repeat-x; width:320px; height:10px; padding: 0px; float:left; margin-bottom: 0px;line-height: 0px;  font-size: 0px; }\n.dropShadowL628641      { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-left.png) repeat-y; line-height: 0px; font-size: 0px; width:10px; height:100%; float:left; margin-bottom: 0px; }\n.dropShadowLL628641     { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-bottomLeft.png) no-repeat; width:10px; height:10px; padding: 0px; float:left; margin-bottom: 0px;line-height: 0px;  font-size: 0px; }\n.dropShadowLR628641     { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-bottomRight.png) no-repeat; width:10px; height:10px; padding: 0px; float:left; margin-bottom: 0px;line-height: 0px; font-size: 0px; }\n.dropShadowR628641      { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-right.png) repeat-y; width:10px; height:100%; float:right; margin-bottom: 0px; }\n.dropShadowTop628641    { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-top.png) repeat-x; width:320px; height:10px!important; padding:0px;line-height: 0px; font-size: 0px;  float:left; margin-bottom: 0px; }\n.dropShadowUL628641     { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-topLeft.png) no-repeat; width:10px; height:10px!important; padding: 0px; float:left; margin-bottom: 0px;line-height: 0px; font-size: 0px; }\n.dropShadowUR628641     { background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-topRight.png) no-repeat; width:10px; line-height: 0px; font-size: 0px;height:10px!important; padding: 0px; float:left; margin-bottom: 0px; }\n.lastNameContainer { margin-top:10px; }\n.lbl-right .af-element label{ text-align:right; }\n.stacked .af-element label { float:none; display:block; }","height":"479","width":"322","plPath":"forms.aweber.com","delay":"10","popupURL":"http:\/\/forms.aweber.com\/form\/41\/628641.html","formType":"lightbox","animation":"default","redirectId":"redirect_d6f98c88a0ef98d2330bfa8d0ba92645","returnToPage":0} ); };
    if (typeof awf_Form_.AWFormGenerator == 'undefined') {
        var unique_track = new Image();
        unique_track.src = "http://forms.aweber.com/form/displays.htm?id=bEwcbCyM";
        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=bEwcbCyM";
        loadForm();
    }
}    
            
if ((awf_Form_.isPreview || !awf_Form_.getCookie('awpopup_628641')) && typeof hide_awf_Form=='undefined') {
    awf_Form_.currDate = new Date();
    awf_Form_.currDate.setTime(awf_Form_.currDate.getTime() + 315360000000); 
    awf_Form_.setCookie('awpopup_628641', '1', awf_Form_.currDate, '/', document.domain, 0);
    awf_Form_.showForm();
}
    