function ProceedToSurveyForm(){$.ajax({type:"POST",url:"/Home/Survey",dataType:"html",success:function(n){window.scrollTo(0,0);$("#body").html(n)}})}String.prototype.format=function(){var n=arguments,t=this;return t.replace(String.prototype.format.regex,function(t){var i=parseInt(t.substring(1,t.length-1));return i>=0?n[i]:i===-1?"{":i===-2?"}":""})};String.prototype.format.regex=new RegExp("{-?[0-9]+}","g");$(function(){$.validator.addMethod("valueNotEquals",function(n,t,i){return i!=n},"");$(".UserInfo_dropdown").selectmenu({width:200});$("#proceed_to_quiz").submit(function(n){return ProceedToSurveyForm(n),!1})});var UserData_MGR={current_person:{},current_contact:{},Person_Fields:["Gender","AgeRange","Ethnicity","Education","PoliticalParty"],collect_responses:function(){return{Gender:parseInt($("#Gender").val()),AgeRange:parseInt($("#AgeRange").val()),Ethnicity:parseInt($("#Ethnicity").val()),Education:parseInt($("#Education").val()),PoliticalParty:parseInt($("#PoliticalParty").val())}},update_user_info:function(n){this.Person_Fields.forEach(function(t){UserData_MGR.current_person[t]=n.hasOwnProperty(t)?n[t]:null})},get_user_info:function(){return this.current_person}}