 
            function Validate()
            {
                var lbError = false;
                var lsAlert = '';
                var loFocusControl;

                var loListcampus_Allied_Medical_Technical_Institute_Campus = document.getElementById('_tdmcontrolcampus_Allied_Medical_Technical_Institute_Campus');
if(loListcampus_Allied_Medical_Technical_Institute_Campus.selectedIndex == 0 || loListcampus_Allied_Medical_Technical_Institute_Campus.selectedIndex == -1)
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for Preferred Location.');
loFocusControl = fnValidateFocus(loFocusControl, loListcampus_Allied_Medical_Technical_Institute_Campus);
lbError = true;
}
				var jsArrcampus_Allied_Medical_Technical_Institute_Campus = new Array(2);
				jsArrcampus_Allied_Medical_Technical_Institute_Campus[0] = new Array(2);
				jsArrcampus_Allied_Medical_Technical_Institute_Campus[0][0] = "Forty Fort, PA";
				jsArrcampus_Allied_Medical_Technical_Institute_Campus[0][1] = "1";
				jsArrcampus_Allied_Medical_Technical_Institute_Campus[1] = new Array(2);
				jsArrcampus_Allied_Medical_Technical_Institute_Campus[1][0] = "Scranton, PA";
				jsArrcampus_Allied_Medical_Technical_Institute_Campus[1][1] = "1";

				var loTxtcampus_Allied_Medical_Technical_Institute_Campus = document.getElementById('_tdmcontrolcampus_Allied_Medical_Technical_Institute_Campus');
				ctr = document.frmContactForm._tdmcontrolcampus_Allied_Medical_Technical_Institute_Campus.selectedIndex;
				if (ctr > 0){
				 if (jsArrcampus_Allied_Medical_Technical_Institute_Campus[ctr - 1][0] == document.frmContactForm._tdmcontrolcampus_Allied_Medical_Technical_Institute_Campus.options[ctr].text && jsArrcampus_Allied_Medical_Technical_Institute_Campus[ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for Preferred Location.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtcampus_Allied_Medical_Technical_Institute_Campus);
				lbError = true;
				}}
var loListprograminterest_Allied_Medical_Technical_Institute_Programs = document.getElementById('_tdmcontrolprograminterest_Allied_Medical_Technical_Institute_Programs');
if (loListprograminterest_Allied_Medical_Technical_Institute_Programs.selectedIndex == -1 || loListprograminterest_Allied_Medical_Technical_Institute_Programs[loListprograminterest_Allied_Medical_Technical_Institute_Programs.selectedIndex].value == '')
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for Program of Interest.');
loFocusControl = fnValidateFocus(loFocusControl, loListprograminterest_Allied_Medical_Technical_Institute_Programs);
lbError = true;
}
Array.prototype.addDim = function(x,y,z) {
 for (var i = 0; i < x; i++) {
  this[i] = []
  for (var j = 0; j < y; j++) {
     this[i][j] = []
      for (var k = 0; k < z; k++) {
      this[i][j][k] = []
     }}}
 return this
}

				var jsArrprograminterest_Allied_Medical_Technical_Institute_Programs = [].addDim(2, 19, 0)

				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][0][0] = "Associates in Specialized Technology Degree - Medical Assistant Technician";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][0][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][1][0] = "Business Administration/Accounting";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][1][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][2][0] = "Criminal Justice";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][2][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][3][0] = "ECG/Phlebotomy/Lab Assistant";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][3][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][4][0] = "Electrical Trades";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][4][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][5][0] = "Heating, Ventilation, Air Conditioning, and Refrigeration";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][5][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][6][0] = "Massage Therapist";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][6][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][7][0] = "Medical Assistant";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][7][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][8][0] = "Medical Transcriptionist/Insurance Billing Specialist";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][8][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][9][0] = "Paralegal";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][9][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][10][0] = "Pharmacy Technician";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[0][10][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][0][0] = "Associates in Specialized Technology Degree - Medical Assistant Technician";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][0][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][1][0] = "Dental Assistant";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][1][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][2][0] = "Dental Office Coordinator";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][2][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][3][0] = "Digital Graphic and Multimedia Design";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][3][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][4][0] = "ECG/Phlebotomy/Lab Assistant";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][4][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][5][0] = "Massage Therapist";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][5][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][6][0] = "Medical Assistant";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][6][1] = "1";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][7][0] = "Medical Transcriptionist/Insurance Billing Specialist";
				jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[1][7][1] = "1";

				var loTxtprograminterest_Allied_Medical_Technical_Institute_Programs = document.getElementById('_tdmcontrolprograminterest_Allied_Medical_Technical_Institute_Programs');
				ctrParent = document.frmContactForm._tdmcontrolcampus_Allied_Medical_Technical_Institute_Campus.selectedIndex;
				ctr = document.frmContactForm._tdmcontrolprograminterest_Allied_Medical_Technical_Institute_Programs.selectedIndex;
				if (ctr > 0){
				 if (jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[ctrParent-1][ctr - 1][0] == document.frmContactForm._tdmcontrolprograminterest_Allied_Medical_Technical_Institute_Programs.options[ctr].text && jsArrprograminterest_Allied_Medical_Technical_Institute_Programs[ctrParent-1][ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for Program of Interest.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtprograminterest_Allied_Medical_Technical_Institute_Programs);
				lbError = true;
				}}
