		
	
		{"id":22267,"date":"2018-07-09T18:15:08","date_gmt":"2018-07-09T18:15:08","guid":{"rendered":"http:\/\/multisite.leadmanagesystem.com\/landingpage\/brightwood-college-udc-copy\/"},"modified":"2021-08-12T11:06:54","modified_gmt":"2021-08-12T11:06:54","slug":"virginia-college","status":"publish","type":"page","link":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/virginia-college\/","title":{"rendered":"Virginia College &#8211; UDC"},"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\/2017\/12\/stc-header-13-1.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\/2018\/07\/Virginia-1.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>Welcome to Virginia College!<\/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;\">Start your future 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;\">A new career is closer than you think!<\/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 = \"2752,2754,2755,2757,2753,2792,2793,2794,2795,2796,2814,2811,2797,2798,2799,2800,2801,2813,2802,2803,2804,2812,2805,2806,2807,2808,2809,2810,2815,2816,2817,2818\";\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\"><section class=\"hero\" aria-label=\"Why Choose Virginia College?\">\n<div class=\"content\">\n<div class=\"hero-text\">\n<div class=\"hero-text-inner\">\n<h1>Why Choose Virginia College?<\/h1>\n<div class=\"rich-container\">\n<p>The goal of Virginia College lies in its responsibility to its students, the technical and business communities, and the general citizenry. We have a long history of offering new direction to students.<\/p>\n<h2>A Direct Path to Your New Career<\/h2>\n<p>Our Associate\u2019s, Degree programs, Diplomas and Certificates emphasize a fast and focused method without sacrificing the quality education that students and employers demand. We constantly research the job market to make certain we are offering those career programs in which job growth is expected. We proudly offer a direct path to your new career! To find out more, complete the Request More Information form or call and talk with an Admissions Representative at the Virginia College campus nearest you.<\/p>\n<h2>Career Placement Assistance<\/h2>\n<p>Once you have the degree, do you know how to begin your new career? Maybe you\u2019re looking for a new profession, or just want to move ahead in the one that you already have. At Virginia College, our Career Development Specialists stand ready to assist you in obtaining or enhancing your career wherever you are&#8230;helping you with job placement services well beyond graduation! To find out more, complete the Request for More Information or call and talk with an Admissions Representative at the Virginia College campus nearest you.<\/p>\n<\/div>\n<h3>Limited Class Sizes<\/h3>\n<p>Virginia College specializes in individual attention for our students. We have found the best learning environment includes smaller classes, taught by instructors with real-world experience. Many of them work in the fields in which they teach so they bring real-life situations to the classroom and lab. We know many of our students have had varying experiences with attending college in the past. We make sure you are not just a number, and take a personal interest in your success! To find out more, complete the Request More Information form or call and talk with an Admissions Representative at the Virginia College campus nearest you.<\/p>\n<h3>Personalized Service Centered Around the <em>Student<\/em><\/h3>\n<p>Ever feel like some schools are more concerned with the faculty than the student? At Virginia College, we\u2019re focused on student satisfaction and outcomes. Personalized service and attention from professionals in academics, technology, financial planning and Career Development Specialists surround the students to help them achieve their specific goals. To find out more, complete the Request More Information form or call and talk with an Admissions Representative at the Virginia College campus nearest you.<\/p>\n<h3>Instructors with Real-World Experience<\/h3>\n<p>Instructors from Virginia College are typically real-world professionals with many years of experience in their career fields. These are the people you want to learn from to be a success in the same career. At Virginia College, our instructors don\u2019t just teach a course, they LIVE it. To find out more, complete the Request More Information form or call and talk with an Admissions Representative at the Virginia College campus nearest you.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\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-sep-clear\"><\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"margin-left: auto;margin-right: auto;margin-top:0px;width:100%;\"><\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-text fusion-text-6\"><p><strong>Accreditation<\/strong><\/p>\n<p>Virginia College is accredited by the Accrediting Council for Independent Colleges and Schools (ACICS) to award diplomas and associate\u2019s degrees.<\/p>\n<p>ACICS is listed as a nationally recognized accrediting agency by the United States Department of Education and is recognized by the <a title=\"\" href=\"http:\/\/www.chea.org\" target=\"_blank\" rel=\"noopener\">Council for Higher Education Accreditation<\/a>. ACICS may be contacted at:<\/p>\n<p>750 First Street NE, Suite 980<br \/>\nWashington, DC 20002-4241<\/p>\n<p>For more information on Virginia College\u2019s accrediting agency, please visit the <a title=\"\" href=\"http:\/\/www.acics.org\" target=\"_blank\" rel=\"noopener\">ACICS web site<\/a>.<\/p>\n<\/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-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":7,"comment_status":"closed","ping_status":"closed","template":"blank.php","meta":{"_acf_changed":false,"inline_featured_image":false,"_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0,"footnotes":""},"class_list":["post-22267","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages\/22267","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=22267"}],"version-history":[{"count":7,"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages\/22267\/revisions"}],"predecessor-version":[{"id":32604,"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/pages\/22267\/revisions\/32604"}],"wp:attachment":[{"href":"https:\/\/multisite.leadmanagesystem.com\/landingpage\/wp-json\/wp\/v2\/media?parent=22267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}