var split_id = 529354717;
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/29/529354717-623539729.html','winPopUp','resizable=1,scrollbars=1,location=0,width=393,height=888');
       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":"623539729","form":"<form method=\"post\" 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=\"623539729\" \/>\n<input type=\"hidden\" name=\"meta_split_id\" value=\"529354717\" \/>\n<input type=\"hidden\" name=\"listname\" value=\"annasdeals\" \/>\n<input type=\"hidden\" name=\"redirect\" value=\"http:\/\/hjlas.com\/click\/?s=98406&c=171447&subid=email_thank_u\" id=\"redirect_b12c83817a998d058aa020637540a0cd\" \/>\n\n<input type=\"hidden\" name=\"meta_adtracking\" value=\"Lightbox_Victoria's_Secret\" \/>\n<input type=\"hidden\" name=\"meta_message\" value=\"1\" \/>\n<input type=\"hidden\" name=\"meta_required\" value=\"name,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-623539729\" class=\"af-form\"><div id=\"af-header-623539729\" class=\"af-header\"><div class=\"bodyText\"><p><span style=\"font-size: 24px;\"><span style=\"font-size: 18px;\">Subscribe Today. Christmas Promotion. Free Victoria's Secret Gift Card. Check Area Availability.<\/span><\/span><\/p><\/div><\/div>\n<div id=\"af-body-623539729\" class=\"af-body af-standards\">\n<div class=\"af-element\">\n<p>Subscribe today to get a Victoria's Secret Gift Card and to have freebies sent straight into your inbox.<\/p>\n<p>Step1) Enter your name and email.<\/p>\n<p>Step2) Check your email for an email from AnnasDeals.com and confirm your subscription.<\/p>\n<p>Step3) Enter in your zip code to see if your area has the offer.<\/p><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element\" style=\"text-align: left;\">\n<img src=\"http:\/\/annasdeals.com\/wp-content\/uploads\/2009\/10\/VS1.png\" alt=\"VS Gift Card\" \/>\n<div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element\">\n<label class=\"previewLabel\" for=\"awf_field-968139\">Name: <\/label>\n<div class=\"af-textWrap\">\n<input id=\"awf_field-968139\" 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-968140\">Email: <\/label>\n<div class=\"af-textWrap\"><input class=\"text\" id=\"awf_field-968140\" type=\"text\" name=\"email\" value=\"\"  \/>\n<\/div><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element buttonContainer\">\n<input name=\"submit\" class=\"submit\" type=\"submit\" value=\"Submit\"\/>\n<div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element privacyPolicy\" style=\"text-align: center\"><p><a href=\"http:\/\/www.aweber.com\/permission.htm\" target=\"_blank\">We respect your email privacy<\/a><\/p>\n<div class=\"af-clear\"><\/div>\n<\/div>\n<\/div>\n<div id=\"af-footer-623539729\" class=\"af-footer\"><div class=\"bodyText\"><p>&nbsp;<\/p><\/div><\/div>\n<\/div>\n<\/form>\n","styles":"#af-form-623539729 body,\n#af-form-623539729 dl, #af-form-623539729 dt, #af-form-623539729 dd,\n#af-form-623539729 h1, #af-form-623539729 h2, #af-form-623539729 h3, #af-form-623539729 h4, #af-form-623539729 h5, #af-form-623539729 h6,\n#af-form-623539729 pre, #af-form-623539729 code, #af-form-623539729 form,\n#af-form-623539729 fieldset, #af-form-623539729 legend, #af-form-623539729 textarea, #af-form-623539729 blockquote,\n#af-form-623539729 th, #af-form-623539729 td {float:none; color: inherit; margin:0px; padding:0px; position:static;}\n\n#af-form-623539729 ul,\n#af-form-623539729 ol {list-style-image:none; list-style-position:outside; list-style-type:disc; padding-left:40px;}\n\n#af-form-623539729 div {margin:0px;}\n\n#af-form-623539729 .bodyText p {margin:1em 0;}\n\n#af-form-623539729 table {border-collapse:collapse; border-spacing:0;}\n\n#af-form-623539729 fieldset,\n#af-form-623539729 img {border:0;}\n\n#af-form-623539729 button,\n#af-form-623539729 input,\n#af-form-623539729 submit,\n#af-form-623539729 textarea {float:none; margin:0px; position:static;}\n\n#af-form-623539729 select,\n#af-form-623539729 label,\n#af-form-623539729 optgroup,\n#af-form-623539729 option {float:none; margin:0px; padding:0px; position:static;}\n\n\/*@purpose To enable resizing for IE *\/\n\/*@branch For IE6-Win, IE7-Win *\/\n#af-form-623539729 input,\n#af-form-623539729 button,\n#af-form-623539729 textarea,\n#af-form-623539729 select {*font-size:100%;}\n\n .af-clear {clear:both;}\n\n.lastNameContainer {margin-top:10px;}\n\n.af-body input.text {float:none;}\n\n.af-element label {display:block; float:left;}\n\n.stacked .af-element label {float:none; display:block;}\n\n.af-form {margin:auto; text-align:left;}\n\n.af-header,\n.af-footer {margin-bottom:0px; margin-top:0px; padding:10px;}\n\n.af-divider {display:block; height:12px; margin-bottom:6px;}\n\n.af-divider-parent {padding-bottom:15px;}\n\n.af-element,\n.af-usaddress {padding: 6px 0;}\n\n.af-element {padding-bottom:5px; padding-top:5px;}\n\n.af-divider-parent {padding-top:0 !important;}\n\n.af-body input.text,\n.af-body textarea {padding:2px!important;}\n\n.af-body .af-textWrap input.text, .af-body .af-textWrap textarea {width:100%;}\n\n\n.af-body .af-textWrap {text-align:left;}\n\n.af-element-checkbox label,\n.af-element-checkbox input.checkbox,\n.af-element-radio label,\n.af-element-radio input.radio {display:inline !important; float:none !important;}\n\n.choiceList-radio-inline .af-element-radio {float:left;}\n\n.af-element-checkbox .choice {display:inline;}\n\n.af-body input.submit,\n.af-body input.image {float:none !important;}\n\n.af-body input.image {border:none !important;}\n\n#af-form .af-body input.submit, \n.af-body.af-standards input.submit {padding:4px 12px;}\n\n.af-usaddress input {margin-bottom:5px;}\n\n.af-element label {float:left; text-align:left;}\n\n.af-form .af-element input.button {float:none !important;}\n\n.af-element input.radio {width:inherit !important;}\n\n.af-element-radio label {display:inline;}\n\n.af-element-radio.inline {display:block !important; float:left; margin-left:0px; margin-right:7px;}\n\n.af-element-radio.block {display:block;}\n\n.lbl-right .af-element label{text-align:right;}\n\n.af-quirksMode .af-element {padding-left: 0px!important; padding-right: 0px!important;}\n#af-form-623539729  .af-body a {color:#8F0E42; text-decoration:underline; font-style:normal; font-weight:normal; }\n\n#af-form-623539729  .af-body label.choice {color:#000000; text-decoration:none; font-style:normal; font-weight:normal; font-size:inherit; font-family:inherit; }\n\n#af-form-623539729  .buttonContainer input.submit {background-image:url(\"http:\/\/forms.aweber.com\/images\/auto\/gradient\/button\/816.png\"); background-position:top left; background-repeat:repeat-x; background-color:#680046; border:1px solid #680046; color:#FFFFFF; text-decoration:none; font-style:normal; font-weight:normal; font-size:18px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729  .buttonContainer {text-align:right; }\n\n#af-form-623539729  .af-body label.previewLabel {display:block; float:left; width:25%; text-align:right; color:#80175B; text-decoration:none; font-style:normal; font-weight:normal; font-size:14px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729  .af-body .af-textWrap, #af-form-623539729  .af-body .af-dateWrap, #af-form-623539729  .af-body .af-selectWrap, #af-form-623539729  .af-body .af-checkWrap, #af-form-623539729  .choiceList-radio-inline, #af-form-623539729  .choiceList-radio-stacked {width:70%; display:block; float:right; }\n\n#af-form-623539729 .af-element-radio, #af-form-623539729  input.radio {margin-left:0px; }\n\n#af-form-623539729 .choiceList-radio-inline .af-element-radio {margin-right:10px; }\n\n#af-form-623539729  .af-body input.text, #af-form-623539729  .af-body textarea {background-color:#FFFFFF; border-color:#919191; border-width:1px; border-style:solid; color:#000000; text-decoration:none; font-style:normal; font-weight:normal; font-size:12px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729  .af-body input.text:focus, #af-form-623539729  .af-body textarea:focus {background-color:#FFFAD6; border-color:#030303; border-width:1px; border-style:solid; }\n\n#af-form-623539729  .af-footer {padding-bottom:104px; padding-top:1px; padding-right:25px; padding-left:25px; background-repeat:repeat-y; background-position:bottom left; background-image:url(\"http:\/\/forms.aweber.com\/images\/forms\/sticky-note\/rose\/footer.png\"); border-width:1px; border-style-bottom:none; border-style-left:none; border-style-right:none; border-style-top:none; color:#80175B; font-size:18px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729  .af-header {padding-bottom:1px; padding-top:40px; padding-right:25px; padding-left:25px; background-repeat:repeat-y; background-position:top left; background-image:url(\"http:\/\/forms.aweber.com\/images\/forms\/sticky-note\/rose\/header.png\"); border-width:1px; border-style-top:none; border-style-left:none; border-style-right:none; border-style-bottom:none; color:#80175B; font-size:18px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729  .af-body {padding-bottom:10px; padding-top:10px; background-repeat:repeat-y; background-position:left; background-image:url(\"http:\/\/forms.aweber.com\/images\/forms\/sticky-note\/rose\/body.png\"); color:#80175B; font-size:12px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729  .af-body .privacyPolicy {color:#80175B; font-size:12px; font-family:Verdana, sans-serif; }\n\n#af-form-623539729   {background-color:transparent; border-color:transparent; border-width:1px; border-style:none; }\n\n#af-form-623539729 .af-standards .af-element {padding-right:27px; padding-left:27px; }\n\n#af-form-623539729 .af-standards .af-divider {margin-right:27px; margin-left:27px; }\n\n#af-form-623539729 .af-quirksMode {padding-right:27px; padding-left:27px; }\n\n#af-form-623539729 {width:393px; }\n\n#af-form-623539729 .af-quirksMode {width:393px;}\n\n#af-form-623539729.af-quirksMode { overflow-x:hidden; }\n\n#af-form-623539729 .af-quirksMode .bodyText {padding-top: 2px; padding-bottom: 2px;}\n","height":"888","width":"393","plPath":"forms.aweber.com","delay":"0","popupURL":"http:\/\/forms.aweber.com\/form\/29\/529354717-623539729.html","formType":"lightbox","animation":"default"} ); };
    if (typeof awf_Form_.form != 'undefined') {
        var unique_track = new Image();
        unique_track.src = "http://forms.aweber.com/form/displays.htm?id=bEzMrMyc7Eyc&split_id=" + split_id;
        loadForm();
    } else {
        var unique_track = new Image();
        unique_track.src = "http://forms.aweber.com/form/displays.htm?id=bEzMrMyc7Eyc&split_id=" + split_id;
        if (typeof awf_Form_.FormQueue == 'undefined') { awf_Form_.FormQueue = []; }
        awf_Form_.FormQueue.push(loadForm);
    }
    
}    
            
if ((awf_Form_.isPreview || !awf_Form_.getCookie('awpopup_623539729')) && typeof hide_awf_Form=='undefined') {
    awf_Form_.currDate = new Date();
    awf_Form_.currDate.setTime(awf_Form_.currDate.getTime() + 315360000000); 
    awf_Form_.setCookie('awpopup_623539729', '1', awf_Form_.currDate, '/', document.domain, 0);
    awf_Form_.showForm();
}
    