var loTxtfirstname_First_Name_50 = document.getElementById('_tdmcontrolfirstname_First_Name_50');
if(jsTrim(loTxtfirstname_First_Name_50.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into First Name.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtfirstname_First_Name_50);
lbError = true;
}
var loTxtlastname_Last_Name_50 = document.getElementById('_tdmcontrollastname_Last_Name_50');
if(jsTrim(loTxtlastname_Last_Name_50.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into Last Name.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtlastname_Last_Name_50);
lbError = true;
}
var loTxtstreet1_Address_1_50 = document.getElementById('_tdmcontrolstreet1_Address_1_50');
if(jsTrim(loTxtstreet1_Address_1_50.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into Address 1.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtstreet1_Address_1_50);
lbError = true;
}
var loTxtcity_City_50 = document.getElementById('_tdmcontrolcity_City_50');
if(jsTrim(loTxtcity_City_50.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into City.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtcity_City_50);
lbError = true;
}
var loListstate = document.getElementById('_tdmcontrolstate');
if(loListstate.selectedIndex == 0 || loListstate.selectedIndex == -1)
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for State.');
loFocusControl = fnValidateFocus(loFocusControl, loListstate);
lbError = true;
}
				var jsArrstate = new Array(51);
				jsArrstate[0] = new Array(2);
				jsArrstate[0][0] = "Alabama";
				jsArrstate[0][1] = "1";
				jsArrstate[1] = new Array(2);
				jsArrstate[1][0] = "Alaska";
				jsArrstate[1][1] = "1";
				jsArrstate[2] = new Array(2);
				jsArrstate[2][0] = "Arizona";
				jsArrstate[2][1] = "1";
				jsArrstate[3] = new Array(2);
				jsArrstate[3][0] = "Arkansas";
				jsArrstate[3][1] = "1";
				jsArrstate[4] = new Array(2);
				jsArrstate[4][0] = "California";
				jsArrstate[4][1] = "1";
				jsArrstate[5] = new Array(2);
				jsArrstate[5][0] = "Colorado";
				jsArrstate[5][1] = "1";
				jsArrstate[6] = new Array(2);
				jsArrstate[6][0] = "Connecticut";
				jsArrstate[6][1] = "1";
				jsArrstate[7] = new Array(2);
				jsArrstate[7][0] = "Delaware";
				jsArrstate[7][1] = "1";
				jsArrstate[8] = new Array(2);
				jsArrstate[8][0] = "District of Columbia";
				jsArrstate[8][1] = "1";
				jsArrstate[9] = new Array(2);
				jsArrstate[9][0] = "Florida";
				jsArrstate[9][1] = "1";
				jsArrstate[10] = new Array(2);
				jsArrstate[10][0] = "Georgia";
				jsArrstate[10][1] = "1";
				jsArrstate[11] = new Array(2);
				jsArrstate[11][0] = "Hawaii";
				jsArrstate[11][1] = "1";
				jsArrstate[12] = new Array(2);
				jsArrstate[12][0] = "Idaho";
				jsArrstate[12][1] = "1";
				jsArrstate[13] = new Array(2);
				jsArrstate[13][0] = "Illinois";
				jsArrstate[13][1] = "1";
				jsArrstate[14] = new Array(2);
				jsArrstate[14][0] = "Indiana";
				jsArrstate[14][1] = "1";
				jsArrstate[15] = new Array(2);
				jsArrstate[15][0] = "Iowa";
				jsArrstate[15][1] = "1";
				jsArrstate[16] = new Array(2);
				jsArrstate[16][0] = "Kansas";
				jsArrstate[16][1] = "1";
				jsArrstate[17] = new Array(2);
				jsArrstate[17][0] = "Kentucky";
				jsArrstate[17][1] = "1";
				jsArrstate[18] = new Array(2);
				jsArrstate[18][0] = "Louisiana";
				jsArrstate[18][1] = "1";
				jsArrstate[19] = new Array(2);
				jsArrstate[19][0] = "Maine";
				jsArrstate[19][1] = "1";
				jsArrstate[20] = new Array(2);
				jsArrstate[20][0] = "Maryland";
				jsArrstate[20][1] = "1";
				jsArrstate[21] = new Array(2);
				jsArrstate[21][0] = "Massachusetts";
				jsArrstate[21][1] = "1";
				jsArrstate[22] = new Array(2);
				jsArrstate[22][0] = "Michigan";
				jsArrstate[22][1] = "1";
				jsArrstate[23] = new Array(2);
				jsArrstate[23][0] = "Minnesota";
				jsArrstate[23][1] = "1";
				jsArrstate[24] = new Array(2);
				jsArrstate[24][0] = "Mississippi";
				jsArrstate[24][1] = "1";
				jsArrstate[25] = new Array(2);
				jsArrstate[25][0] = "Missouri";
				jsArrstate[25][1] = "1";
				jsArrstate[26] = new Array(2);
				jsArrstate[26][0] = "Montana";
				jsArrstate[26][1] = "1";
				jsArrstate[27] = new Array(2);
				jsArrstate[27][0] = "Nebraska";
				jsArrstate[27][1] = "1";
				jsArrstate[28] = new Array(2);
				jsArrstate[28][0] = "Nevada";
				jsArrstate[28][1] = "1";
				jsArrstate[29] = new Array(2);
				jsArrstate[29][0] = "New Hampshire";
				jsArrstate[29][1] = "1";
				jsArrstate[30] = new Array(2);
				jsArrstate[30][0] = "New Jersey";
				jsArrstate[30][1] = "1";
				jsArrstate[31] = new Array(2);
				jsArrstate[31][0] = "New Mexico";
				jsArrstate[31][1] = "1";
				jsArrstate[32] = new Array(2);
				jsArrstate[32][0] = "New York";
				jsArrstate[32][1] = "1";
				jsArrstate[33] = new Array(2);
				jsArrstate[33][0] = "North Carolina";
				jsArrstate[33][1] = "1";
				jsArrstate[34] = new Array(2);
				jsArrstate[34][0] = "North Dakota";
				jsArrstate[34][1] = "1";
				jsArrstate[35] = new Array(2);
				jsArrstate[35][0] = "Ohio";
				jsArrstate[35][1] = "1";
				jsArrstate[36] = new Array(2);
				jsArrstate[36][0] = "Oklahoma";
				jsArrstate[36][1] = "1";
				jsArrstate[37] = new Array(2);
				jsArrstate[37][0] = "Oregon";
				jsArrstate[37][1] = "1";
				jsArrstate[38] = new Array(2);
				jsArrstate[38][0] = "Pennsylvania";
				jsArrstate[38][1] = "1";
				jsArrstate[39] = new Array(2);
				jsArrstate[39][0] = "Rhode Island";
				jsArrstate[39][1] = "1";
				jsArrstate[40] = new Array(2);
				jsArrstate[40][0] = "South Carolina";
				jsArrstate[40][1] = "1";
				jsArrstate[41] = new Array(2);
				jsArrstate[41][0] = "South Dakota";
				jsArrstate[41][1] = "1";
				jsArrstate[42] = new Array(2);
				jsArrstate[42][0] = "Tennessee";
				jsArrstate[42][1] = "1";
				jsArrstate[43] = new Array(2);
				jsArrstate[43][0] = "Texas";
				jsArrstate[43][1] = "1";
				jsArrstate[44] = new Array(2);
				jsArrstate[44][0] = "Utah";
				jsArrstate[44][1] = "1";
				jsArrstate[45] = new Array(2);
				jsArrstate[45][0] = "Vermont";
				jsArrstate[45][1] = "1";
				jsArrstate[46] = new Array(2);
				jsArrstate[46][0] = "Virginia";
				jsArrstate[46][1] = "1";
				jsArrstate[47] = new Array(2);
				jsArrstate[47][0] = "Washington";
				jsArrstate[47][1] = "1";
				jsArrstate[48] = new Array(2);
				jsArrstate[48][0] = "West Virginia";
				jsArrstate[48][1] = "1";
				jsArrstate[49] = new Array(2);
				jsArrstate[49][0] = "Wisconsin";
				jsArrstate[49][1] = "1";
				jsArrstate[50] = new Array(2);
				jsArrstate[50][0] = "Wyoming";
				jsArrstate[50][1] = "1";

				var loTxtstate = document.getElementById('_tdmcontrolstate');
				ctr = document.frmContactForm._tdmcontrolstate.selectedIndex;
				if (ctr > 0){
				 if (jsArrstate[ctr - 1][0] == document.frmContactForm._tdmcontrolstate.options[ctr].text && jsArrstate[ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for State.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtstate);
				lbError = true;
				}}
