 
            function Validate()
            {
                var lbError = false;
                var lsAlert = '';
                var loFocusControl;

                var loListcampus_American_Career_Institute = document.getElementById('_tdmcontrolcampus_American_Career_Institute');
if(loListcampus_American_Career_Institute.selectedIndex == 0 || loListcampus_American_Career_Institute.selectedIndex == -1)
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for Select Campus.');
loFocusControl = fnValidateFocus(loFocusControl, loListcampus_American_Career_Institute);
lbError = true;
}
				var jsArrcampus_American_Career_Institute = new Array(5);
				jsArrcampus_American_Career_Institute[0] = new Array(2);
				jsArrcampus_American_Career_Institute[0][0] = "Baltimore, MD";
				jsArrcampus_American_Career_Institute[0][1] = "1";
				jsArrcampus_American_Career_Institute[1] = new Array(2);
				jsArrcampus_American_Career_Institute[1][0] = "Braintree, MA";
				jsArrcampus_American_Career_Institute[1][1] = "1";
				jsArrcampus_American_Career_Institute[2] = new Array(2);
				jsArrcampus_American_Career_Institute[2][0] = "Cambridge, MA";
				jsArrcampus_American_Career_Institute[2][1] = "1";
				jsArrcampus_American_Career_Institute[3] = new Array(2);
				jsArrcampus_American_Career_Institute[3][0] = "Framingham, MA";
				jsArrcampus_American_Career_Institute[3][1] = "1";
				jsArrcampus_American_Career_Institute[4] = new Array(2);
				jsArrcampus_American_Career_Institute[4][0] = "Woburn, MA";
				jsArrcampus_American_Career_Institute[4][1] = "1";

				var loTxtcampus_American_Career_Institute = document.getElementById('_tdmcontrolcampus_American_Career_Institute');
				ctr = document.frmContactForm._tdmcontrolcampus_American_Career_Institute.selectedIndex;
				if (ctr > 0){
				 if (jsArrcampus_American_Career_Institute[ctr - 1][0] == document.frmContactForm._tdmcontrolcampus_American_Career_Institute.options[ctr].text && jsArrcampus_American_Career_Institute[ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for Select Campus.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtcampus_American_Career_Institute);
				lbError = true;
				}}
