function FrameBuilder(formId,appendTo,initialHeight,iframeCode,title){this.formId=formId;this.initialHeight=initialHeight;this.iframeCode=iframeCode;this.frame=null;this.timeInterval=200;this.appendTo=appendTo||false;this.formSubmitted=0;this.init=function(){this.createFrame();this.addFrameContent(this.iframeCode);};this.createFrame=function(){var tmp_is_ie=!!window.ActiveXObject;var htmlCode="<"+"iframe title=\""+title.replace(/[\\"']/g,'\\$&').replace(/&amp;/g,'&')+"\" onload=\"window.parent.scrollTo(0,0)\" src=\"\" allowtransparency=\"true\" name=\""+this.formId+"\" id=\""+this.formId+"\" style=\"width: 1px; min-width: 100%; display: block; overflow: hidden; height:"+this.initialHeight+"px; border: none;\" scrolling=\"no\"></if"+"rame>";if(this.appendTo===false){document.write(htmlCode);}else{var tmp=document.createElement('div');tmp.innerHTML=htmlCode;var a=this.appendTo;document.getElementById(a).appendChild(tmp.firstChild);}
this.frame=document.getElementById(this.formId);if(tmp_is_ie===true){try{var iframe=this.frame;var doc=iframe.contentDocument?iframe.contentDocument:(iframe.contentWindow.document||iframe.document);doc.open();doc.write("");}
catch(err){this.frame.src="javascript:void((function(){document.open();document.domain=\'"+this.getBaseDomain()+"\';document.close();})())";}}
this.addEvent(this.frame,'load',this.bindMethod(this.setTimer,this));var self=this;if(window.chrome!==undefined){this.frame.onload=function(){try{var doc=this.contentWindow.document;var _jotform=this.contentWindow.JotForm;if(doc!==undefined){var form=doc.getElementById(""+self.formId);self.addEvent(form,"submit",function(){if(_jotform.validateAll()){self.formSubmitted=1;}});}}catch(e){}}}};this.addEvent=function(obj,type,fn){if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event);};obj.attachEvent("on"+type,obj[type+fn]);}
else{obj.addEventListener(type,fn,false);}};this.addFrameContent=function(string){string=string.replace(new RegExp('src\\=\\"[^"]*captcha.php\"><\/scr'+'ipt>','gim'),'src="http://api.recaptcha.net/js/recaptcha_ajax.js"></scr'+'ipt><'+'div id="recaptcha_div"><'+'/div>'+'<'+'style>#recaptcha_logo{ display:none;} #recaptcha_tagline{display:none;} #recaptcha_table{border:none !important;} .recaptchatable .recaptcha_image_cell, #recaptcha_table{ background-color:transparent !important; } <'+'/style>'+'<'+'script defer="defer"> window.onload = function(){ Recaptcha.create("6Ld9UAgAAAAAAMon8zjt30tEZiGQZ4IIuWXLt1ky", "recaptcha_div", {theme: "clean",tabindex: 0,callback: function (){'+'if (document.getElementById("uword")) { document.getElementById("uword").parentNode.removeChild(document.getElementById("uword")); } if (window["validate"] !== undefined) { if (document.getElementById("recaptcha_response_field")){ document.getElementById("recaptcha_response_field").onblur = function(){ validate(document.getElementById("recaptcha_response_field"), "Required"); } } } if (document.getElementById("recaptcha_response_field")){ document.getElementsByName("recaptcha_challenge_field")[0].setAttribute("name", "anum"); } if (document.getElementById("recaptcha_response_field")){ document.getElementsByName("recaptcha_response_field")[0].setAttribute("name", "qCap"); }}})'+' }<'+'/script>');string=string.replace(/(type="text\/javascript">)\s+(validate\(\"[^"]*"\);)/,'$1 jTime = setInterval(function(){if("validate" in window){$2clearTimeout(jTime);}}, 1000);');if(string.match('#sublabel_litemode')){string=string.replace('class="form-all"','class="form-all" style="margin-top:0;"');}
var iframe=this.frame;var doc=iframe.contentDocument?iframe.contentDocument:(iframe.contentWindow.document||iframe.document);doc.open();doc.write(string);setTimeout(function(){doc.close();try{if('JotFormFrameLoaded'in window){JotFormFrameLoaded();}}catch(e){console.log("error on frame loading",e);}},200);};this.setTimer=function(){var self=this;this.interval=setTimeout(function(){self.changeHeight();},this.timeInterval);};this.getBaseDomain=function(){var thn=window.location.hostname;var cc=0;var buff="";for(var i=0;i<thn.length;i++){var chr=thn.charAt(i);if(chr=="."){cc++;}
if(cc==0){buff+=chr;}}
if(cc==2){thn=thn.replace(buff+".","");}
return thn;}
this.changeHeight=function(){var actualHeight=this.getBodyHeight();var currentHeight=this.getViewPortHeight();if(actualHeight===undefined){this.frame.style.height=this.frameHeight;if(!this.frame.style.minHeight){this.frame.style.minHeight="300px";}}else if(Math.abs(actualHeight-currentHeight)>18){this.frame.style.height=(actualHeight)+"px";}
this.setTimer();};this.bindMethod=function(method,scope){return function(){method.apply(scope,arguments);};};this.frameHeight=0;this.getBodyHeight=function(){if(this.formSubmitted===1){return;}
var height;var scrollHeight;var offsetHeight;try{if(this.frame.contentWindow.document.height){height=this.frame.contentWindow.document.height;if(this.frame.contentWindow.document.body.scrollHeight){height=scrollHeight=this.frame.contentWindow.document.body.scrollHeight;}
if(this.frame.contentWindow.document.body.offsetHeight){height=offsetHeight=this.frame.contentWindow.document.body.offsetHeight;}}else if(this.frame.contentWindow.document.body){var isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);if(this.frame.contentWindow.document.body.scrollHeight){height=scrollHeight=this.frame.contentWindow.document.body.scrollHeight;}
if(isChrome){height=scrollHeight=this.frame.contentWindow.document.height;}
if(this.frame.contentWindow.document.body.offsetHeight){height=offsetHeight=this.frame.contentWindow.document.body.offsetHeight;}
if(scrollHeight&&offsetHeight){height=Math.max(scrollHeight,offsetHeight);}}}catch(e){}
this.frameHeight=height;return height;};this.getViewPortHeight=function(){if(this.formSubmitted===1){return;}
var height=0;try{if(this.frame.contentWindow.window.innerHeight)
{height=this.frame.contentWindow.window.innerHeight-18;}
else if((this.frame.contentWindow.document.documentElement)&&(this.frame.contentWindow.document.documentElement.clientHeight))
{height=this.frame.contentWindow.document.documentElement.clientHeight;}
else if((this.frame.contentWindow.document.body)&&(this.frame.contentWindow.document.body.clientHeight))
{height=this.frame.contentWindow.document.body.clientHeight;}}catch(e){}
return height;};this.init();}
FrameBuilder.get=[];var i70434428784361=new FrameBuilder("70434428784361",false,"","<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\" \"http:\/\/www.w3.org\/TR\/html4\/strict.dtd\">\n<html>\n    <head>\n        <meta http-equiv=\"Content-Type\" content=\"text\/html; charset=iso-8859-1\">\n        <title>This form is currently unavailable!<\/title>\n        <style>\n            body, html{\n                height:100%;\n                width:100%;\n                padding:0px;\n                margin:0px;\n            }\n            \n            body{\n                font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;\n                font-size:14px;\n                color:#333;\n                background:#545454;\n            }\n            .notification{\n                box-shadow:0 0 5px rgba(0, 0, 0, 0.5);\n                border-radius:5px;\n                \/*min-width:500px;*\/\n            }\n            .jf-mask {\n                display: none !important;\n            }\n        <\/style>\n    <\/head>\n    <body>\n        <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" height=\"100%\" bgcolor=\"#545454\">\n            <tr>\n                <td height=\"100\">&nbsp;<\/td>\n            <\/tr>\n            <tr>\n                <td align=\"center\" style=\"font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:14px;color:#333;\">\n                    \n                        <table cellpadding=\"0\" cellspacing=\"0\" class=\"notification\" >\n                            <tr>\n                                                                <td height=\"10\" background=\"https:\/\/cdn.jotfor.ms\/\/images\/email\/header-neu1.png\">\n                                <\/td>\n                                <td width=\"20\" background=\"https:\/\/cdn.jotfor.ms\/\/images\/email\/header-neu1.png\" style=\"background-position:right top;\">\n                                    &nbsp;\n                                <\/td>\n                                                                                                    \n                            <\/tr>\n                            <tr>\n                                <td align=\"left\" valign=\"top\" bgcolor=\"#ffffff\" style=\"padding:30px !important; max-width: 638px;\" colspan=\"2\">\n                                   <script type=\"text\/javascript\" src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.7.1\/jquery.min.js\"><\/script>\n<script type=\"text\/javascript\">\n    \/\/ if embedded, collapse frame\n    if (window !== window.top) {\n        window.parent.postMessage('collapseErrorPage', '*');\n        \n        var margin = document.body.offsetHeight;\n        var height = parseInt(document.body.scrollHeight) + margin;\n        window.parent.postMessage('setHeight:' + height, '*');\n    }\n<\/script>\n<style type=\"text\/css\">\n    #show {\n        border: 1px solid #CCCCCC;\n        background: #f5f5f5;\n        margin-bottom: 10px;\n        margin-left: 70px;\n        margin-top: 10px;\n        padding: 3px 10px;\n\n        -webkit-border-radius: 2px;\n        -moz-border-radius: 2px;\n        border-radius: 2px;\n        text-shadow: 0 1px 0 #fff;\n    }\n\n    #show:hover {\n        border: 1px solid #aaa;\n    }\n\n    #show:active {\n        border: 1px solid #888;\n        background: #eee;\n    }\n<\/style>\n<div style=\"text-align:left\">\n    <div style=\"\">\n        <img src=\"https:\/\/cdn.jotfor.ms\/images\/warning.png\" align=\"left\">\n        <h1 style=\" margin-left:70px; margin-bottom:5px; margin-top:20px;text-align:left\">This form is currently unavailable!<\/h1>\n    <\/div>\n    <div style=\"margin-left:71px;\">\n            <\/div>\n<\/div>\n<!--  -->                                <\/td>\n                            <\/tr>\n                            <tr>\n                                <td height=\"22\" background=\"https:\/\/cdn.jotfor.ms\/\/images\/email\/footer.png\">&nbsp;<\/td>\n                                <td height=\"22\" width=\"20\" background=\"https:\/\/cdn.jotfor.ms\/\/images\/email\/footer.png\" style=\"background-position:right\">\n                                    &nbsp;\n                                <\/td>\n                            <\/tr>\n                        <\/table>\n                    <\/div>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td height=\"100\">&nbsp;<\/td>\n            <\/tr>\n        <\/table>\n    <\/body>\n<\/html>\n","Nominate a business below");(function(){window.handleIFrameMessage=function(e){var args=e.data.split(":");var iframe=document.getElementById("70434428784361");if(!iframe){return};switch(args[0]){case"scrollIntoView":if(!("nojump"in FrameBuilder.get)){iframe.scrollIntoView();}
break;case"setHeight":iframe.style.height=args[1]+"px";break;case"setMinHeight":iframe.style.minHeight=args[1]+"px";break;case"collapseErrorPage":if(iframe.clientHeight>window.innerHeight){iframe.style.height=window.innerHeight+"px";}
break;case"reloadPage":if(iframe){location.reload();}
break;case"removeIframeOnloadAttr":iframe.removeAttribute("onload");break;case"embedOptions":try{EmbedOptions.run(args[1],args[2]);}catch(e){console.log(e);}
break;}};if(window.addEventListener){window.addEventListener("message",handleIFrameMessage,false);}else if(window.attachEvent){window.attachEvent("onmessage",handleIFrameMessage);}})();