var loTxtzip_Zip_Code_5 = document.getElementById('_tdmcontrolzip_Zip_Code_5');
if(jsTrim(loTxtzip_Zip_Code_5.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into Zip Code.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtzip_Zip_Code_5);
lbError = true;
}
var loTxtemail_Email_Address_50 = document.getElementById('_tdmcontrolemail_Email_Address_50');
if(jsTrim(loTxtemail_Email_Address_50.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into E-mail Address.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtemail_Email_Address_50);
lbError = true;
}
var loTxtphone1_main_phone_12 = document.getElementById('_tdmcontrolphone1_main_phone_12');
if(jsTrim(loTxtphone1_main_phone_12.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into Main Phone (ie xxx-xxx-xxxx).');
loFocusControl = fnValidateFocus(loFocusControl, loTxtphone1_main_phone_12);
lbError = true;
}
var loListHS_Grad_GED_1948_2008 = document.getElementById('_tdmcontrolHS_Grad_GED_1948_2008');
if(loListHS_Grad_GED_1948_2008.selectedIndex == 0 || loListHS_Grad_GED_1948_2008.selectedIndex == -1)
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for Year of High School Graduation or GED Completed.');
loFocusControl = fnValidateFocus(loFocusControl, loListHS_Grad_GED_1948_2008);
lbError = true;
}
				var jsArrHS_Grad_GED_1948_2008 = new Array(61);
				jsArrHS_Grad_GED_1948_2008[0] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[0][0] = "2008";
				jsArrHS_Grad_GED_1948_2008[0][1] = "1";
				jsArrHS_Grad_GED_1948_2008[1] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[1][0] = "2007";
				jsArrHS_Grad_GED_1948_2008[1][1] = "1";
				jsArrHS_Grad_GED_1948_2008[2] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[2][0] = "2006";
				jsArrHS_Grad_GED_1948_2008[2][1] = "1";
				jsArrHS_Grad_GED_1948_2008[3] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[3][0] = "2005";
				jsArrHS_Grad_GED_1948_2008[3][1] = "1";
				jsArrHS_Grad_GED_1948_2008[4] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[4][0] = "2004";
				jsArrHS_Grad_GED_1948_2008[4][1] = "1";
				jsArrHS_Grad_GED_1948_2008[5] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[5][0] = "2003";
				jsArrHS_Grad_GED_1948_2008[5][1] = "1";
				jsArrHS_Grad_GED_1948_2008[6] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[6][0] = "2002";
				jsArrHS_Grad_GED_1948_2008[6][1] = "1";
				jsArrHS_Grad_GED_1948_2008[7] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[7][0] = "2001";
				jsArrHS_Grad_GED_1948_2008[7][1] = "1";
				jsArrHS_Grad_GED_1948_2008[8] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[8][0] = "2000";
				jsArrHS_Grad_GED_1948_2008[8][1] = "1";
				jsArrHS_Grad_GED_1948_2008[9] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[9][0] = "1999";
				jsArrHS_Grad_GED_1948_2008[9][1] = "1";
				jsArrHS_Grad_GED_1948_2008[10] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[10][0] = "1998";
				jsArrHS_Grad_GED_1948_2008[10][1] = "1";
				jsArrHS_Grad_GED_1948_2008[11] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[11][0] = "1997";
				jsArrHS_Grad_GED_1948_2008[11][1] = "1";
				jsArrHS_Grad_GED_1948_2008[12] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[12][0] = "1996";
				jsArrHS_Grad_GED_1948_2008[12][1] = "1";
				jsArrHS_Grad_GED_1948_2008[13] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[13][0] = "1995";
				jsArrHS_Grad_GED_1948_2008[13][1] = "1";
				jsArrHS_Grad_GED_1948_2008[14] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[14][0] = "1994";
				jsArrHS_Grad_GED_1948_2008[14][1] = "1";
				jsArrHS_Grad_GED_1948_2008[15] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[15][0] = "1993";
				jsArrHS_Grad_GED_1948_2008[15][1] = "1";
				jsArrHS_Grad_GED_1948_2008[16] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[16][0] = "1992";
				jsArrHS_Grad_GED_1948_2008[16][1] = "1";
				jsArrHS_Grad_GED_1948_2008[17] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[17][0] = "1991";
				jsArrHS_Grad_GED_1948_2008[17][1] = "1";
				jsArrHS_Grad_GED_1948_2008[18] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[18][0] = "1990";
				jsArrHS_Grad_GED_1948_2008[18][1] = "1";
				jsArrHS_Grad_GED_1948_2008[19] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[19][0] = "1989";
				jsArrHS_Grad_GED_1948_2008[19][1] = "1";
				jsArrHS_Grad_GED_1948_2008[20] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[20][0] = "1988";
				jsArrHS_Grad_GED_1948_2008[20][1] = "1";
				jsArrHS_Grad_GED_1948_2008[21] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[21][0] = "1987";
				jsArrHS_Grad_GED_1948_2008[21][1] = "1";
				jsArrHS_Grad_GED_1948_2008[22] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[22][0] = "1986";
				jsArrHS_Grad_GED_1948_2008[22][1] = "1";
				jsArrHS_Grad_GED_1948_2008[23] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[23][0] = "1985";
				jsArrHS_Grad_GED_1948_2008[23][1] = "1";
				jsArrHS_Grad_GED_1948_2008[24] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[24][0] = "1984";
				jsArrHS_Grad_GED_1948_2008[24][1] = "1";
				jsArrHS_Grad_GED_1948_2008[25] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[25][0] = "1983";
				jsArrHS_Grad_GED_1948_2008[25][1] = "1";
				jsArrHS_Grad_GED_1948_2008[26] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[26][0] = "1982";
				jsArrHS_Grad_GED_1948_2008[26][1] = "1";
				jsArrHS_Grad_GED_1948_2008[27] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[27][0] = "1981";
				jsArrHS_Grad_GED_1948_2008[27][1] = "1";
				jsArrHS_Grad_GED_1948_2008[28] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[28][0] = "1980";
				jsArrHS_Grad_GED_1948_2008[28][1] = "1";
				jsArrHS_Grad_GED_1948_2008[29] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[29][0] = "1979";
				jsArrHS_Grad_GED_1948_2008[29][1] = "1";
				jsArrHS_Grad_GED_1948_2008[30] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[30][0] = "1978";
				jsArrHS_Grad_GED_1948_2008[30][1] = "1";
				jsArrHS_Grad_GED_1948_2008[31] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[31][0] = "1977";
				jsArrHS_Grad_GED_1948_2008[31][1] = "1";
				jsArrHS_Grad_GED_1948_2008[32] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[32][0] = "1976";
				jsArrHS_Grad_GED_1948_2008[32][1] = "1";
				jsArrHS_Grad_GED_1948_2008[33] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[33][0] = "1975";
				jsArrHS_Grad_GED_1948_2008[33][1] = "1";
				jsArrHS_Grad_GED_1948_2008[34] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[34][0] = "1974";
				jsArrHS_Grad_GED_1948_2008[34][1] = "1";
				jsArrHS_Grad_GED_1948_2008[35] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[35][0] = "1973";
				jsArrHS_Grad_GED_1948_2008[35][1] = "1";
				jsArrHS_Grad_GED_1948_2008[36] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[36][0] = "1972";
				jsArrHS_Grad_GED_1948_2008[36][1] = "1";
				jsArrHS_Grad_GED_1948_2008[37] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[37][0] = "1971";
				jsArrHS_Grad_GED_1948_2008[37][1] = "1";
				jsArrHS_Grad_GED_1948_2008[38] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[38][0] = "1970";
				jsArrHS_Grad_GED_1948_2008[38][1] = "1";
				jsArrHS_Grad_GED_1948_2008[39] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[39][0] = "1969";
				jsArrHS_Grad_GED_1948_2008[39][1] = "1";
				jsArrHS_Grad_GED_1948_2008[40] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[40][0] = "1968";
				jsArrHS_Grad_GED_1948_2008[40][1] = "1";
				jsArrHS_Grad_GED_1948_2008[41] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[41][0] = "1967";
				jsArrHS_Grad_GED_1948_2008[41][1] = "1";
				jsArrHS_Grad_GED_1948_2008[42] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[42][0] = "1966";
				jsArrHS_Grad_GED_1948_2008[42][1] = "1";
				jsArrHS_Grad_GED_1948_2008[43] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[43][0] = "1965";
				jsArrHS_Grad_GED_1948_2008[43][1] = "1";
				jsArrHS_Grad_GED_1948_2008[44] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[44][0] = "1964";
				jsArrHS_Grad_GED_1948_2008[44][1] = "1";
				jsArrHS_Grad_GED_1948_2008[45] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[45][0] = "1963";
				jsArrHS_Grad_GED_1948_2008[45][1] = "1";
				jsArrHS_Grad_GED_1948_2008[46] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[46][0] = "1962";
				jsArrHS_Grad_GED_1948_2008[46][1] = "1";
				jsArrHS_Grad_GED_1948_2008[47] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[47][0] = "1961";
				jsArrHS_Grad_GED_1948_2008[47][1] = "1";
				jsArrHS_Grad_GED_1948_2008[48] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[48][0] = "1960";
				jsArrHS_Grad_GED_1948_2008[48][1] = "1";
				jsArrHS_Grad_GED_1948_2008[49] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[49][0] = "1959";
				jsArrHS_Grad_GED_1948_2008[49][1] = "1";
				jsArrHS_Grad_GED_1948_2008[50] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[50][0] = "1958";
				jsArrHS_Grad_GED_1948_2008[50][1] = "1";
				jsArrHS_Grad_GED_1948_2008[51] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[51][0] = "1957";
				jsArrHS_Grad_GED_1948_2008[51][1] = "1";
				jsArrHS_Grad_GED_1948_2008[52] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[52][0] = "1956";
				jsArrHS_Grad_GED_1948_2008[52][1] = "1";
				jsArrHS_Grad_GED_1948_2008[53] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[53][0] = "1955";
				jsArrHS_Grad_GED_1948_2008[53][1] = "1";
				jsArrHS_Grad_GED_1948_2008[54] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[54][0] = "1954";
				jsArrHS_Grad_GED_1948_2008[54][1] = "1";
				jsArrHS_Grad_GED_1948_2008[55] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[55][0] = "1953";
				jsArrHS_Grad_GED_1948_2008[55][1] = "1";
				jsArrHS_Grad_GED_1948_2008[56] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[56][0] = "1952";
				jsArrHS_Grad_GED_1948_2008[56][1] = "1";
				jsArrHS_Grad_GED_1948_2008[57] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[57][0] = "1951";
				jsArrHS_Grad_GED_1948_2008[57][1] = "1";
				jsArrHS_Grad_GED_1948_2008[58] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[58][0] = "1950";
				jsArrHS_Grad_GED_1948_2008[58][1] = "1";
				jsArrHS_Grad_GED_1948_2008[59] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[59][0] = "1949";
				jsArrHS_Grad_GED_1948_2008[59][1] = "1";
				jsArrHS_Grad_GED_1948_2008[60] = new Array(2);
				jsArrHS_Grad_GED_1948_2008[60][0] = "1948";
				jsArrHS_Grad_GED_1948_2008[60][1] = "1";

				var loTxtHS_Grad_GED_1948_2008 = document.getElementById('_tdmcontrolHS_Grad_GED_1948_2008');
				ctr = document.frmContactForm._tdmcontrolHS_Grad_GED_1948_2008.selectedIndex;
				if (ctr > 0){
				 if (jsArrHS_Grad_GED_1948_2008[ctr - 1][0] == document.frmContactForm._tdmcontrolHS_Grad_GED_1948_2008.options[ctr].text && jsArrHS_Grad_GED_1948_2008[ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for Year of High School Graduation or GED Completed.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtHS_Grad_GED_1948_2008);
				lbError = true;
				}}


                if(lbError)
                {
                    if (typeof loFocusControl != 'undefined')
                    {
                        loFocusControl.focus();
                    }
                    if (jsTrim(lsAlert) != '')
                    {
                        window.alert(lsAlert);
                    }
                    return(false);
                }
                else
                {
                	document.getElementById('btnSubmit').disabled = true;
                	document.getElementById('btnSubmit').value = "Processing...";
                	document.frmContactForm.submit();
                    return(true);
                }

            }

            function fnValidateAlert(pbError, psMessage)
            {
              if (pbError)
              {
                return("\n" + psMessage);
              }
              else
              {
                return("" + psMessage);
              }
            }

            function fnValidateFocus(poControlFocus, poControl)
            {
              if (typeof poControlFocus == "undefined")
              {
                return(poControl);
              }
              else
              {
                return(poControlFocus);
              }
            }

            function jsTrim(sf_string)
            {
              sf_string = sf_string.replace(/ +/g, " ");
              sf_string = sf_string.replace(/^ /, "");
              sf_string = sf_string.replace(/ $/, "");
              return(sf_string);
            }

            function fnValidateMail(psValue)
            {
                var reEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
                if (reEmail.test(psValue))
                {
                    return (true);
                }
                else
                {
                    return (false);
                }
            }

            function fnValidatePhone(psValue)
            {
                //var rePhone = /^(\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}$/;
                var rePhone = /^(?:\([2-9]\d{2}\)\ ?|[2-9]\d{2}(?:\-?|\ ?))[2-9]\d{2}[- ]?\d{4}$/
                if (rePhone.test(psValue))
                {
                    return (true);
                }
                else
                {
                    return (false);
                }
            }

            function fnValidateZipCode(psValue)
            {
                var reZipCode = /^\d{5}((-|\s)?\d{4})?$/;
                if (reZipCode.test(psValue))
                {
                    return (true);
                }
                else
                {
                    return (false);
                }
            }

            function fnChangeList (strChildID, elParent) {

            	var elChild = document.getElementById(strChildID);

				var arrListValue = new Array();

				//arrListValue[0] = new Array("A", "B", "C");
				//arrListValue[1] = new Array("E", "F", "G");

				arrListValue[0] = new Array("","Associates in Specialized Technology Degree - Medical Assistant Technician","Business Administration/Accounting","Criminal Justice","ECG/Phlebotomy/Lab Assistant","Electrical Trades","Heating, Ventilation, Air Conditioning, and Refrigeration","Massage Therapist","Medical Assistant","Medical Transcriptionist/Insurance Billing Specialist","Paralegal","Pharmacy Technician");
arrListValue[1] = new Array("","Associates in Specialized Technology Degree - Medical Assistant Technician","Dental Assistant","Dental Office Coordinator","Digital Graphic and Multimedia Design","ECG/Phlebotomy/Lab Assistant","Massage Therapist","Medical Assistant","Medical Transcriptionist/Insurance Billing Specialist");


				var intParentIndex = elParent.selectedIndex;

				elChild.options.length = 0;

				if (intParentIndex > 0) {

					if (arrSelectedValue = arrListValue[intParentIndex-1] ) {
					    
					    //For initial Please Select
					    optionItem = new Option( "Please Select", "",  false, false);
						elChild.options[elChild.length] = optionItem;
						
						for (var i=1; i < arrSelectedValue.length; i++) {
							optionItem = new Option( arrSelectedValue[i], arrSelectedValue[i],  false, false);
							elChild.options[elChild.length] = optionItem;
						}

					}

				}

            }

			function getCookieValue (cookieName) {
			  var exp = new RegExp (escape(cookieName) + "=([^;]+)");
			  if (exp.test (document.cookie + ";")) {
				exp.exec (document.cookie + ";");
				return unescape(RegExp.$1);
			  }
			  else return "";
			}

			function writeCookie(cookieName,cookieValue,days) {
				if (days) {
					var date = new Date();
					date.setTime(date.getTime()+(days*24*60*60*1000));
					var expires = "; expires="+date.toGMTString();
				}
				else var expires = "";
				document.cookie = cookieName+"="+cookieValue+expires+"; path=/";
			}

		function fnValidateSpecialChar(psValue)
		{
			var iChars = "!@#$%^&*()+=-[]\\\';,./{}|\":<>?";
			var strCheck = "0";
    		for (var i = 0; i < psValue.length; i++)
				{
					if (iChars.indexOf(psValue.charAt(i)) != -1) 
						{
  							//return false;
							strCheck = "1";
	  					}
				 }
				 if (strCheck == "1")
					return false;
				 else
					 return true;

		}



