		
	
		{"id":13010,"date":"2016-01-05T00:39:09","date_gmt":"2016-01-05T00:39:09","guid":{"rendered":"http:\/\/multisite.leadmanagesystem.com\/landingpage\/?page_id=13010"},"modified":"2021-08-12T11:07:23","modified_gmt":"2021-08-12T11:07:23","slug":"regent-university-online","status":"publish","type":"page","link":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/regent-university-online\/","title":{"rendered":"Regent University Online"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-parallax-none nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: no;background-image: url(&quot;http:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-content\/uploads\/sites\/2\/2016\/01\/online-header.jpg&quot;);background-position: left top;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom: 0px;margin-top: 0px;border-width: 0px 0px 0px 0px;border-color:#bcbcbc;border-style:solid;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_2_5 2_5 fusion-two-fifth fusion-column-first\" style=\"width:40%;width:calc(40% - ( ( 4% ) * 0.4 ) );margin-right: 4%;margin-top:0px;margin-bottom:20px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"imageframe-align-center\"><div class=\"fusion-image-frame-bottomshadow image-frame-shadow-1\"><style>.fusion-image-frame-bottomshadow.image-frame-shadow-1{display:inline-block}.element-bottomshadow.imageframe-1:before, .element-bottomshadow.imageframe-1:after{-webkit-box-shadow: 0 17px 10px rgba(0,0,0,0.4);box-shadow: 0 17px 10px rgba(0,0,0,0.4);}<\/style><span class=\" fusion-imageframe imageframe-bottomshadow imageframe-1 element-bottomshadow hover-type-none bg-white\"><img decoding=\"async\" src=\"http:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-content\/uploads\/sites\/2\/2016\/01\/regent.png\" class=\"img-responsive\"\/><\/span><\/div><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"margin-left: auto;margin-right: auto;margin-top:1px;width:100%;\"><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-text fusion-text-1\"><h3 style=\"text-align: center;\"><span style=\"color: #ffffff;\"><em><strong>Christian Leadership to<br \/>\nChange the World!<\/strong><\/em><\/span><\/h3>\n<\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 content-area nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: no;background-position: left top;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom: 0px;margin-top: 0px;border-width: 0px 0px 0px 0px;border-color:#eae9e9;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_3 1_3 fusion-one-third fusion-column-first form-div\" style=\"width:33.333333333333%;width:calc(33.333333333333% - ( ( 4% ) * 0.33333333333333 ) );margin-right: 4%;margin-top:0px;margin-bottom:20px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"fusion-text fusion-text-2\"><div class=\"bg-color\" style=\"background: #02427a none repeat scroll 0 0; color: #fff;\">\n<h1><strong><span style=\"color: #ffffff;\">Get free college information now!<\/span><\/strong><\/h1>\n<\/div>\n<\/div><div class=\"fusion-text fusion-text-3\"><div class=\"bg-color\" style=\"background: #059fe5 none repeat scroll 0px 0px; color: #ffffff; text-align: center;\">It only takes a minute.<\/div>\n<\/div><div class=\"fusion-section-separator section-separator triangle fusion-section-separator-1\"><div class=\"fusion-section-separator-svg\" style=\"border-bottom:1px solid #f6f6f6;margin-left: 0px;margin-right: 0px;\"><div class=\"divider-candy-arrow bottom\" style=\"top:0px;border-top-color: #059fe5;\"><\/div><div class=\"divider-candy bottom\" style=\"bottom:-21px;border-bottom:1px solid #f6f6f6;border-left:1px solid #f6f6f6;\"><\/div><\/div><div class=\"fusion-section-separator-spacer\"><div class=\"fusion-section-separator-spacer-height\" style=\"height:1px;\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-4\"><div class=\"lpl-form-container\"><div id=\"lpl-show-error-msg\" class=\"lpl-show-error-msg\"><\/div><div id=\"lpl-show-loader\" style=\"display:none;\"><img decoding=\"async\" alt=\"Loading...\" src=\"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-content\/plugins\/landing_page_location\/images\/loader.gif\"><\/div><div class=\"lpl-form-panel ttest\" id=\"lpl-form-panel\"><\/div><script type=\"text\/javascript\">\n\t\t\t\t\t\t\/\/console.log(\"herere66.248.203.5\");\n\t\t\t\t\t\tvar locdata  = \"\/\/\"+window.location.hostname;\n\t\t\t\t\t\tvar getdataloc = locdata+\"\/lms\/index.php?option=com_getdata&\";\n\t\t\t\t\t\t\/\/var getdataloc = locdata+\":82\/lms\/index.php?option=com_getdata&\";\n\t\t\t\t\t\tif(getdataloc.indexOf(\"192.168.4.9\") !== -1){\n\t\t\t\t\t\t\tvar getdataloc = locdata+\":82\/lms\/index.php?option=com_getdata&\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif(getdataloc.indexOf(\"legalnationwide.net\") !== -1){\n\t\t\t\t\t\t\t\tvar getdataloc = \"\/\/multisite.leadmanagesystem.com\/lms\/index.php?option=com_getdata&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconsole.log(\"getdataloc\"+getdataloc);\n                        var errmsg = \"\";\n                        var zip = \"\";\n                        var catg = \"\";\n                        var subcatg = \"\";\n                        var dmsid = \"\";\n\t\t\t\t\t\tjQuery(document).ready(function() {\n\t\t\t\t\t\t\tconst queryString = window.location.search;\n\t\t\t\t\t\t\tconst urlParams = new URLSearchParams(queryString);\n\t\t\t\t\t\t\tvar formid = \"256\";\n\t\t\t\t\t\t\tvar subkey = \"\";\n\t\t\t\t\t\t\tvar subkey2 = \"\";\n\t\t\t\t\t\t\tvar subkey3 = \"\";\n\t\t\t\t\t\t\tvar sub2 = \"\";\n\t\t\t\t\t\t\tvar istest = 0;\n\t\t\t\t\t\t\tif(urlParams.get(\"istest\")){\n\t\t\t\t\t\t\t\tvar istest = urlParams.get(\"istest\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tvar ismultistep = \"yes\";\n\t\t\t\t\t\t\tvar treetype = \"\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar clr_sub = \"09a3e9\";\n\t\t\t\t\t\t\tvar text_sub = \"REQUEST INFORMATION\";\n\t\t\t\t\t\t\tvar clr_pro = \"959595\";\n\t\t\t\t\t\t\tvar rad_sub = \"3\";\n\t\t\t\t\t\t\tvar colorsubgrd = \"09a3e9\";\n\t\t\t\t\t\t\tvar brdclr = \"09a3e9\";\n\t\t\t\t\t\t\tvar postId = \"\";\n\t\t\t\t\t\t\tvar return_url = \"0\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\turl=getdataloc+\"task=ajx_landingform_details&id=\"+formid+\"&subkey=\"+subkey+\"&ismultistep=\"+ismultistep+\"&colorsub=\"+clr_sub+\"&textsub=\"+text_sub+\"&colorproc=\"+clr_pro+\"&radsub=\"+rad_sub+\"&colorsubgrd=\"+colorsubgrd+\"&brdclr=\"+brdclr+\"&postId=\"+postId+\"&return_url=\"+return_url+\"&dmsid=\"+dmsid+\"&treetype=\"+treetype+\"&istest=\"+istest;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(subkey2!=\"\"){url=url+\"&subkey2=\"+subkey2;}\n\t\t\t\t\t\t\tif(subkey3!=\"\"){url=url+\"&subkey3=\"+subkey3;}\n\t\t\t\t\t\t\tif(sub2!=\"\"){url=url+\"&sub2=\"+sub2;}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"\";\n\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\ttype: \"GET\",\n\t\t\t\t\t\t\t\turl: url,\n\t\t\t\t\t\t\t\tasync: false,\n\t\t\t\t\t\t\t\tcontext: document.body,\n\t\t\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\t\t\tsetlandingformdata(response);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\terror: function (jqXHR, textStatus, errorThrown) {\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-error-msg\").innerHTML=\"Error loading form\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery.urlParam = function(name){\n\t\t\t\t\t\t\tvar results = new RegExp(\"[\\?&]\" + name + \"=([^&#]*)\").exec(window.location.href);\n\t\t\t\t\t\t\treturn results[1] || 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!window.refreshCaptchaListenerAdded) {\n\t\t\t\t\t\t    document.addEventListener(\"click\", function(e) {\n\t\t\t\t\t\t        if (e.target && e.target.id === \"refresh-captcha\") {\n\t\t\t\t\t\t            loadCaptcha();\n\t\t\t\t\t\t        }\n\t\t\t\t\t\t    });\n\t\t\t\t\t\t    window.refreshCaptchaListenerAdded = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", function () {\n\t\t\t\t\t\t\tconst observer = new MutationObserver(() => {\n\t\t\t\t\t\t\t    const questionBox = document.getElementById(\"captcha-question\");\n\t\t\t\t\t\t\t    if(questionBox) {\n\t\t\t\t\t\t\t        loadCaptcha();\n\t\t\t\t\t\t\t        observer.disconnect(); \/\/ stop observing\n\t\t\t\t\t\t\t    }\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\tobserver.observe(document.body, { childList: true, subtree: true });\n\t\t\t\t\t\t});\n\n\n\t\t\t\t\t\tfunction waitForCaptcha() {\n\t\t\t\t\t\t    const questionBox = document.getElementById(\"captcha-question\");\n\t\t\t\t\t\t    if (questionBox && !captchaLoaded) {\n\t\t\t\t\t\t        captchaLoaded = true; \/\/ \u2705 mark as loaded\n\t\t\t\t\t\t        loadCaptcha();\n\t\t\t\t\t\t    } else if (!captchaLoaded) {\n\t\t\t\t\t\t        setTimeout(waitForCaptcha, 100); \/\/ try again\n\t\t\t\t\t\t    }\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\n\t\n\t\t\t\t\t\tfunction loadCaptcha() {\n\t\t\t\t\t    \tvar refreshBtn = document.getElementById(\"refresh-captcha\");\n\t\t\t\t\t\t    var questionBox = document.getElementById(\"captcha-question\");\n\t\t\t\t\t\t    var answerHidden = document.getElementById(\"captcha_ans_hidden\");\n\t\t\t\t\t\t    var answerInput = document.getElementById(\"captcha_answer\");\n\t\t\t\t\t\t    \n\t\t\t\t\t        fetch(\"\/wp-admin\/admin-ajax.php\", {\n\t\t\t\t\t        method: \"POST\",\n\t\t\t\t\t        headers: { \"Content-Type\": \"application\/x-www-form-urlencoded\" },\n\t\t\t\t\t        body: \"action=refresh_captcha\"\n\t\t\t\t\t        })\n\t\t\t\t\t        .then(response => response.json())\n\t\t\t\t\t        .then(data => {\n\t\t\t\t\t        if (data.success) {\n\t\t\t\t\t            questionBox.textContent = data.data.question;\n\t\t\t\t\t            answerHidden.value = data.data.answer; \/\/ store answer\n\t\t\t\t\t            answerInput.value = \"\"; \/\/ reset input\n\t\t\t\t\t        }\n\t\t\t\t\t        });\n\t\t\t\t\t    }\n\n\t\t\t\t\t\tfunction setlandingformdata(response)\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\tif(response.indexOf(\"FORMERRORFOUND\") != -1)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tresponse_new = response.split(\"FORMERRORFOUND\").join(\"\");\n\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-error-msg\").innerHTML=response_new;\n\t\t\t\t\t\t\t}else if(response.indexOf(\"MasterAccount\") != -1)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tresponse_new = response.split(\"MasterAccount\").join(\"\");\n\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-error-msg\").innerHTML=response_new;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\t\t\t\t\t\n\t\t\t\t\t\t\t\tjQuery(\"#lpl-form-panel\").html(response);\n\t\t\t\t\t\t\t\tif(jQuery(\"#lpl-form-panel #dayphone\")) { jQuery(\"#lpl-form-panel #dayphone\").mask(\"(999) 999-9999\", {placeholder:\"X\"});} if(jQuery(\"#lpl-form-panel #evephone\")) { jQuery(\"#lpl-form-panel #evephone\").mask(\"(999) 999-9999\", {placeholder:\"X\"});} if(jQuery(\"#lpl-form-panel #celphone\")) { jQuery(\"#lpl-form-panel #celphone\").mask(\"(999) 999-9999\", {placeholder:\"X\"});}\t\n\t\t\t\t\n\t\t\t\t\t\t\t\tjQuery(\"#lpl-form-panel\").find(\"script\").each(function(i) {\n\t\t\t\t\t\t\t\t\teval(jQuery(this).text());\n\t\t\t\t\t\t\t\t});\t\t\t\t\n\t\t\t\t\t\t\t\tjQuery(\"#lpl-form-panel\").find(\"div#frmlocation-error-msg\").html(errmsg);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tloadCaptcha();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction checklandingjsloaded(data, textStatus, jqxhr)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(textStatus==\"success\" && jqxhr.status==\"200\") {}\n\t\t\t\t\t\t\telse {alert(\"Form was not loaded properly\");}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction checkFldValuezip(fld_Typ,fld_Name,fld_Msg,flg_zip)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar fld_Val = \"\";\n\t\t\t\t\t\t\tif(document.getElementById(\"zipstart\")) {fld_Val = document.getElementById(\"zipstart\").value;}\n\t\t\t\t\t\t\tif(fld_Val==\"\") {alert(\"Please Enter \"+fld_Msg);}\n\t\t\t\t\t\t\tvar tmp_alert \t = \"\";\n\t\t\t\t\t\t\tvar flgValidInvalidInput = 0;\t\n\t\t\t\t\t\t\tvar flgFldProVal = 0;\t\n\t\t\t\t\t\t\tvar strToChk\t = fld_Name+\",\"+fld_Msg+\",\";\n\t\t\t\t\t\t\tvar homeurl = \"\/\/\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar collegeallstar = 0;\n\t\t\t\t\t\t\tif(homeurl == \"\/\/www.collegeallstar.com\")\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tcollegeallstar = 1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar country =(document.getElementById(\"loc_country\")) ? document.getElementById(\"loc_country\").value : \"\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(fld_Name == \"\"){\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(fld_Val.trim()!=\"\")\n\t\t\t\t\t\t\t{\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(country == \"canada\")\n\t\t\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\t\t\t\/*if((fld_Val.indexOf(\" \")==-1) || (fld_Val.length!=7))\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\ttmp_alert=tmp_alert+\"Please enter Valid Postal Code eg. A0A 1J0\" \\n\";\n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"masterdropdownpanel\").style.display = \"none\";\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").removeClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").addClass(\"err-skip\");\n\t\t\t\t\t\t\t\t\t\talert(tmp_alert); return false;\n\t\t\t\t\t\t\t\t\t}*\/\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\treg = \/^\\d{5}$\/;\n\t\t\t\t\t\t\t\t\tif(reg.test(fld_Val) == false){\n\t\t\t\t\t\t\t\t\t\ttmp_alert=tmp_alert+\"Please Enter Valid \"+fld_Msg+\" \\n\";\n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"masterdropdownpanel\").style.display = \"none\";\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").removeClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").addClass(\"err-skip\");\n\t\t\t\t\t\t\t\t\t\talert(tmp_alert); return false;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(tmp_alert == \"\")\t\t\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").removeClass(\"err-skip\");\n\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tlocationidshid = (document.getElementById(\"locationidshid\")) ? document.getElementById(\"locationidshid\").value : \"\";\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tzipcodes = fld_Val.trim(); \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(country == \"canada\")\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif(zipcodes.indexOf(\" \") == -1 && country ==\"canada\")\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tzip = zipcodes[0]+zipcodes[1]+zipcodes[2]+\" \"+zipcodes[3]+zipcodes[4]+zipcodes[5];    \t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tjQuery(\"#zipstart\").val(zip);\n\t\t\t\t\t\t\t\t\t\tzipcodes = zip;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\turl=getdataloc+\"task=ajx_landingform_zips_locs&zips=\"+zipcodes+\"&locids=\"+locationidshid+\"&country=\"+country;\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"\";\n\t\t\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\ttype: \"GET\",\n\t\t\t\t\t\t\t\t\t\turl: url,\n\t\t\t\t\t\t\t\t\t\tasync: false,\n                                        cache: false,\n\t\t\t\t\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\t\t\t\t\tif(response==\"\" || response== -1)\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"masterdropdownpanel\").style.display = \"none\";\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tif(country==\"canada\"){\n\t\t\t\t\t\t\t\t\t\t\t\t\talert(\"Sorry, your Postal code is not accepted by this location.\\n\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"locset\").value=0;\n\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"ziptemp\").value=\"\";\n\t\t\t\t\t\t\t\t\t\t\t    }else{\t\t\n\t\t\t\t\t\t\t\t\t\t\t    \n\t\t\t\t\t\t\t\t\t\t\t\t\tif(collegeallstar)\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar confirmredirect = confirm(\"Sorry, your zip code is not accepted by this location.\\nFind a location that matches your zip code by clicking OK below.\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"locset\").value=0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"ziptemp\").value=\"\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(confirmredirect)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twindow.location.href = homeurl;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconsole.log('HERE1');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\talert(\"Sorry, your zip code is not accepted.\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"locset\").value=0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"ziptemp\").value=\"\";\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"master_dropdown\").innerHTML = response;\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"masterdropdownpanel\").style.display = \"\";\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"locset\").value=0;\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"ziptemp\").value=zipcodes;\n\t\t\t\t\t\t\t\t\t\t\t\tvar malength = jQuery(\"#master_dropdown\").children(\"option\").length;\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tif(malength==2)\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tmaselval = jQuery(\"#master_dropdown option:eq(1)\").val();\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(maselval!=\"\")\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#master_dropdown\").val(maselval);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowloclanding();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\terror: function (jqXHR, textStatus, errorThrown) {\n\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"masterdropdownpanel\").style.display = \"none\";\n\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"ziptemp\").value=\"\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction showloclanding()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar locationstring =  window.location; \n\t\t\t\t\t\t\tvar zipstart = (document.getElementById(\"zipstart\")) ? document.getElementById(\"zipstart\").value : \"\";\n\t\t\t\t\t\t\tzipstr = (zipstart!=\"\") ? \"&zip=\"+zipstart : \"\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t zipstr  = zipstr.replace(\" \",\"$\");\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tlocationstring = window.location.href.replace(window.location.hash, \"\" );\t\n\t\t\t\t\t\t\tlocid = (document.getElementById(\"master_dropdown\")) ? document.getElementById(\"master_dropdown\").value : \"\";\t\n\t\t\t\t\t\t\tif(locid==\"\") {alert(\"Please Select Location\"); return false;}\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(window.location.href.indexOf(\"?\") != -1)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\twindow.location = locationstring+\"&locId=\" + locid+zipstr+\"#lpl-form-panel\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\twindow.location = locationstring+\"?locId=\" + locid+zipstr+\"#lpl-form-panel\";\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tjQuery(window).load(function () {\n\t\t\t\t\t\tvar country =(document.getElementById(\"loc_country\")) ? document.getElementById(\"loc_country\").value : \"\";\n\t\t\t\t\t\tif(zip!=\"\")\n\t\t\t\t\t\t{\n\t\t\t\t\t\t  if(zip.indexOf(\" \") == -1 && country ==\"canada\")\n\t\t\t\t\t\t  {\n\t\t\t\t\t\t\t\tzip = zip[0]+zip[1]+zip[2]+\" \"+zip[3]+zip[4]+zip[5];    \t\t\t\t\t\t\n\t\t\t\t\t\t\t\tjQuery(\"#zip\").val(zip);\n\t\t\t\t\t\t   }\n                        }\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(zip!=\"\") { jQuery(\"#zip\").val(zip);}\n\t\t\t\t\t\tif(catg!=\"\") { jQuery(\"#frmcategory\").val(catg);}\n\t\t\t\t\t\tif(subcatg!=\"\") { jQuery(\"#frmsubcategory\").val(subcatg);}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(dmsid)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tgetdmsdetails(dmsid);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(zip){\n\t\t\t\t\t\t\tpopulateCitySt(zip);\n\t\t\t\t\t\t\tpopulateprograms(zip);\n\t\t\t\t\t\t\tjQuery(\"#zip\").trigger(\"change\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/***** Function to load location on selecting it from location dropdown (Added By Ritesh) ********\/ \n\t\t\t\t\t\t\tjQuery(\"#master_dropdown\").change(function() \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"locset\").value=1;\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\tvar locationstring =  window.location; \n\t\t\t\t\t\t\t\t\t\tvar zipstart = (document.getElementById(\"zipstart\")) ? document.getElementById(\"zipstart\").value : \"\";\n\t\t\t\t\t\t\t\t\t\tzipstr = (zipstart!=\"\") ? \"&zip=\"+zipstart : \"\";\n\t\t\t\t\t\t\t\t\t\tlocationstring = window.location.href.replace(window.location.hash, \"\" );\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tif(window.location.href.indexOf(\"?\") != -1)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twindow.location = locationstring+\"&locId=\" + jQuery(this).val()+zipstr+\"#lpl-form-panel\";\n\t\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twindow.location = locationstring+\"?locId=\" + jQuery(this).val()+zipstr+\"#lpl-form-panel\";\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tjQuery(\"#zip\").change(function()\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tvar landingzip = jQuery(this).val();\n\t\t\t\t\t\t\t\tvar homeurl = \"\/\/\";\n\t\t\t\t\t\t\t\tvar collegeallstar = 0;\n\t\t\t\t\t\t\t\tif(homeurl == \"\/\/www.collegeallstar.com\")\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcollegeallstar = 1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar tmp_error = \"\";\n\t\t\t\t\t\t\t\tvar country = (document.getElementById(\"loc_country\")) ? document.getElementById(\"loc_country\").value : \"\";\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(landingzip.trim()!=\"\")\n\t\t\t\t\t\t\t\t{\t\t\t\n\t\t\t\t\t\t\t\t\treg = \/^\\d{5}$\/;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tif(country!=\"canada\")\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif(reg.test(landingzip) == false)\n\t\t\t\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\t\ttmp_error = \"error\";\t\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif(jQuery(\"#zip\").val().indexOf(\" \") == -1 && country ==\"canada\")\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tzip = jQuery(\"#zip\").val();\n\t\t\t\t\t\t\t\t\t\t\tzip = zip[0]+zip[1]+zip[2]+\" \"+zip[3]+zip[4]+zip[5];    \t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").val(zip);\n\t\t\t\t\t\t\t\t\t\t\tlandingzip = zip;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tif((jQuery(\"#zip\").val().indexOf(\" \")==-1) || (jQuery(\"#zip\").val().length!=7))\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\talert(\"Please enter Valid Postal Code eg. A0A 1J0.\");\t\n\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"zip\").value=\"\";\n\t\t\t\t\t\t\t\t\t\t\ttmp_error = \"error\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tif(tmp_error == \"\")\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"\";\t\n\t\t\t\t\t\t\t\t\tlocationidshid = (document.getElementById(\"locationval\")) ? document.getElementById(\"locationval\").value : \"\";\t\n\t\t\t\t\t\t\t\t\turl=getdataloc+\"task=ajx_landingform_zips_locs&zips=\"+landingzip+\"&locids=\"+locationidshid+\"&country=\"+country;\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\ttype: \"GET\",\n\t\t\t\t\t\t\t\t\t\t\turl: url,\n\t\t\t\t\t\t\t\t\t\t\tasync: false,\n\t\t\t\t\t\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tif(response==\"\" || response== -1)\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(country == \"canada\"){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talert(\"Sorry, your postal code is not accepted by this location.\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"zip\").value=\"\";\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").removeClass(\"valid-input\");\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").addClass(\"err-skip\");\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(collegeallstar)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar confirmredirects = confirm(\"Sorry, your zip code is not accepted by this location.\\nFind a location that matches your zip code by clicking OK below.\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(confirmredirects)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twindow.location.href = homeurl;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"zip\").value=\"\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").removeClass(\"valid-input\");\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").addClass(\"err-skip\");\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconsole.log('HERE2');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talert(\"Sorry, your zip code is not accepted.\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"zip\").value=\"\";\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").removeClass(\"valid-input\");\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").addClass(\"err-skip\");\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tpopulateprograms(landingzip);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\terror: function (jqXHR, textStatus, errorThrown) {document.getElementById(\"lpl-show-loader\").style.display=\"none\";}\n\t\t\t\t\t\t\t\t\t\t});\t\t\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(zip){\n\t\t\t\t\t\t\t\tjQuery(\"#zip\").trigger(\"change\"); \/\/ zipcode checking after page load\n\t\t\t\t\t\t\t}\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction getdmsdetails(dmsid) \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"\";\n\t\t\t\t\t\t\turl=getdataloc+\"task=dmsdetailsfetch&dmsid=\"+dmsid;\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\ttype: \"GET\",\n\t\t\t\t\t\t\t\t\t\t\turl: url,\n\t\t\t\t\t\t\t\t\t\t\tasync: false,\n\t\t\t\t\t\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\t\tif(response==\"\" || response== -1)\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tresponseArr = response.split(\"#$#\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tdmsfirstname = \tresponseArr[0];\n\t\t\t\t\t\t\t\t\t\t\t\tdmslastname = \tresponseArr[1];\n\t\t\t\t\t\t\t\t\t\t\t\tdmsphone = \tresponseArr[2];\n\t\t\t\t\t\t\t\t\t\t\t\tdmsemail = \tresponseArr[3];\n\t\t\t\t\t\t\t\t\t\t\t\tdmsaddress = \tresponseArr[4];\n\t\t\t\t\t\t\t\t\t\t\t\tdmsgrdyear = \tresponseArr[5];\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#zip\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#firstname\").val(dmsfirstname);\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#firstname\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#lastname\").val(dmslastname);\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#lastname\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#dayphone\").val(dmsphone);\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#dayphone\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#email\").val(dmsemail);\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#email\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#street\").val(dmsaddress);\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#street\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#state\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(jQuery(\"#gradyear\"))\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#gradyear\").val(dmsgrdyear);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(jQuery(\"#gradyear\").val())\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#gradyear\").addClass(\"valid-input\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\"#gradyear\").prop(\"selectedIndex\", 0);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\terror: function (jqXHR, textStatus, errorThrown) {document.getElementById(\"lpl-show-loader\").style.display=\"none\";}\n\t\t\t\t\t\t\t\t\t\t});\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction populateprograms(zipcodes)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlocationidshid = (document.getElementById(\"locationval\")) ? document.getElementById(\"locationval\").value : \"\";\t\n\t\t\t\t\t\t\tvar country = (document.getElementById(\"loc_country\")) ? document.getElementById(\"loc_country\").value : \"\";\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(locationidshid)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\turl=getdataloc+\"task=ajx_landingform_programs&zips=\"+zipcodes+\"&locids=\"+locationidshid+\"&country=\"+country;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"\";\n\t\t\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\t\t\t\t\ttype: \"GET\",\n\t\t\t\t\t\t\t\t\t\t\turl: url,\n\t\t\t\t\t\t\t\t\t\t\tasync: false,\n\t\t\t\t\t\t\t\t\t\t\tcache: false,\n\t\t\t\t\t\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\t\t\t\t\t\tif(response==\"1\")\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(country == \"canada\"){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\talert(\"Sorry, No program is avaialble in your postal code.\\n\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"selection\").innerHTML = \"<option value=\\\"\\\">No program available for the postal code<\/option>\";\n\t\t\t\t\t\t\t\t\t\t\t\t    }else\n\t\t\t\t\t\t\t\t\t\t\t\t    {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar confirmredirect = confirm(\"Sorry, No program is avaialble in your zipcode.\\nFind a location that matches your zip code by clicking OK below.\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"selection\").innerHTML = \"<option value=\\\"\\\">No program available for the zipcode<\/option>\";\n\t\t\t\t\t\t\t\t\t\t\t\t    }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(confirmredirect)\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twindow.location.href = homeurl;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tassign_value_from_url();\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tvar selectionelement =  document.getElementById(\"selection\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (typeof(selectionelement) != \"undefined\" && selectionelement != null)\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t  document.getElementById(\"selection\").innerHTML = response;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\terror: function (jqXHR, textStatus, errorThrown) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\talert(\"error occured\");\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"lpl-show-loader\").style.display=\"none\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\t\n\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction submit_master()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tziptemp = document.getElementById(\"ziptemp\").value;\n\t\t\t\t\t\t\tzipstart = document.getElementById(\"zipstart\").value;\n\t\t\t\t\t\t\tvar country =(document.getElementById(\"loc_country\")) ? document.getElementById(\"loc_country\").value : \"\";\n\t\t\t\t\t\t\tif(zipstart==\"\")\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif(country!=\"canada\")\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\talert(\"Please Enter Zip Code\");return false;\n\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\talert(\"Please Enter Postal Code\");return false;\n\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(zipstart!=ziptemp)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tcheckFldValuezip(\"numeric\",\"zip\",\"Zip Code\",\"1\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif(ziptemp!=\"\") { showloclanding(); }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t<script async type=\"text\/javascript\" src=\"https:\/\/seal.godaddy.com\/getSeal?sealID=a22k7Cgs9lo2ni7LiFvCaA66ZdsoYdIDaJzOaBy6TBiCkCXIJQSSp67WZXWk\"><\/script><script type=\"text\/javascript\">\n\t\t\t\tadroll_adv_id = \"2GUWTTDMKBD67NBAZPEKEL\";\n\t\t\t\tadroll_pix_id = \"AXF4QM7NYZCU7OOIHTHUCC\";\n\n\t\t\t\t(function () {\n\t\t\t\t\tvar _onload = function(){\n\t\t\t\t\t\tif (document.readyState && !\/loaded|complete\/.test(document.readyState)){setTimeout(_onload, 10);return}\n\t\t\t\t\t\tif (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return}\n\t\t\t\t\t\tvar scr = document.createElement(\"script\");\n\t\t\t\t\t\tvar host = ((\"https:\" == document.location.protocol) ? \"https:\/\/s.adroll.com\" : \"http:\/\/a.adroll.com\");\n\t\t\t\t\t\tscr.setAttribute(\"async\", \"true\");\n\t\t\t\t\t\tscr.type = \"text\/javascript\";\n\t\t\t\t\t\tscr.src = host + \"\/j\/roundtrip.js\";\n\t\t\t\t\t\t((document.getElementsByTagName(\"head\") || [null])[0] ||\n\t\t\t\t\t\t\tdocument.getElementsByTagName(\"script\")[0].parentNode).appendChild(scr);\n\t\t\t\t\t};\n\t\t\t\t\tif (window.addEventListener) {window.addEventListener(\"load\", _onload, false);}\n\t\t\t\t\telse {window.attachEvent(\"onload\", _onload)}\n\t\t\t\t}());\n\t\t\t<\/script><\/div><script>jQuery(document).ready(function(){\n\n\n\t\tif(jQuery(\"#zipstart\").val()==\"\")\n\t\t{\n\t\t\tvar zip\t\t\t=\t\"\";\n\t\t\t\n\t\t\tif(zip!=\"\"){\n\t\t\t   jQuery(\"#zipstart\").val(zip);\n\t\t\t   \/\/jQuery(\"#zipstart\").trigger(\"blur\");\n\t\t\t   jQuery(\"#zipstart\").addClass(\"valid-input\");\n\t\t\t}\n\t\t}\n});function assign_value_from_url(){\n\tvar firstname\t=\t\"\";\n\tvar lastname\t=\t\"\";\n\tvar dayphone\t=\t\"\";\n\tvar celphone\t=\t\"\";\n\tvar email\t\t=\t\"\";\n\tvar street\t\t=\t\"\";\n\tvar city\t\t=\t\"\";\n\tvar state\t\t=\t\"\";\n\tvar zip\t\t\t=\t\"\";\n\tvar gradyear\t=\t\"\";\n\tif(zip!=\"\"){\n\t\t\/\/jQuery(\"#zip\").trigger(\"blur\");\t\t\n\t\tif(jQuery(\"#zip\").val() != \"\"){\n\t\t\tjQuery(\"#zip\").addClass(\"valid-input\");\n\t\t}\n\t}\n\n\tif(firstname!=\"\"){\n\t\tjQuery(\"#firstname\").val(firstname);\n\t\tjQuery(\"#firstname\").trigger(\"blur\");\n\t}\n\n\tif(lastname!=\"\"){\n\t\tjQuery(\"#lastname\").val(lastname);\n\t\tjQuery(\"#lastname\").trigger(\"blur\");\n\t}\n\tif(dayphone!=\"\"){\n\t\tjQuery(\"#dayphone\").val(dayphone);\n\t\tjQuery(\"#dayphone\").trigger(\"blur\");\n\t}\n\n\tif(celphone!=\"\"){\n\t\tjQuery(\"#celphone\").val(celphone);\n\t\tjQuery(\"#celphone\").trigger(\"blur\");\n\t}\n\n\tif(email!=\"\"){\n\t\tjQuery(\"#email\").val(email);\n\t\tjQuery(\"#email\").trigger(\"blur\");\n\t}\n\n\tif(street!=\"\"){\n\t\tjQuery(\"#street\").val(street);\n\t\tjQuery(\"#street\").trigger(\"blur\");\n\t}\n\tif(state!=\"\"){\n\t\tjQuery(\"#zip\").attr(\"data-state\",state);\n\t\t\/\/check_selected_by_val(\"state\",state);\n\t}\n\tif(city!=\"\"){\n\t\tjQuery(\"#zip\").attr(\"data-city\",city);\n\t\t\/\/check_selected_by_val(\"city\",city);\n\t\t\n\t}\n\t\n\tif(gradyear!=\"\"){\n\t\tcheck_selected_by_val(\"gradyear\",gradyear);\n\t}\n\t\n\t\n\t\n}\n\nfunction check_selected_by_val(selected_id,data_value)\n{\n\tif(typeof data_value !== typeof undefined && data_value!=\"\"){\n\tvar is_valid=0;\n\tjQuery(\"#\"+selected_id+\" option\").each(function(){\n\t\n\t\t\t\t\t\t\t\t\t\t\tvar txt_elem=jQuery(this).text();\n\t\t\t\t\t\t\t\t\t\t\tvar val_elem=jQuery(this).val();\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tif(data_value==txt_elem)\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(this).attr(\"selected\", \"selected\");\n\t\t\t\t\t\t\t\t\t\t\t\tis_valid=1;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\telse if(data_value==val_elem){\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(this).attr(\"selected\", \"selected\");\n\t\t\t\t\t\t\t\t\t\t\t\tis_valid=1;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\tif(is_valid==1){\t\t\t\t\t\t\t\t\n\t\t\tjQuery(\"#\"+selected_id).addClass(\"valid-input\");\n\t\t}\n\t}\n}\n<\/script>\n<\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"margin-left: auto;margin-right: auto;margin-top:20px;width:100%;\"><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_2_3 2_3 fusion-two-third fusion-column-last\" style=\"width:66.666666666667%;width:calc(66.666666666667% - ( ( 4% ) * 0.66666666666667 ) );margin-top:0px;margin-bottom:20px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"margin-left: auto;margin-right: auto;margin-top:4px;margin-bottom:25px;width:100%;\"><div class=\"fusion-separator-border sep-shadow\" style=\"background:radial-gradient(ellipse at 50% -50% , #e0dede 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);background:-webkit-radial-gradient(ellipse at 50% -50% , #e0dede 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);background:-moz-radial-gradient(ellipse at 50% -50% , #e0dede 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);background:-o-radial-gradient(ellipse at 50% -50% , #e0dede 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);\"><\/div><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-text fusion-text-5\"><h2><strong>Regent University Online<br \/>\n<\/strong><\/h2>\n<\/div><div class=\"fusion-text fusion-text-6\"><p>Regent University prepares students with the knowledge to excel and the faith to live with purpose. Our 20,000 alumni, from more than 110 countries, are changing the world as accomplished professionals. Named a top-15 school nationally for online bachelor&#8217;s programs (U.S. News &amp; World Report, 2015), Regent is among the most affordable undergraduate Christian colleges (CCCU 2015). Fully accredited, challenging programs are available online and on campus. New classes begin every eight weeks.<\/p>\n<p><strong>Earn Your Degree From Anywhere in the World<\/strong><\/p>\n<p>Regent&#8217;s online undergraduate and graduate degree programs provide students with a best-in-class education grounded in faith. Through Regent&#8217;s convenient online learning structure, you can pursue your studies while you continue to work or serve right where you&#8217;re at and gain the degree you need to advance in your calling and career.<\/p>\n<p><strong>Why Choose Regent Online?<\/strong><\/p>\n<p>Through Regent Online, you&#8217;ll receive instruction from the same prestigious professors who teach at our campus. Learn more about Regent&#8217;s exceptional academic standards and see why <em>U.S. News &amp; World Report<\/em> ranked the university in the Top 25 for Online Bachelor&#8217;s Degree Programs in 2014 and why Regent is recognized nationally as one of only 22 universities in the U.S. to receive an &#8220;A&#8221; rating by the American Council of Trustees and Alumni.<\/p>\n<\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"margin-left: auto;margin-right: auto;margin-top:10px;width:100%;\"><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-3 hundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom: 0px;margin-top: 0px;border-width: 0px 0px 0px 0px;border-color:#eae9e9;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-3 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last fusion-column-no-min-height\" style=\"margin-top:0px;margin-bottom:0px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"fusion-text fusion-text-7\"><\/div><div class=\"fusion-text fusion-text-8\"><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-fullwidth.fusion-builder-row-3 { overflow:visible; }<\/style><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"blank.php","meta":{"_acf_changed":false,"inline_featured_image":false,"_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0,"footnotes":""},"class_list":["post-13010","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages\/13010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/comments?post=13010"}],"version-history":[{"count":6,"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages\/13010\/revisions"}],"predecessor-version":[{"id":32795,"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages\/13010\/revisions\/32795"}],"wp:attachment":[{"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/media?parent=13010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}