/*jslint nomen:false, debug:true, evil:true, vars:false, browser:true, forin:true, undef:false, white:false */
/**
 * Includes a Form with javascript
 * @param {Object} formId
 * @param {Object} initialHeight
 * @param {Object} iframeCode
 */
function FrameBuilder (formId, appendTo, initialHeight, iframeCode){
    this.formId = formId;
    this.initialHeight = initialHeight;
    this.iframeCode = iframeCode;
    this.frame = null;
    this.timeInterval= 200;
    this.appendTo = appendTo || false;
    
    // initialize function for object
    this.init = function(){
        this.createFrame();
        this.addFrameContent(this.iframeCode);
    };
    
    // Create the frame
    this.createFrame = function(){
        var htmlCode = "<"+"iframe src=\"\" allowtransparency=\"true\" frameborder=\"0\" name=\""+this.formId+"\" id=\""+this.formId+"\" style=\"width:100%; 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);            
        }
        // also get the frame for future use.
        this.frame = document.getElementById(this.formId);
        // set the time on the on load event of the frame
        this.addEvent(this.frame, 'load', this.bindMethod(this.setTimer, this));
    };
    
    // add event function for different browsers
    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);');
        var frameDocument = (this.frame.contentWindow) ? this.frame.contentWindow : (this.frame.contentDocument.document) ? this.frame.contentDocument.document : this.frame.contentDocument;
        frameDocument.document.open();
        frameDocument.document.write(string);
        setTimeout( function(){
            frameDocument.document.close();
            try{
                if('JotFormFrameLoaded' in window){
                    JotFormFrameLoaded();
                }
            }catch(e){}
        },200);
    };
    
    this.setTimer = function(){
        var self = this;
        this.interval = setTimeout(function(){self.changeHeight();},this.timeInterval);
    };
    
    this.changeHeight = function (){
        var actualHeight = this.getBodyHeight();
        var currentHeight = this.getViewPortHeight();
        if(actualHeight === undefined){
            this.frame.style.height = "100%";
            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.getBodyHeight = function (){
        var height;
        var scrollHeight;
        var offsetHeight;
        try{  // Prevent IE from throw errors
            if (this.frame.contentWindow.document.height){
                
                height = this.frame.contentWindow.document.height;
                //Emre: to prevent "iframe height"  problem (61059)
                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){
                
                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;
                }
                
                if (scrollHeight && offsetHeight){
                    height = Math.max(scrollHeight, offsetHeight);
                }
            }            
        }catch(e){ }
        return height;
    };
    
    this.getViewPortHeight = function(){
        var height = 0;
        try{ // Prevent IE from throw errors
            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 i1872540920 = new FrameBuilder("1872540920", false, "", "<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\" \"http:\/\/www.w3.org\/TR\/html4\/strict.dtd\">\n<html><head>\n<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\" \/>\n<meta name=\"HandheldFriendly\" content=\"true\" \/>\n<title>Form<\/title>\n<link href=\"http:\/\/max.jotfor.ms\/min\/g=formCss?3.0.2622\" rel=\"stylesheet\" type=\"text\/css\" \/>\n<style type=\"text\/css\">\n    .form-label{\n        width:350px !important;\n    }\n    .form-label-left{\n        width:350px !important;\n    }\n    .form-line{\n        padding:10px;\n    }\n    .form-label-right{\n        width:350px !important;\n    }\n    body, html{\n        margin:0;\n        padding:0;\n        background:false;\n    }\n\n    .form-all{\n        margin:0px auto;\n        padding-top:20px;\n        width:900px;\n        color:Black !important;\n        font-family:Arial;\n        font-size:12px;\n    }\n<\/style>\n\n<script src=\"http:\/\/max.jotfor.ms\/min\/g=jotform?3.0.2622\" type=\"text\/javascript\"><\/script>\n<script type=\"text\/javascript\">\n var jsTime = setInterval(function(){try{\n   JotForm.jsForm = true;\n\n   JotForm.init(function(){\n      JotForm.description('input_20', 'Please select one');\n      $('input_24').hint('mm\/dd\/yyyy');\n      JotForm.description('input_9', 'It\\'s OK to check more than one.');\n      $('input_16').hint('ex: myname@example.com');\n      JotForm.initCaptcha('input_14');\n   });\n\n   clearInterval(jsTime);\n }catch(e){}}, 1000);\n<\/script>\n<\/head>\n<body>\n<form class=\"jotform-form\" action=\"http:\/\/submit.jotform.com\/submit.php\" method=\"post\" enctype=\"multipart\/form-data\" name=\"form_1872540920\" id=\"1872540920\" accept-charset=\"utf-8\">\n  <input type=\"hidden\" name=\"formID\" value=\"1872540920\" \/>\n  <div class=\"form-all\">\n    <ul class=\"form-section\">\n      <li class=\"form-line\" id=\"id_40\">\n        <div id=\"cid_40\" class=\"form-input-wide\">\n          <div id=\"text_40\" class=\"form-html\">\n            <p><span style=\"font-size: large;\"><strong>\n                  Triangle Food Tour Satisfaction Survey\n                <\/strong><\/span>\n            <\/p>\n          <\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_22\">\n        <div id=\"cid_22\" class=\"form-input-wide\">\n          <div id=\"text_22\" class=\"form-html\">\n            <p>\n              <strong><span style=\"color: #ff0000; font-size: small;\">We value your input on the tour experience.&nbsp; Thanks for taking a few minutes to \"dish out\" some details on your thoughts and help us make the walking food tour an enjoyable experience.<\/span>\n              <\/strong>\n            <\/p>\n          <\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_20\">\n        <label class=\"form-label-left\" id=\"label_20\" for=\"input_20\"> Please let us know which tour you went on so we can apply your responses more accurately. <\/label>\n        <div id=\"cid_20\" class=\"form-input\">\n          <div class=\"form-single-column\"><span class=\"form-radio-item\" style=\"clear:left;\"><input type=\"radio\" class=\"form-radio\" id=\"input_20_0\" name=\"q20_pleaseLet20\" value=\"Chapel Hill &amp; Carrboro Tour\" \/>\n              <label for=\"input_20_0\"> Chapel Hill &amp; Carrboro Tour <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-radio-item\" style=\"clear:left;\"><input type=\"radio\" class=\"form-radio\" id=\"input_20_1\" name=\"q20_pleaseLet20\" value=\"Raleigh Walking Food Tours\" \/>\n              <label for=\"input_20_1\"> Raleigh Walking Food Tours <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-radio-item\" style=\"clear:left;\"><input type=\"radio\" class=\"form-radio\" id=\"input_20_2\" name=\"q20_pleaseLet20\" value=\"Durham Walking Food Tour\" \/>\n              <label for=\"input_20_2\"> Durham Walking Food Tour <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-radio-item\" style=\"clear:left;\"><input type=\"radio\" class=\"form-radio\" id=\"input_20_3\" name=\"q20_pleaseLet20\" value=\"Downtown Cary Walking Food Tour\" \/>\n              <label for=\"input_20_3\"> Downtown Cary Walking Food Tour <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-radio-item\" style=\"clear:left;\"><input type=\"radio\" class=\"form-radio\" id=\"input_20_4\" name=\"q20_pleaseLet20\" value=\"Lafayette Village Culinary Tour\" \/>\n              <label for=\"input_20_4\"> Lafayette Village Culinary Tour <\/label><\/span><span class=\"clearfix\"><\/span>\n          <\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_24\">\n        <label class=\"form-label-left\" id=\"label_24\" for=\"input_24\">\n          Please tell us your tour date.<span class=\"form-required\">*<\/span>\n        <\/label>\n        <div id=\"cid_24\" class=\"form-input\">\n          <input type=\"text\" class=\"form-textbox validate[required]\" id=\"input_24\" name=\"q24_pleaseTell\" size=\"20\" \/>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_9\">\n        <label class=\"form-label-left\" id=\"label_9\" for=\"input_9\"> How did you hear about us? <\/label>\n        <div id=\"cid_9\" class=\"form-input\">\n          <div class=\"form-single-column\"><span class=\"form-checkbox-item\" style=\"clear:left;\"><input type=\"checkbox\" class=\"form-checkbox\" id=\"input_9_0\" name=\"q9_howDid[]\" value=\"Internet\" \/>\n              <label for=\"input_9_0\"> Internet <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-checkbox-item\" style=\"clear:left;\"><input type=\"checkbox\" class=\"form-checkbox\" id=\"input_9_1\" name=\"q9_howDid[]\" value=\"Friends\/family\" \/>\n              <label for=\"input_9_1\"> Friends\/family <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-checkbox-item\" style=\"clear:left;\"><input type=\"checkbox\" class=\"form-checkbox\" id=\"input_9_2\" name=\"q9_howDid[]\" value=\"Travel guide book\/agent\" \/>\n              <label for=\"input_9_2\"> Travel guide book\/agent <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-checkbox-item\" style=\"clear:left;\"><input type=\"checkbox\" class=\"form-checkbox\" id=\"input_9_3\" name=\"q9_howDid[]\" value=\"Newspaper\/magazine\" \/>\n              <label for=\"input_9_3\"> Newspaper\/magazine <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-checkbox-item\" style=\"clear:left;\"><input type=\"checkbox\" class=\"form-checkbox\" id=\"input_9_4\" name=\"q9_howDid[]\" value=\"Brochures\/pamphlets\" \/>\n              <label for=\"input_9_4\"> Brochures\/pamphlets <\/label><\/span><span class=\"clearfix\"><\/span><span class=\"form-checkbox-item\" style=\"clear:left;\"><input type=\"checkbox\" class=\"form-checkbox\" id=\"input_9_5\" name=\"q9_howDid[]\" value=\"Other\" \/>\n              <label for=\"input_9_5\"> Other <\/label><\/span><span class=\"clearfix\"><\/span>\n          <\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_10\">\n        <label class=\"form-label-left\" id=\"label_10\" for=\"input_10\"> If \"Other\" to the previous question, feel free to tell us how you heard about us. <\/label>\n        <div id=\"cid_10\" class=\"form-input\">\n          <textarea id=\"input_10\" class=\"form-textarea\" name=\"q10_ifother\" cols=\"69\" rows=\"2\"><\/textarea>\n        <\/div>\n      <\/li>\n      <li id=\"cid_25\" class=\"form-input-wide\">\n        <div class=\"form-header-group\">\n          <h3 id=\"header_25\" class=\"form-header\">\n            Please tell us on a scale of 1 to 5 if you disagree or agree with the following statements...\n          <\/h3>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_33\">\n        <label class=\"form-label-left\" id=\"label_33\" for=\"input_33\"> The tour met my expectations. <\/label>\n        <div id=\"cid_33\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_33_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_33_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_33_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_33_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_33_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_33_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q33_theTour33\" value=\"1\" title=\"1\" id=\"input_33_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q33_theTour33\" value=\"2\" title=\"2\" id=\"input_33_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q33_theTour33\" value=\"3\" title=\"3\" id=\"input_33_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q33_theTour33\" value=\"4\" title=\"4\" id=\"input_33_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q33_theTour33\" value=\"5\" title=\"5\" id=\"input_33_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_33_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_34\">\n        <label class=\"form-label-left\" id=\"label_34\" for=\"input_34\"> The tour guide was friendly and informative. <\/label>\n        <div id=\"cid_34\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_34_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_34_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_34_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_34_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_34_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_34_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q34_theTour34\" value=\"1\" title=\"1\" id=\"input_34_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q34_theTour34\" value=\"2\" title=\"2\" id=\"input_34_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q34_theTour34\" value=\"3\" title=\"3\" id=\"input_34_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q34_theTour34\" value=\"4\" title=\"4\" id=\"input_34_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q34_theTour34\" value=\"5\" title=\"5\" id=\"input_34_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_34_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_35\">\n        <label class=\"form-label-left\" id=\"label_35\" for=\"input_35\"> The restaurants were welcoming and fun. <\/label>\n        <div id=\"cid_35\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_35_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_35_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_35_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_35_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_35_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_35_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q35_theRestaurants\" value=\"1\" title=\"1\" id=\"input_35_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q35_theRestaurants\" value=\"2\" title=\"2\" id=\"input_35_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q35_theRestaurants\" value=\"3\" title=\"3\" id=\"input_35_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q35_theRestaurants\" value=\"4\" title=\"4\" id=\"input_35_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q35_theRestaurants\" value=\"5\" title=\"5\" id=\"input_35_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_35_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_36\">\n        <label class=\"form-label-left\" id=\"label_36\" for=\"input_36\"> The food we sampled was excellent. <\/label>\n        <div id=\"cid_36\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_36_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_36_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_36_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_36_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_36_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_36_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q36_theFood\" value=\"1\" title=\"1\" id=\"input_36_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q36_theFood\" value=\"2\" title=\"2\" id=\"input_36_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q36_theFood\" value=\"3\" title=\"3\" id=\"input_36_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q36_theFood\" value=\"4\" title=\"4\" id=\"input_36_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q36_theFood\" value=\"5\" title=\"5\" id=\"input_36_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_36_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_37\">\n        <label class=\"form-label-left\" id=\"label_37\" for=\"input_37\"> I plan to return to some of the restaurants. <\/label>\n        <div id=\"cid_37\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_37_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_37_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_37_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_37_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_37_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_37_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q37_iPlan\" value=\"1\" title=\"1\" id=\"input_37_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q37_iPlan\" value=\"2\" title=\"2\" id=\"input_37_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q37_iPlan\" value=\"3\" title=\"3\" id=\"input_37_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q37_iPlan\" value=\"4\" title=\"4\" id=\"input_37_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q37_iPlan\" value=\"5\" title=\"5\" id=\"input_37_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_37_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_38\">\n        <label class=\"form-label-left\" id=\"label_38\" for=\"input_38\"> I would likely come back for other tours <\/label>\n        <div id=\"cid_38\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_38_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_38_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_38_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_38_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_38_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_38_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q38_iWould\" value=\"1\" title=\"1\" id=\"input_38_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q38_iWould\" value=\"2\" title=\"2\" id=\"input_38_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q38_iWould\" value=\"3\" title=\"3\" id=\"input_38_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q38_iWould\" value=\"4\" title=\"4\" id=\"input_38_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q38_iWould\" value=\"5\" title=\"5\" id=\"input_38_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_38_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_39\">\n        <label class=\"form-label-left\" id=\"label_39\" for=\"input_39\"> I would recommend the Triangle Food Tour to friends and family. <\/label>\n        <div id=\"cid_39\" class=\"form-input\">\n          <table summary=\"\" cellpadding=\"4\" cellspacing=\"0\" class=\"form-scale-table\">\n            <tr>\n              <th>\n                &nbsp;\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_39_1\"> 1 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_39_2\"> 2 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_39_3\"> 3 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_39_4\"> 4 <\/label>\n              <\/th>\n              <th align=\"center\">\n                <label for=\"input_39_5\"> 5 <\/label>\n              <\/th>\n              <th>\n                &nbsp;\n              <\/th>\n            <\/tr>\n            <tr>\n              <td>\n                <label for=\"input_39_1\"> Disagree <\/label>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q39_iWould39\" value=\"1\" title=\"1\" id=\"input_39_1\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q39_iWould39\" value=\"2\" title=\"2\" id=\"input_39_2\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q39_iWould39\" value=\"3\" title=\"3\" id=\"input_39_3\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q39_iWould39\" value=\"4\" title=\"4\" id=\"input_39_4\" \/>\n              <\/td>\n              <td align=\"center\">\n                <input class=\"form-radio\" type=\"radio\" name=\"q39_iWould39\" value=\"5\" title=\"5\" id=\"input_39_5\" \/>\n              <\/td>\n              <td>\n                <label for=\"input_39_5\"> Agree <\/label>\n              <\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_13\">\n        <label class=\"form-label-left\" id=\"label_13\" for=\"input_13\"> Before you go, we would love to receive your comments about your favorite stops on the tour and\/or anything else you would like us to know. <\/label>\n        <div id=\"cid_13\" class=\"form-input\">\n          <textarea id=\"input_13\" class=\"form-textarea\" name=\"q13_beforeYou13\" cols=\"69\" rows=\"6\"><\/textarea>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_23\">\n        <label class=\"form-label-left\" id=\"label_23\" for=\"input_23\"> Have a favorite picture from the tour that you would like to share? Be warned, if we think your picture is great, we might just show it on our website. Feel free to upload your image here: <\/label>\n        <div id=\"cid_23\" class=\"form-input\">\n          <input class=\"form-upload\" type=\"file\" id=\"input_23\" name=\"q23_haveA23\" file-accept=\"pdf, doc, docx, xls, csv, txt, rtf, html, zip, mp3, wma, mpg, flv, avi, jpg, jpeg, png, gif\" file-maxsize=\"500\" \/>\n        <\/div>\n      <\/li>\n      <li id=\"cid_19\" class=\"form-input-wide\">\n        <div class=\"form-header-group\">\n          <h3 id=\"header_19\" class=\"form-header\">\n            Participant information:\n          <\/h3>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_15\">\n        <label class=\"form-label-left\" id=\"label_15\" for=\"input_15\">\n          Full Name<span class=\"form-required\">*<\/span>\n        <\/label>\n        <div id=\"cid_15\" class=\"form-input\"><span class=\"form-sub-label-container\"><input class=\"form-textbox validate[required]\" type=\"text\" size=\"10\" name=\"q15_fullName[first]\" id=\"first_15\" \/>\n            <label class=\"form-sub-label\" for=\"first_15\" id=\"sublabel_first\"> First Name <\/label><\/span><span class=\"form-sub-label-container\"><input class=\"form-textbox validate[required]\" type=\"text\" size=\"15\" name=\"q15_fullName[last]\" id=\"last_15\" \/>\n            <label class=\"form-sub-label\" for=\"last_15\" id=\"sublabel_last\"> Last Name <\/label><\/span>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_16\">\n        <label class=\"form-label-left\" id=\"label_16\" for=\"input_16\">\n          E-mail<span class=\"form-required\">*<\/span>\n        <\/label>\n        <div id=\"cid_16\" class=\"form-input\">\n          <input type=\"email\" class=\"form-textbox validate[required, Email]\" id=\"input_16\" name=\"q16_email\" size=\"30\" \/>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_17\">\n        <label class=\"form-label-left\" id=\"label_17\" for=\"input_17\"> Phone Number (Optional) <\/label>\n        <div id=\"cid_17\" class=\"form-input\"><span class=\"form-sub-label-container\"><input class=\"form-textbox\" type=\"tel\" name=\"q17_phoneNumber[area]\" id=\"input_17_area\" size=\"3\">\n            -\n            <label class=\"form-sub-label\" for=\"input_17_area\" id=\"sublabel_area\"> Area Code <\/label><\/span><span class=\"form-sub-label-container\"><input class=\"form-textbox\" type=\"tel\" name=\"q17_phoneNumber[phone]\" id=\"input_17_phone\" size=\"8\">\n            <label class=\"form-sub-label\" for=\"input_17_phone\" id=\"sublabel_phone\"> Phone Number <\/label><\/span>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_14\">\n        <label class=\"form-label-left\" id=\"label_14\" for=\"input_14\">\n          Enter the message as it's shown<span class=\"form-required\">*<\/span>\n        <\/label>\n        <div id=\"cid_14\" class=\"form-input\">\n          <div class=\"form-captcha\">\n            <label for=\"input_14\"> <img alt=\"Captcha - Reload if it's not displayed\" id=\"input_14_captcha\" class=\"form-captcha-image\" style=\"background:url(http:\/\/www.jotform.com\/images\/loader-big.gif) no-repeat center;\" src=\"http:\/\/www.jotform.com\/images\/blank.gif\" width=\"150\" height=\"41\" \/> <\/label>\n            <div style=\"white-space:nowrap;\">\n              <input type=\"text\" id=\"input_14\" class=\"form-textbox validate[required]\" name=\"captcha\" style=\"width:130px;\" \/>\n              <img src=\"http:\/\/www.jotform.com\/images\/reload.png\" alt=\"Reload\" align=\"absmiddle\" style=\"cursor:pointer\" onclick=\"JotForm.reloadCaptcha('input_14');\" \/>\n              <input type=\"hidden\" name=\"captcha_id\" id=\"input_14_captcha_id\" value=\"0\">\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" id=\"id_2\">\n        <div id=\"cid_2\" class=\"form-input-wide\">\n          <div style=\"margin-left:356px\" class=\"form-buttons-wrapper\">\n            <button id=\"input_2\" type=\"submit\" class=\"form-submit-button\">\n              Send Us Your Survey\n            <\/button>\n            &nbsp;\n            <button id=\"input_print_2\" style=\"margin-left:25px;\" class=\"form-submit-print\" type=\"button\">\n              <img src=\"http:\/\/www.jotform.com\/images\/printer.png\" align=\"absmiddle\" \/>\n              Print Form\n            <\/button>\n          <\/div>\n        <\/div>\n      <\/li>\n      <li style=\"display:none\">\n        Should be Empty:\n        <input type=\"text\" name=\"website\" value=\"\" \/>\n      <\/li>\n    <\/ul>\n  <\/div>\n  <input type=\"hidden\" id=\"simple_spc\" name=\"simple_spc\" value=\"1872540920\" \/>\n  <script type=\"text\/javascript\">\n  document.getElementById(\"si\" + \"mple\" + \"_spc\").value = \"1872540920-1872540920\";\n  <\/script>\n<\/form><\/body>\n<\/html>\n");