var loListprograminterest_American_Career_Institute = document.getElementById('_tdmcontrolprograminterest_American_Career_Institute');
if (loListprograminterest_American_Career_Institute.selectedIndex == -1 || loListprograminterest_American_Career_Institute[loListprograminterest_American_Career_Institute.selectedIndex].value == '')
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for Program of Interest.');
loFocusControl = fnValidateFocus(loFocusControl, loListprograminterest_American_Career_Institute);
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_American_Career_Institute = [].addDim(5, 49, 0)

				jsArrprograminterest_American_Career_Institute[0][0][0] = "Digital Gaming Design";
				jsArrprograminterest_American_Career_Institute[0][0][1] = "1";
				jsArrprograminterest_American_Career_Institute[0][1][0] = "Digital Multimedia Design";
				jsArrprograminterest_American_Career_Institute[0][1][1] = "1";
				jsArrprograminterest_American_Career_Institute[0][2][0] = "Medical Coding and Billing";
				jsArrprograminterest_American_Career_Institute[0][2][1] = "1";
				jsArrprograminterest_American_Career_Institute[0][3][0] = "PC and Network Design with Security";
				jsArrprograminterest_American_Career_Institute[0][3][1] = "1";
				jsArrprograminterest_American_Career_Institute[0][4][0] = "test program";
				jsArrprograminterest_American_Career_Institute[0][4][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][0][0] = "Dental Assisting";
				jsArrprograminterest_American_Career_Institute[1][0][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][1][0] = "Digital Gaming Design";
				jsArrprograminterest_American_Career_Institute[1][1][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][2][0] = "Digital Multimedia Design";
				jsArrprograminterest_American_Career_Institute[1][2][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][3][0] = "Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[1][3][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][4][0] = "Graphic and Web Design";
				jsArrprograminterest_American_Career_Institute[1][4][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][5][0] = "Graphic Design";
				jsArrprograminterest_American_Career_Institute[1][5][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][6][0] = "Medical Coding and Billing";
				jsArrprograminterest_American_Career_Institute[1][6][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][7][0] = "Oracle Administration and Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[1][7][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][8][0] = "Oracle Database Administration";
				jsArrprograminterest_American_Career_Institute[1][8][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][9][0] = "PC and Network Design with Security";
				jsArrprograminterest_American_Career_Institute[1][9][1] = "1";
				jsArrprograminterest_American_Career_Institute[1][10][0] = "PC and Networking Administration";
				jsArrprograminterest_American_Career_Institute[1][10][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][0][0] = "Dental Assisting";
				jsArrprograminterest_American_Career_Institute[2][0][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][1][0] = "Digital Gaming Design";
				jsArrprograminterest_American_Career_Institute[2][1][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][2][0] = "Digital Multimedia Design";
				jsArrprograminterest_American_Career_Institute[2][2][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][3][0] = "Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[2][3][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][4][0] = "Graphic and Web Design";
				jsArrprograminterest_American_Career_Institute[2][4][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][5][0] = "Graphic Design";
				jsArrprograminterest_American_Career_Institute[2][5][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][6][0] = "Medical Coding and Billing";
				jsArrprograminterest_American_Career_Institute[2][6][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][7][0] = "Oracle Administration and Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[2][7][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][8][0] = "Oracle Database Administration";
				jsArrprograminterest_American_Career_Institute[2][8][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][9][0] = "PC and Network Design with Security";
				jsArrprograminterest_American_Career_Institute[2][9][1] = "1";
				jsArrprograminterest_American_Career_Institute[2][10][0] = "PC and Networking Administration";
				jsArrprograminterest_American_Career_Institute[2][10][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][0][0] = "Dental Assisting";
				jsArrprograminterest_American_Career_Institute[3][0][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][1][0] = "Digital Gaming Design";
				jsArrprograminterest_American_Career_Institute[3][1][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][2][0] = "Digital Multimedia Design";
				jsArrprograminterest_American_Career_Institute[3][2][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][3][0] = "Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[3][3][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][4][0] = "Graphic and Web Design";
				jsArrprograminterest_American_Career_Institute[3][4][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][5][0] = "Graphic Design";
				jsArrprograminterest_American_Career_Institute[3][5][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][6][0] = "Medical Coding and Billing";
				jsArrprograminterest_American_Career_Institute[3][6][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][7][0] = "Oracle Administration and Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[3][7][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][8][0] = "Oracle Database Administration";
				jsArrprograminterest_American_Career_Institute[3][8][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][9][0] = "PC and Network Administration";
				jsArrprograminterest_American_Career_Institute[3][9][1] = "1";
				jsArrprograminterest_American_Career_Institute[3][10][0] = "PC and Network Design with Security";
				jsArrprograminterest_American_Career_Institute[3][10][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][0][0] = "Dental Assisting";
				jsArrprograminterest_American_Career_Institute[4][0][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][1][0] = "Digital Gaming Design";
				jsArrprograminterest_American_Career_Institute[4][1][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][2][0] = "Digital Multimedia Design";
				jsArrprograminterest_American_Career_Institute[4][2][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][3][0] = "Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[4][3][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][4][0] = "Graphic and Web Design";
				jsArrprograminterest_American_Career_Institute[4][4][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][5][0] = "Graphic Design";
				jsArrprograminterest_American_Career_Institute[4][5][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][6][0] = "Medical Coding and Billing";
				jsArrprograminterest_American_Career_Institute[4][6][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][7][0] = "Oracle Administration and Enterprise Solutions Developer";
				jsArrprograminterest_American_Career_Institute[4][7][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][8][0] = "Oracle Database Administration";
				jsArrprograminterest_American_Career_Institute[4][8][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][9][0] = "PC and Network Design with Security";
				jsArrprograminterest_American_Career_Institute[4][9][1] = "1";
				jsArrprograminterest_American_Career_Institute[4][10][0] = "PC and Networking Administration";
				jsArrprograminterest_American_Career_Institute[4][10][1] = "1";

				var loTxtprograminterest_American_Career_Institute = document.getElementById('_tdmcontrolprograminterest_American_Career_Institute');
				ctrParent = document.frmContactForm._tdmcontrolcampus_American_Career_Institute.selectedIndex;
				ctr = document.frmContactForm._tdmcontrolprograminterest_American_Career_Institute.selectedIndex;
				if (ctr > 0){
				 if (jsArrprograminterest_American_Career_Institute[ctrParent-1][ctr - 1][0] == document.frmContactForm._tdmcontrolprograminterest_American_Career_Institute.options[ctr].text && jsArrprograminterest_American_Career_Institute[ctrParent-1][ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for Program of Interest.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtprograminterest_American_Career_Institute);
				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_Street_Address_50 = document.getElementById('_tdmcontrolstreet1_Street_Address_50');
if(jsTrim(loTxtstreet1_Street_Address_50.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into Street Address.');
loFocusControl = fnValidateFocus(loFocusControl, loTxtstreet1_Street_Address_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_State_2_Letter_Abbreviation = document.getElementById('_tdmcontrolstate_State_2_Letter_Abbreviation');
if(loListstate_State_2_Letter_Abbreviation.selectedIndex == 0 || loListstate_State_2_Letter_Abbreviation.selectedIndex == -1)
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for State.');
loFocusControl = fnValidateFocus(loFocusControl, loListstate_State_2_Letter_Abbreviation);
lbError = true;
}
				var jsArrstate_State_2_Letter_Abbreviation = new Array(51);
				jsArrstate_State_2_Letter_Abbreviation[0] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[0][0] = "AK";
				jsArrstate_State_2_Letter_Abbreviation[0][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[1] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[1][0] = "AL";
				jsArrstate_State_2_Letter_Abbreviation[1][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[2] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[2][0] = "AR";
				jsArrstate_State_2_Letter_Abbreviation[2][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[3] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[3][0] = "AZ";
				jsArrstate_State_2_Letter_Abbreviation[3][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[4] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[4][0] = "CA";
				jsArrstate_State_2_Letter_Abbreviation[4][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[5] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[5][0] = "CO";
				jsArrstate_State_2_Letter_Abbreviation[5][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[6] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[6][0] = "CT";
				jsArrstate_State_2_Letter_Abbreviation[6][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[7] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[7][0] = "DC";
				jsArrstate_State_2_Letter_Abbreviation[7][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[8] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[8][0] = "DE";
				jsArrstate_State_2_Letter_Abbreviation[8][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[9] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[9][0] = "FL";
				jsArrstate_State_2_Letter_Abbreviation[9][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[10] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[10][0] = "GA";
				jsArrstate_State_2_Letter_Abbreviation[10][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[11] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[11][0] = "HI";
				jsArrstate_State_2_Letter_Abbreviation[11][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[12] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[12][0] = "IA";
				jsArrstate_State_2_Letter_Abbreviation[12][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[13] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[13][0] = "ID";
				jsArrstate_State_2_Letter_Abbreviation[13][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[14] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[14][0] = "IL";
				jsArrstate_State_2_Letter_Abbreviation[14][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[15] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[15][0] = "IN";
				jsArrstate_State_2_Letter_Abbreviation[15][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[16] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[16][0] = "KS";
				jsArrstate_State_2_Letter_Abbreviation[16][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[17] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[17][0] = "KY";
				jsArrstate_State_2_Letter_Abbreviation[17][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[18] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[18][0] = "LA";
				jsArrstate_State_2_Letter_Abbreviation[18][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[19] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[19][0] = "MA";
				jsArrstate_State_2_Letter_Abbreviation[19][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[20] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[20][0] = "MD";
				jsArrstate_State_2_Letter_Abbreviation[20][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[21] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[21][0] = "ME";
				jsArrstate_State_2_Letter_Abbreviation[21][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[22] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[22][0] = "MI";
				jsArrstate_State_2_Letter_Abbreviation[22][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[23] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[23][0] = "MN";
				jsArrstate_State_2_Letter_Abbreviation[23][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[24] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[24][0] = "MO";
				jsArrstate_State_2_Letter_Abbreviation[24][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[25] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[25][0] = "MS";
				jsArrstate_State_2_Letter_Abbreviation[25][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[26] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[26][0] = "MT";
				jsArrstate_State_2_Letter_Abbreviation[26][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[27] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[27][0] = "NC";
				jsArrstate_State_2_Letter_Abbreviation[27][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[28] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[28][0] = "ND";
				jsArrstate_State_2_Letter_Abbreviation[28][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[29] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[29][0] = "NE";
				jsArrstate_State_2_Letter_Abbreviation[29][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[30] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[30][0] = "NH";
				jsArrstate_State_2_Letter_Abbreviation[30][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[31] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[31][0] = "NJ";
				jsArrstate_State_2_Letter_Abbreviation[31][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[32] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[32][0] = "NM";
				jsArrstate_State_2_Letter_Abbreviation[32][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[33] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[33][0] = "NV";
				jsArrstate_State_2_Letter_Abbreviation[33][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[34] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[34][0] = "NY";
				jsArrstate_State_2_Letter_Abbreviation[34][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[35] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[35][0] = "OH";
				jsArrstate_State_2_Letter_Abbreviation[35][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[36] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[36][0] = "OK";
				jsArrstate_State_2_Letter_Abbreviation[36][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[37] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[37][0] = "OR";
				jsArrstate_State_2_Letter_Abbreviation[37][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[38] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[38][0] = "PA";
				jsArrstate_State_2_Letter_Abbreviation[38][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[39] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[39][0] = "RI";
				jsArrstate_State_2_Letter_Abbreviation[39][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[40] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[40][0] = "SC";
				jsArrstate_State_2_Letter_Abbreviation[40][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[41] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[41][0] = "SD";
				jsArrstate_State_2_Letter_Abbreviation[41][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[42] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[42][0] = "TN";
				jsArrstate_State_2_Letter_Abbreviation[42][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[43] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[43][0] = "TX";
				jsArrstate_State_2_Letter_Abbreviation[43][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[44] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[44][0] = "UT";
				jsArrstate_State_2_Letter_Abbreviation[44][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[45] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[45][0] = "VA";
				jsArrstate_State_2_Letter_Abbreviation[45][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[46] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[46][0] = "VT";
				jsArrstate_State_2_Letter_Abbreviation[46][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[47] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[47][0] = "WA";
				jsArrstate_State_2_Letter_Abbreviation[47][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[48] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[48][0] = "WI";
				jsArrstate_State_2_Letter_Abbreviation[48][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[49] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[49][0] = "WV";
				jsArrstate_State_2_Letter_Abbreviation[49][1] = "1";
				jsArrstate_State_2_Letter_Abbreviation[50] = new Array(2);
				jsArrstate_State_2_Letter_Abbreviation[50][0] = "WY";
				jsArrstate_State_2_Letter_Abbreviation[50][1] = "1";

				var loTxtstate_State_2_Letter_Abbreviation = document.getElementById('_tdmcontrolstate_State_2_Letter_Abbreviation');
				ctr = document.frmContactForm._tdmcontrolstate_State_2_Letter_Abbreviation.selectedIndex;
				if (ctr > 0){
				 if (jsArrstate_State_2_Letter_Abbreviation[ctr - 1][0] == document.frmContactForm._tdmcontrolstate_State_2_Letter_Abbreviation.options[ctr].text && jsArrstate_State_2_Letter_Abbreviation[ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for State.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxtstate_State_2_Letter_Abbreviation);
				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_Daytime_Phone_20 = document.getElementById('_tdmcontrolphone1_Daytime_Phone_20');
if(jsTrim(loTxtphone1_Daytime_Phone_20.value) == '')
{
lsAlert += fnValidateAlert(lbError, 'Please, enter a value into Daytime Phone (ie 123-456-7890).');
loFocusControl = fnValidateFocus(loFocusControl, loTxtphone1_Daytime_Phone_20);
lbError = true;
}
var loLisths_date_1952_2012 = document.getElementById('_tdmcontrolhs_date_1952_2012');
if(loLisths_date_1952_2012.selectedIndex == 0 || loLisths_date_1952_2012.selectedIndex == -1)
{
lsAlert += fnValidateAlert(lbError, 'Please select a value for Year of High School Graduation or GED Completed.');
loFocusControl = fnValidateFocus(loFocusControl, loLisths_date_1952_2012);
lbError = true;
}
				var jsArrhs_date_1952_2012 = new Array(61);
				jsArrhs_date_1952_2012[0] = new Array(2);
				jsArrhs_date_1952_2012[0][0] = "2012";
				jsArrhs_date_1952_2012[0][1] = "1";
				jsArrhs_date_1952_2012[1] = new Array(2);
				jsArrhs_date_1952_2012[1][0] = "2011";
				jsArrhs_date_1952_2012[1][1] = "1";
				jsArrhs_date_1952_2012[2] = new Array(2);
				jsArrhs_date_1952_2012[2][0] = "2010";
				jsArrhs_date_1952_2012[2][1] = "1";
				jsArrhs_date_1952_2012[3] = new Array(2);
				jsArrhs_date_1952_2012[3][0] = "2009";
				jsArrhs_date_1952_2012[3][1] = "1";
				jsArrhs_date_1952_2012[4] = new Array(2);
				jsArrhs_date_1952_2012[4][0] = "2008";
				jsArrhs_date_1952_2012[4][1] = "1";
				jsArrhs_date_1952_2012[5] = new Array(2);
				jsArrhs_date_1952_2012[5][0] = "2007";
				jsArrhs_date_1952_2012[5][1] = "1";
				jsArrhs_date_1952_2012[6] = new Array(2);
				jsArrhs_date_1952_2012[6][0] = "2006";
				jsArrhs_date_1952_2012[6][1] = "1";
				jsArrhs_date_1952_2012[7] = new Array(2);
				jsArrhs_date_1952_2012[7][0] = "2005";
				jsArrhs_date_1952_2012[7][1] = "1";
				jsArrhs_date_1952_2012[8] = new Array(2);
				jsArrhs_date_1952_2012[8][0] = "2004";
				jsArrhs_date_1952_2012[8][1] = "1";
				jsArrhs_date_1952_2012[9] = new Array(2);
				jsArrhs_date_1952_2012[9][0] = "2003";
				jsArrhs_date_1952_2012[9][1] = "1";
				jsArrhs_date_1952_2012[10] = new Array(2);
				jsArrhs_date_1952_2012[10][0] = "2002";
				jsArrhs_date_1952_2012[10][1] = "1";
				jsArrhs_date_1952_2012[11] = new Array(2);
				jsArrhs_date_1952_2012[11][0] = "2001";
				jsArrhs_date_1952_2012[11][1] = "1";
				jsArrhs_date_1952_2012[12] = new Array(2);
				jsArrhs_date_1952_2012[12][0] = "2000";
				jsArrhs_date_1952_2012[12][1] = "1";
				jsArrhs_date_1952_2012[13] = new Array(2);
				jsArrhs_date_1952_2012[13][0] = "1999";
				jsArrhs_date_1952_2012[13][1] = "1";
				jsArrhs_date_1952_2012[14] = new Array(2);
				jsArrhs_date_1952_2012[14][0] = "1998";
				jsArrhs_date_1952_2012[14][1] = "1";
				jsArrhs_date_1952_2012[15] = new Array(2);
				jsArrhs_date_1952_2012[15][0] = "1997";
				jsArrhs_date_1952_2012[15][1] = "1";
				jsArrhs_date_1952_2012[16] = new Array(2);
				jsArrhs_date_1952_2012[16][0] = "1996";
				jsArrhs_date_1952_2012[16][1] = "1";
				jsArrhs_date_1952_2012[17] = new Array(2);
				jsArrhs_date_1952_2012[17][0] = "1995";
				jsArrhs_date_1952_2012[17][1] = "1";
				jsArrhs_date_1952_2012[18] = new Array(2);
				jsArrhs_date_1952_2012[18][0] = "1994";
				jsArrhs_date_1952_2012[18][1] = "1";
				jsArrhs_date_1952_2012[19] = new Array(2);
				jsArrhs_date_1952_2012[19][0] = "1993";
				jsArrhs_date_1952_2012[19][1] = "1";
				jsArrhs_date_1952_2012[20] = new Array(2);
				jsArrhs_date_1952_2012[20][0] = "1992";
				jsArrhs_date_1952_2012[20][1] = "1";
				jsArrhs_date_1952_2012[21] = new Array(2);
				jsArrhs_date_1952_2012[21][0] = "1991";
				jsArrhs_date_1952_2012[21][1] = "1";
				jsArrhs_date_1952_2012[22] = new Array(2);
				jsArrhs_date_1952_2012[22][0] = "1990";
				jsArrhs_date_1952_2012[22][1] = "1";
				jsArrhs_date_1952_2012[23] = new Array(2);
				jsArrhs_date_1952_2012[23][0] = "1989";
				jsArrhs_date_1952_2012[23][1] = "1";
				jsArrhs_date_1952_2012[24] = new Array(2);
				jsArrhs_date_1952_2012[24][0] = "1988";
				jsArrhs_date_1952_2012[24][1] = "1";
				jsArrhs_date_1952_2012[25] = new Array(2);
				jsArrhs_date_1952_2012[25][0] = "1987";
				jsArrhs_date_1952_2012[25][1] = "1";
				jsArrhs_date_1952_2012[26] = new Array(2);
				jsArrhs_date_1952_2012[26][0] = "1986";
				jsArrhs_date_1952_2012[26][1] = "1";
				jsArrhs_date_1952_2012[27] = new Array(2);
				jsArrhs_date_1952_2012[27][0] = "1985";
				jsArrhs_date_1952_2012[27][1] = "1";
				jsArrhs_date_1952_2012[28] = new Array(2);
				jsArrhs_date_1952_2012[28][0] = "1984";
				jsArrhs_date_1952_2012[28][1] = "1";
				jsArrhs_date_1952_2012[29] = new Array(2);
				jsArrhs_date_1952_2012[29][0] = "1983";
				jsArrhs_date_1952_2012[29][1] = "1";
				jsArrhs_date_1952_2012[30] = new Array(2);
				jsArrhs_date_1952_2012[30][0] = "1982";
				jsArrhs_date_1952_2012[30][1] = "1";
				jsArrhs_date_1952_2012[31] = new Array(2);
				jsArrhs_date_1952_2012[31][0] = "1981";
				jsArrhs_date_1952_2012[31][1] = "1";
				jsArrhs_date_1952_2012[32] = new Array(2);
				jsArrhs_date_1952_2012[32][0] = "1980";
				jsArrhs_date_1952_2012[32][1] = "1";
				jsArrhs_date_1952_2012[33] = new Array(2);
				jsArrhs_date_1952_2012[33][0] = "1979";
				jsArrhs_date_1952_2012[33][1] = "1";
				jsArrhs_date_1952_2012[34] = new Array(2);
				jsArrhs_date_1952_2012[34][0] = "1978";
				jsArrhs_date_1952_2012[34][1] = "1";
				jsArrhs_date_1952_2012[35] = new Array(2);
				jsArrhs_date_1952_2012[35][0] = "1977";
				jsArrhs_date_1952_2012[35][1] = "1";
				jsArrhs_date_1952_2012[36] = new Array(2);
				jsArrhs_date_1952_2012[36][0] = "1976";
				jsArrhs_date_1952_2012[36][1] = "1";
				jsArrhs_date_1952_2012[37] = new Array(2);
				jsArrhs_date_1952_2012[37][0] = "1975";
				jsArrhs_date_1952_2012[37][1] = "1";
				jsArrhs_date_1952_2012[38] = new Array(2);
				jsArrhs_date_1952_2012[38][0] = "1974";
				jsArrhs_date_1952_2012[38][1] = "1";
				jsArrhs_date_1952_2012[39] = new Array(2);
				jsArrhs_date_1952_2012[39][0] = "1973";
				jsArrhs_date_1952_2012[39][1] = "1";
				jsArrhs_date_1952_2012[40] = new Array(2);
				jsArrhs_date_1952_2012[40][0] = "1972";
				jsArrhs_date_1952_2012[40][1] = "1";
				jsArrhs_date_1952_2012[41] = new Array(2);
				jsArrhs_date_1952_2012[41][0] = "1971";
				jsArrhs_date_1952_2012[41][1] = "1";
				jsArrhs_date_1952_2012[42] = new Array(2);
				jsArrhs_date_1952_2012[42][0] = "1970";
				jsArrhs_date_1952_2012[42][1] = "1";
				jsArrhs_date_1952_2012[43] = new Array(2);
				jsArrhs_date_1952_2012[43][0] = "1969";
				jsArrhs_date_1952_2012[43][1] = "1";
				jsArrhs_date_1952_2012[44] = new Array(2);
				jsArrhs_date_1952_2012[44][0] = "1968";
				jsArrhs_date_1952_2012[44][1] = "1";
				jsArrhs_date_1952_2012[45] = new Array(2);
				jsArrhs_date_1952_2012[45][0] = "1967";
				jsArrhs_date_1952_2012[45][1] = "1";
				jsArrhs_date_1952_2012[46] = new Array(2);
				jsArrhs_date_1952_2012[46][0] = "1966";
				jsArrhs_date_1952_2012[46][1] = "1";
				jsArrhs_date_1952_2012[47] = new Array(2);
				jsArrhs_date_1952_2012[47][0] = "1965";
				jsArrhs_date_1952_2012[47][1] = "1";
				jsArrhs_date_1952_2012[48] = new Array(2);
				jsArrhs_date_1952_2012[48][0] = "1964";
				jsArrhs_date_1952_2012[48][1] = "1";
				jsArrhs_date_1952_2012[49] = new Array(2);
				jsArrhs_date_1952_2012[49][0] = "1963";
				jsArrhs_date_1952_2012[49][1] = "1";
				jsArrhs_date_1952_2012[50] = new Array(2);
				jsArrhs_date_1952_2012[50][0] = "1962";
				jsArrhs_date_1952_2012[50][1] = "1";
				jsArrhs_date_1952_2012[51] = new Array(2);
				jsArrhs_date_1952_2012[51][0] = "1961";
				jsArrhs_date_1952_2012[51][1] = "1";
				jsArrhs_date_1952_2012[52] = new Array(2);
				jsArrhs_date_1952_2012[52][0] = "1960";
				jsArrhs_date_1952_2012[52][1] = "1";
				jsArrhs_date_1952_2012[53] = new Array(2);
				jsArrhs_date_1952_2012[53][0] = "1959";
				jsArrhs_date_1952_2012[53][1] = "1";
				jsArrhs_date_1952_2012[54] = new Array(2);
				jsArrhs_date_1952_2012[54][0] = "1958";
				jsArrhs_date_1952_2012[54][1] = "1";
				jsArrhs_date_1952_2012[55] = new Array(2);
				jsArrhs_date_1952_2012[55][0] = "1957";
				jsArrhs_date_1952_2012[55][1] = "1";
				jsArrhs_date_1952_2012[56] = new Array(2);
				jsArrhs_date_1952_2012[56][0] = "1956";
				jsArrhs_date_1952_2012[56][1] = "1";
				jsArrhs_date_1952_2012[57] = new Array(2);
				jsArrhs_date_1952_2012[57][0] = "1955";
				jsArrhs_date_1952_2012[57][1] = "1";
				jsArrhs_date_1952_2012[58] = new Array(2);
				jsArrhs_date_1952_2012[58][0] = "1954";
				jsArrhs_date_1952_2012[58][1] = "1";
				jsArrhs_date_1952_2012[59] = new Array(2);
				jsArrhs_date_1952_2012[59][0] = "1953";
				jsArrhs_date_1952_2012[59][1] = "1";
				jsArrhs_date_1952_2012[60] = new Array(2);
				jsArrhs_date_1952_2012[60][0] = "1952";
				jsArrhs_date_1952_2012[60][1] = "1";

				var loTxths_date_1952_2012 = document.getElementById('_tdmcontrolhs_date_1952_2012');
				ctr = document.frmContactForm._tdmcontrolhs_date_1952_2012.selectedIndex;
				if (ctr > 0){
				 if (jsArrhs_date_1952_2012[ctr - 1][0] == document.frmContactForm._tdmcontrolhs_date_1952_2012.options[ctr].text && jsArrhs_date_1952_2012[ctr - 1][1] != "1")
				{
				lsAlert += fnValidateAlert(lbError, 'Please select another value for Year of High School Graduation or GED Completed.');
				loFocusControl = fnValidateFocus(loFocusControl, loTxths_date_1952_2012);
				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("","Digital Gaming Design","Digital Multimedia Design","Medical Coding and Billing","PC and Network Design with Security","test program");
arrListValue[1] = new Array("","Dental Assisting","Digital Gaming Design","Digital Multimedia Design","Enterprise Solutions Developer","Graphic and Web Design","Graphic Design","Medical Coding and Billing","Oracle Administration and Enterprise Solutions Developer","Oracle Database Administration","PC and Network Design with Security","PC and Networking Administration");
arrListValue[2] = new Array("","Dental Assisting","Digital Gaming Design","Digital Multimedia Design","Enterprise Solutions Developer","Graphic and Web Design","Graphic Design","Medical Coding and Billing","Oracle Administration and Enterprise Solutions Developer","Oracle Database Administration","PC and Network Design with Security","PC and Networking Administration");
arrListValue[3] = new Array("","Dental Assisting","Digital Gaming Design","Digital Multimedia Design","Enterprise Solutions Developer","Graphic and Web Design","Graphic Design","Medical Coding and Billing","Oracle Administration and Enterprise Solutions Developer","Oracle Database Administration","PC and Network Administration","PC and Network Design with Security");
arrListValue[4] = new Array("","Dental Assisting","Digital Gaming Design","Digital Multimedia Design","Enterprise Solutions Developer","Graphic and Web Design","Graphic Design","Medical Coding and Billing","Oracle Administration and Enterprise Solutions Developer","Oracle Database Administration","PC and Network Design with Security","PC and Networking Administration");


				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;

		}



