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/69/228997069.html','winPopUp','resizable=1,scrollbars=1,location=0,width=440,height=604');
       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":228997069,"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=\"228997069\" \/>\n<input type=\"hidden\" name=\"meta_split_id\" value=\"\" \/>\n<input type=\"hidden\" name=\"listname\" value=\"hwpbarrie\" \/>\n<input type=\"hidden\" name=\"redirect\" value=\"http:\/\/www.barrieweddingplanner.com\/barrie-newsletter-thank-you\" id=\"redirect_2aa5c5a62018b72eefddbe79f3ff6f43\" \/>\n<input type=\"hidden\" name=\"meta_redirect_onlist\" value=\"http:\/\/www.barrieweddingplanner.com\" \/>\n<input type=\"hidden\" name=\"meta_adtracking\" value=\"HWP_Barrie_Lightbox\" \/>\n<input type=\"hidden\" name=\"meta_message\" value=\"1\" \/>\n<input type=\"hidden\" name=\"meta_required\" value=\"name,email\" \/>\n\n<input type=\"hidden\" name=\"meta_tooltip\" value=\"\" \/>\n<\/div>\n<div id=\"af-form-228997069\" class=\"af-form\"><div id=\"af-body-228997069\" class=\"af-body af-standards\">\n<div class=\"af-element\">\n<div class=\"bodyText\"><p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: left;\"><strong><span style=\"font-family: arial,helvetica,sans-serif;\"><br \/><br \/><br \/><br \/><span style=\"font-size: 14px;\">Before You Go Any Further...<\/span><\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-size: 14px;\"><strong><span style=\"color: #800000;\"><span style=\"color: #ff0000;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><strong><span style=\"color: #800000;\"><span style=\"font-family: arial,helvetica,sans-serif;\">Now You Can Discover&nbsp;the&nbsp;<br \/><\/span><\/span><\/strong><\/span><\/span><span style=\"color: #ff0000;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><strong><span style=\"color: #800000;\"><span style=\"color: #0000ff;\"><span style=\"font-family: arial,helvetica,sans-serif;\">Hidden Secrets<\/span><\/span><\/span><\/strong><\/span><\/span><span style=\"color: #ff0000;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><strong><span style=\"color: #800000;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> of many brides who <br \/>have gone before you in our <br \/>Free E-Book!<\/span><\/span><\/strong><\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-size: 14px;\"><strong><span style=\"font-weight: normal;\"><span style=\"font-size: 11px;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><strong><span style=\"font-size: 12px;\"><span style=\"font-family: arial,helvetica,sans-serif;\">This <\/span><\/span><\/strong><\/span><span style=\"font-family: arial,helvetica,sans-serif;\"><strong><span style=\"font-size: 12px;\"><span style=\"font-family: arial,helvetica,sans-serif;\">is our special gift to you -&nbsp;You'll also <br \/>get a free subscription to our newsletter full <br \/>of helpful tips, promotion, events and <br \/>information to help you have the <br \/>wedding of your dreams.<\/span><\/span><\/strong><\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-size: small;\"><span style=\"font-size: 12px;\"><strong><span style=\"font-family: arial,helvetica,sans-serif;\">Get your free e-book newsletter subsription now!<br \/><br \/><br \/><br \/><br \/><br \/><br \/><br \/>&nbsp;<\/span><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><span class=\"Apple-style-span\" style=\"font-size: 14px;\"><strong><\/strong><\/span><\/span><\/p><\/div><div class=\"af-clear\"><\/div>\n<\/div>\n<div class=\"af-element\">\n<label class=\"previewLabel\" for=\"awf_field-25516732\">Name: <\/label>\n<div class=\"af-textWrap\">\n<input id=\"awf_field-25516732\" type=\"text\" name=\"name\" class=\"text\" value=\"\"  tabindex=\"500\" \/>\n<\/div>\n<div class=\"af-clear\"><\/div><\/div>\n<div class=\"af-element\">\n<label class=\"previewLabel\" for=\"awf_field-25516733\">Email: <\/label>\n<div class=\"af-textWrap\"><input class=\"text\" id=\"awf_field-25516733\" type=\"text\" name=\"email\" value=\"\" tabindex=\"501\"  \/>\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\" tabindex=\"502\" \/>\n<div class=\"af-clear\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/form>\n","styles":"#af-form-228997069 .af-body .af-textWrap{width:98%;display:block;float:none;}\n#af-form-228997069 .af-body a{color:#094C80;text-decoration:underline;font-style:normal;font-weight:normal;}\n#af-form-228997069 .af-body input.text, #af-form-228997069 .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#af-form-228997069 .af-body input.text:focus, #af-form-228997069 .af-body textarea:focus{background-color:#FFFAD6;border-color:#030303;border-width:1px;border-style:solid;}\n#af-form-228997069 .af-body label.previewLabel{display:block;float:none;text-align:left;width:auto;color:#000000;text-decoration:none;font-style:normal;font-weight:normal;font-size:12px;font-family:Verdana, sans-serif;}\n#af-form-228997069 .af-body{padding-bottom:15px;padding-top:15px;background-repeat:no-repeat;background-position:inherit;background-image:url(\"http:\/\/www.herweddingplanner.com\/images\/background-blue.jpg\");color:#000000;font-size:11px;font-family:Verdana, sans-serif;}\n#af-form-228997069 .af-quirksMode .bodyText{padding-top:2px;padding-bottom:2px;}\n#af-form-228997069 .af-quirksMode{padding-right:15px;padding-left:15px;}\n#af-form-228997069 .af-standards .af-element{padding-right:15px;padding-left:15px;}\n#af-form-228997069 .bodyText p{margin:1em 0;}\n#af-form-228997069 .buttonContainer input.submit{background-color:#0479c2;background-image:none;color:#FFFFFF;text-decoration:none;font-style:normal;font-weight:normal;font-size:14px;font-family:Verdana, sans-serif;}\n#af-form-228997069 .buttonContainer input.submit{width:auto;}\n#af-form-228997069 .buttonContainer{text-align:center;}\n#af-form-228997069 body,#af-form-228997069 dl,#af-form-228997069 dt,#af-form-228997069 dd,#af-form-228997069 h1,#af-form-228997069 h2,#af-form-228997069 h3,#af-form-228997069 h4,#af-form-228997069 h5,#af-form-228997069 h6,#af-form-228997069 pre,#af-form-228997069 code,#af-form-228997069 fieldset,#af-form-228997069 legend,#af-form-228997069 blockquote,#af-form-228997069 th,#af-form-228997069 td{float:none;color:inherit;position:static;margin:0;padding:0;}\n#af-form-228997069 button,#af-form-228997069 input,#af-form-228997069 submit,#af-form-228997069 textarea,#af-form-228997069 select,#af-form-228997069 label,#af-form-228997069 optgroup,#af-form-228997069 option{float:none;position:static;margin:0;}\n#af-form-228997069 div{margin:0;}\n#af-form-228997069 fieldset{border:0;}\n#af-form-228997069 form,#af-form-228997069 textarea,.af-form-wrapper,.af-form-close-button,#af-form-228997069 img{float:none;color:inherit;position:static;background-color:none;border:none;margin:0;padding:0;}\n#af-form-228997069 input,#af-form-228997069 button,#af-form-228997069 textarea,#af-form-228997069 select{font-size:100%;}\n#af-form-228997069 p{color:inherit;}\n#af-form-228997069 select,#af-form-228997069 label,#af-form-228997069 optgroup,#af-form-228997069 option{padding:0;}\n#af-form-228997069 table{border-collapse:collapse;border-spacing:0;}\n#af-form-228997069 ul,#af-form-228997069 ol{list-style-image:none;list-style-position:outside;list-style-type:disc;padding-left:40px;}\n#af-form-228997069,#af-form-228997069 .quirksMode{width:440px;}\n#af-form-228997069.af-quirksMode{overflow-x:hidden;}\n#af-form-228997069{background-color:#FFFFFF;border-color:#176596;border-width:4px;border-style:none;}\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,.af-form .af-element input.button{float:none!important;}\n.af-body input.text{width:100%;float:none;padding:2px!important;}\n.af-body.af-standards input.submit{padding:4px 12px;}\n.af-clear{clear:both;}\n.af-element label{text-align:left;display:block;float:left;}\n.af-element{padding:5px 0;}\n.af-form-wrapper{text-indent:0;}\n.af-form{text-align:left;margin:auto;}\n.af-quirksMode .af-element{padding-left:0!important;padding-right:0!important;}\n.dropShadowBottom228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-bottom.png) repeat-x;width:438px;height:10px;float:left;margin-bottom:0;line-height:0;font-size:0;padding:0;}\n.dropShadowL228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-left.png) repeat-y;line-height:0;font-size:0;width:10px;height:100%;float:left;margin-bottom:0;}\n.dropShadowLL228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-bottomLeft.png) no-repeat;width:10px;height:10px;float:left;margin-bottom:0;line-height:0;font-size:0;padding:0;}\n.dropShadowLR228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-bottomRight.png) no-repeat;width:10px;height:10px;float:left;margin-bottom:0;line-height:0;font-size:0;padding:0;}\n.dropShadowR228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-right.png) repeat-y;width:10px;height:100%;float:right;margin-bottom:0;}\n.dropShadowTop228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-top.png) repeat-x;width:438px;height:10px!important;line-height:0;font-size:0;float:left;margin-bottom:0;padding:0;}\n.dropShadowUL228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-topLeft.png) no-repeat;width:10px;height:10px!important;float:left;margin-bottom:0;line-height:0;font-size:0;padding:0;}\n.dropShadowUR228997069{background:url(http:\/\/forms.aweber.com\/images\/wfg\/drop-topRight.png) no-repeat;width:10px;line-height:0;font-size:0;height:10px!important;float:left;margin-bottom:0;padding:0;}\n.lbl-right .af-element label{text-align:right;}\nbody {\n}","height":"604","width":"440","plPath":"forms.aweber.com","delay":"25","popupURL":"http:\/\/forms.aweber.com\/form\/69\/228997069.html","formType":"lightbox","animation":"fade in","redirectId":"redirect_2aa5c5a62018b72eefddbe79f3ff6f43","returnToPage":0} ); };
    if (typeof awf_Form_.AWFormGenerator == 'undefined') {
        var unique_track = new Image();
        unique_track.src = "http://forms.aweber.com/form/displays.htm?id=TEwcnJzsDGyc";
        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=TEwcnJzsDGyc";
        loadForm();
    }
}

if ((awf_Form_.isPreview || !awf_Form_.getCookie('awpopup_228997069')) && typeof hide_awf_Form=='undefined') {
    awf_Form_.currDate = new Date();
    awf_Form_.currDate.setTime(awf_Form_.currDate.getTime() + 2678400000);
    awf_Form_.setCookie('awpopup_228997069', '1', awf_Form_.currDate, '/', document.domain, 0);
    awf_Form_.showForm();
}

