function hiddenfieldDisplay(hidField) {		
	var areaStudy = document.getElementById('quest1');	
	if(areaStudy.options[areaStudy.selectedIndex].text == 'Information Technology Certificates')
	{
		if(hidField.value=="Microsoft Certified Systems Administrator (MCSA) Certificate" || (hidField.value=="Microsoft Certified Systems Engineer (MCSE) Certificate"))
		{
			document.getElementById('assessmentId').value = 229;
			document.getElementById('sifVersion').value = 1576;					
			document.getElementById('CompTIA').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else if(hidField.value=="Microsoft Certified Technology Specialist (MCTS) Certificate")
		{
			document.getElementById('assessmentId').value = 231;
			document.getElementById('sifVersion').value = 1578;					
			document.getElementById('track').style.display = '';
			document.getElementById('2yrsExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
		}
		else if(hidField.value=="Microsoft Certified Professional Developer (MCPD) Certificate")
		{
			document.getElementById('assessmentId').value = 245;
			document.getElementById('sifVersion').value = 1577;					
			document.getElementById('track').style.display = '';
			document.getElementById('2yrsExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
		}
		else if(hidField.value=="Certified Information Systems Security Professional (CISSP)")
		{
			document.getElementById('assessmentId').value = 230;
			document.getElementById('sifVersion').value = 1530;					
			document.getElementById('4yrsExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else if(hidField.value=="Cisco Certified Entry Networking Technician")
		{
			document.getElementById('assessmentId').value = 246;
			document.getElementById('sifVersion').value = 1580;					
			document.getElementById('LanWanExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else if(hidField.value=="Cisco Certified Network Associate")
		{
			document.getElementById('assessmentId').value = 246;
			document.getElementById('sifVersion').value = 1580;	
			document.getElementById('LanWanExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else if(hidField.value=="Cisco Certified Network Professional")
		{
			document.getElementById('assessmentId').value = 247;
			document.getElementById('sifVersion').value = 1581;					
			document.getElementById('CCNAExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else if(hidField.value=="Cisco Certified Design Associate")
		{
			document.getElementById('assessmentId').value = 247;
			document.getElementById('sifVersion').value = 1581;					
			document.getElementById('CCNAExp').style.display = '';
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else if(hidField.value=="Cisco Certified Design Professional")
		{
			document.getElementById('assessmentId').value = 256;
			document.getElementById('sifVersion').value = 1660;					
			document.getElementById('CCDAAExp').style.display = '';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
		else
		{
			document.getElementById('assessmentId').value = "";
			document.getElementById('sifVersion').value = "";					
			document.getElementById('CCDAAExp').style.display = 'none';
			document.getElementById('CCNAExp').style.display = 'none';
			document.getElementById('LanWanExp').style.display = 'none';
			document.getElementById('4yrsExp').style.display = 'none';
			document.getElementById('2yrsExp').style.display = 'none';
			document.getElementById('CompTIA').style.display = 'none';
			document.getElementById('track').style.display = 'none';
		}
	}
	document.getElementById('sourceCode').value = 100299;
}
function areaofstudy(e1) {
	hiddenfieldDisplay('none');
	var pgm = document.getElementById('program');
	pgm.options.length = 0;
	
	if (e1.options[e1.selectedIndex].text == 'Information Technology Certificates') 
	{
		pgm.options[0]  = new Option('Select one:', '0');
		pgm.options[1]  = new Option ('Microsoft Certified Systems Administrator (MCSA) Certificate', 'Microsoft Certified Systems Administrator (MCSA) Certificate');
		pgm.options[2]  = new Option ('Microsoft Certified Systems Engineer (MCSE) Certificate', 'Microsoft Certified Systems Engineer (MCSE) Certificate');
		pgm.options[3]  = new Option ('Microsoft Certified Professional Developer (MCPD) Certificate', 'Microsoft Certified Professional Developer (MCPD) Certificate');
		pgm.options[4]  = new Option ('Cisco Certified Design Associate', 'Cisco Certified Design Associate');
		pgm.options[5]  = new Option ('Cisco Certified Design Professional', 'Cisco Certified Design Professional');
		pgm.options[6]  = new Option ('Cisco Certified Entry Networking Technician', 'Cisco Certified Entry Networking Technician');
		pgm.options[7]  = new Option ('Cisco Certified Network Associate', 'Cisco Certified Network Associate');
		pgm.options[8]  = new Option ('Cisco Certified Network Professional', 'Cisco Certified Network Professional');
	}
	
	if (e1.options[e1.selectedIndex].text == 'Select one') 
	{
		pgm.options[0]  = new Option('Please select an area of study', '0');
	}
	
}
function isDate(dateStr) {
	var datePat = /^(\d{1,2})(\/|-)(\d{1,2})(\/|-)(\d{4})$/;
	var matchArray = dateStr.match(datePat); //check format
		if (matchArray == null) return false;
		var iMonth = matchArray[1]; // parse date into variables
		var iDay = matchArray[3];
		var iYear = matchArray[5];
			if (iMonth < 1 || iMonth > 12) return false;
			if (iDay < 1 || iDay > 31) return false;
			if ((iMonth==4 || iMonth==6 || iMonth==9 || iMonth==11) && iDay==31) return false;
			if (iMonth == 2) { // check for february 29th
				var isleap = (iYear % 4 == 0 && (iYear % 100 != 0 || iYear % 400 == 0));
				if (iDay > 29 || (iDay == 29 && !isleap)) return false;
			}
	return true;
}
function FixDate(oMonth, oDay, oYear) {
	var iMonth = parseInt(oMonth[oMonth.selectedIndex].value);
	var iDay = parseInt(oDay[oDay.selectedIndex].value);
	var iYear = parseInt(oYear[oYear.selectedIndex].value);
	var iMax = 31;
	if (iMonth == 2) {
		if ((((iYear % 4) == 0) && ((iYear % 100) != 0)) || ((iYear % 400) == 0)) {
		iMax = 29;
		}
		else {
		iMax = 28;
		}	
	}
	else if ((iMonth == 4) || (iMonth == 6) || (iMonth == 9) || (iMonth == 11)) {
		iMax = 30;
	}
	oDay.length = iMax;
	for (var i=iMax; i > 28; i--) {
		oDay[i - 1].text = i;
		oDay[i - 1].value = i;
	}
	if (iDay > iMax)
		oDay.selectedIndex = (iMax - 1);
}
function phoneIsValid(Obj,sLabel) {
	var sPhone = Obj.value;
	var sPhoneTemp = sPhone;
	sPhone = '';
	var sNumbers = '1234567890';
	for (var i=0;i<sPhoneTemp.length;i++) {
		if (sNumbers.indexOf(sPhoneTemp.charAt(i)) > -1) {
			sPhone += sPhoneTemp.charAt(i);
		}
	}
	if (sPhone.charAt(0) == '1' || sPhone.charAt(0) == 1) {
		sPhone = sPhone.substring(1,(sPhone.length));
	}
	if (sPhone.length != 10) {
		return sLabel + ' must be a 10 digit number\n';
	}
	else { 
	Obj.value = sPhone;
	}
	var sAreaCode = sPhone.substring(0,3);
	var sPrefix = sPhone.substring(3,6);
	var sNumber = sPhone.substring(6,10);
	ary7NotAllowed = new Array('1234567','4567890','0000000','1111111','2222222','3333333','4444444','5555555','6666666','7777777','8888888','9999999','3456789','4567890')
	ary3NotAllowed = new Array('000','911','555','012','123');
	for (var i=0;i<ary7NotAllowed.length;i++) {
		if (sPrefix.toString() + sNumber.toString() == ary7NotAllowed[i])  {
			return sLabel + ' must be a valid phone number\n';
		}
	}
	for (var i=0;i<ary3NotAllowed.length;i++) {
		if (sPrefix.toString() == ary3NotAllowed[i].toString()) {
			return sLabel + ' must be a valid phone number\n';
		}
	}
	return '';
}
function ValidateData(oPrmForm) { 
	var bBrowserGood = false;
	var bBrowserDrawsBordersCorrectly = false;
	var sBrowser = "Unknown";
	var bNoThanks = false;

	if (navigator.appName == "Netscape") {
		sBrowser = "Netscape";
		if (parseFloat(navigator.appVersion) >= 5) {
			bBrowserGood = true;
			bBrowserDrawsBordersCorrectly = true;
		}
	}
	else if (navigator.appName == "Microsoft Internet Explorer") {
		sBrowser = "IE";
		if (parseFloat(navigator.appVersion) >= 4) {
			bBrowserGood = true;
		}
	}

	var bReturn = true;
	var bFieldGood = true;
	var sErrors = '';

	bFieldGood = true;
	if (oPrmForm.fname.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'First Name missing\n';
		bFieldGood = false;
	}

	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.fname.style.borderLeftColor = 'buttonface';
			oPrmForm.fname.style.borderTopColor = 'buttonface';
			oPrmForm.fname.style.borderRightColor = 'buttonface';
			oPrmForm.fname.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.fname.style.borderLeftColor = 'tomato';
			oPrmForm.fname.style.borderTopColor = 'tomato';
			oPrmForm.fname.style.borderRightColor = 'tomato';
			oPrmForm.fname.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.lname.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'Last Name missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.lname.style.borderLeftColor = 'buttonface';
			oPrmForm.lname.style.borderTopColor = 'buttonface';
			oPrmForm.lname.style.borderRightColor = 'buttonface';
			oPrmForm.lname.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.lname.style.borderLeftColor = 'tomato';
			oPrmForm.lname.style.borderTopColor = 'tomato';
			oPrmForm.lname.style.borderRightColor = 'tomato';
			oPrmForm.lname.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.address1.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'Street Address missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.address1.style.borderLeftColor = 'buttonface';
			oPrmForm.address1.style.borderTopColor = 'buttonface';
			oPrmForm.address1.style.borderRightColor = 'buttonface';
			oPrmForm.address1.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.address1.style.borderLeftColor = 'tomato';
			oPrmForm.address1.style.borderTopColor = 'tomato';
			oPrmForm.address1.style.borderRightColor = 'tomato';
			oPrmForm.address1.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.address2.style.borderLeftColor = 'buttonface';
			oPrmForm.address2.style.borderTopColor = 'buttonface';
			oPrmForm.address2.style.borderRightColor = 'buttonface';
			oPrmForm.address2.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.address2.style.borderLeftColor = 'tomato';
			oPrmForm.address2.style.borderTopColor = 'tomato';
			oPrmForm.address2.style.borderRightColor = 'tomato';
			oPrmForm.address2.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.city.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'City missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.city.style.borderLeftColor = 'buttonface';
			oPrmForm.city.style.borderTopColor = 'buttonface';
			oPrmForm.city.style.borderRightColor = 'buttonface';
			oPrmForm.city.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.city.style.borderLeftColor = 'tomato';
			oPrmForm.city.style.borderTopColor = 'tomato';
			oPrmForm.city.style.borderRightColor = 'tomato';
			oPrmForm.city.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.kaplan_state.selectedIndex > 0) {
	}
	else {
		sErrors = sErrors + 'State missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.kaplan_state.style.backgroundColor = '#FFFFFF';
		}
		else {
			oPrmForm.kaplan_state.style.backgroundColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.zip.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'Zip Code missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.zip.style.borderLeftColor = 'buttonface';
			oPrmForm.zip.style.borderTopColor = 'buttonface';
			oPrmForm.zip.style.borderRightColor = 'buttonface';
			oPrmForm.zip.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.zip.style.borderLeftColor = 'tomato';
			oPrmForm.zip.style.borderTopColor = 'tomato';
			oPrmForm.zip.style.borderRightColor = 'tomato';
			oPrmForm.zip.style.borderBottomColor = 'tomato';
		}
	}
	bFieldGood = true;
	if (oPrmForm.country.selectedIndex > 0) {
	}
	else {
		sErrors = sErrors + 'country missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.country.style.backgroundColor = '#FFFFFF';
		}
		else {
			oPrmForm.country.style.backgroundColor = 'tomato';
		}
	}
	bFieldGood = true;
	if (oPrmForm.email.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'Email missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.email.style.borderLeftColor = 'buttonface';
			oPrmForm.email.style.borderTopColor = 'buttonface';
			oPrmForm.email.style.borderRightColor = 'buttonface';
			oPrmForm.email.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.email.style.borderLeftColor = 'tomato';
			oPrmForm.email.style.borderTopColor = 'tomato';
			oPrmForm.email.style.borderRightColor = 'tomato';
			oPrmForm.email.style.borderBottomColor = 'tomato';
		}
	}
	
	bFieldGood = true;
	if (oPrmForm.phone.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'Phone missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.phone.style.borderLeftColor = 'buttonface';
			oPrmForm.phone.style.borderTopColor = 'buttonface';
			oPrmForm.phone.style.borderRightColor = 'buttonface';
			oPrmForm.phone.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.phone.style.borderLeftColor = 'tomato';
			oPrmForm.phone.style.borderTopColor = 'tomato';
			oPrmForm.phone.style.borderRightColor = 'tomato';
			oPrmForm.phone.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.evephone.value.length > 0) {
	}
	else {
		sErrors = sErrors + 'Work or Mobile Phone missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.evephone.style.borderLeftColor = 'buttonface';
			oPrmForm.evephone.style.borderTopColor = 'buttonface';
			oPrmForm.evephone.style.borderRightColor = 'buttonface';
			oPrmForm.evephone.style.borderBottomColor = 'buttonface';
		}
		else {
			oPrmForm.evephone.style.borderLeftColor = 'tomato';
			oPrmForm.evephone.style.borderTopColor = 'tomato';
			oPrmForm.evephone.style.borderRightColor = 'tomato';
			oPrmForm.evephone.style.borderBottomColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.BestTime.selectedIndex > 0) {
	}
	else {
		sErrors = sErrors + 'Best time to contact missing\n';
		bFieldGood = false;
	}

	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.BestTime.style.backgroundColor = '#FFFFFF';
		}
		else {
			oPrmForm.BestTime.style.backgroundColor = 'tomato';
		}
	}
	
	bFieldGood = true;
	if (oPrmForm.quest4.selectedIndex > 0 ) {
	}
	else {
		sErrors = sErrors + 'Level of Education missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) 
	{
		if (bFieldGood) 
		{
			oPrmForm.quest4.style.backgroundColor = '#FFFFFF';
			oPrmForm.quest4.style.backgroundColor = '#FFFFFF';
		}
		else 
		{
			oPrmForm.quest4.style.backgroundColor = 'tomato';
			oPrmForm.quest4.style.backgroundColor = 'tomato';	
		}
	}
	
	bFieldGood = true;
	if (oPrmForm.quest1.selectedIndex > 0) {
	}
	else {
		sErrors = sErrors + 'What area of study are you interested in missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.quest1.style.backgroundColor = '#FFFFFF';
		}
		else {
			oPrmForm.quest1.style.backgroundColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.program.selectedIndex > 0 && oPrmForm.program.options[oPrmForm.program.selectedIndex].value != '0' && oPrmForm.program.options[oPrmForm.program.selectedIndex].value != '' ) {
	}
	else {
		sErrors = sErrors + 'What program are you most interested in missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.program.style.backgroundColor = '#FFFFFF';
		}
		else {
			oPrmForm.program.style.backgroundColor = 'tomato';
		}
	}

	bFieldGood = true;
	if (oPrmForm.quest4.selectedIndex > 0) {
	}
	else {
		sErrors = sErrors + 'What is the highest level of education you possess missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) {
		if (bFieldGood) {
			oPrmForm.quest4.style.backgroundColor = '#FFFFFF';
		}
		else {
			oPrmForm.quest4.style.backgroundColor = 'tomato';
		}
	}

	bFieldGood = true;
	if(document.getElementById('track').style.display == "") {
		bFieldGood = true;
		if(oPrmForm.quest10.options[oPrmForm.quest10.selectedIndex].text != '') {
		}
		else 
		{
			sErrors = sErrors + 'What track are you interested in missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest10.style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest10.style.backgroundColor = 'tomato';
			}
		}
	}
	
	bFieldGood = true;
	if(document.getElementById('CompTIA').style.display == "") {
		bFieldGood = true;
		if (oPrmForm.quest3[0].checked == true || oPrmForm.quest3[1].checked == true )  {
		}
		else 
		{
			sErrors = sErrors + 'Comp TIA A+ and Comp TIA Network+ certification or equivalent experience missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest3[0].style.backgroundColor = '#FFFFFF';
				oPrmForm.quest3[1].style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest3[0].style.backgroundColor = 'tomato';
				oPrmForm.quest3[1].style.backgroundColor = 'tomato';	
			}
		}
	}

	bFieldGood = true;
	if(document.getElementById('2yrsExp').style.display == "") {
		bFieldGood = true;
		if (oPrmForm.quest5[0].checked == true || oPrmForm.quest5[1].checked == true )  {
		}
		else 
		{
			sErrors = sErrors + 'Do you have two years of experience developing using the .Net Framework missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest5[0].style.backgroundColor = '#FFFFFF';
				oPrmForm.quest5[1].style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest5[0].style.backgroundColor = 'tomato';
				oPrmForm.quest5[1].style.backgroundColor = 'tomato';	
			}
		}
	}

	bFieldGood = true;
	if(document.getElementById('4yrsExp').style.display == "") {
		bFieldGood = true;
		if (oPrmForm.quest6[0].checked == true || oPrmForm.quest6[1].checked == true )  {
		}
		else 
		{
			sErrors = sErrors + 'Do you have 4 years of direct full-time security professional work experience missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest6[0].style.backgroundColor = '#FFFFFF';
				oPrmForm.quest6[1].style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest6[0].style.backgroundColor = 'tomato';
				oPrmForm.quest6[1].style.backgroundColor = 'tomato';	
			}
		}
	}
	
	bFieldGood = true;
	if(document.getElementById('LanWanExp').style.display == "") {
		bFieldGood = true;
		if (oPrmForm.quest7[0].checked == true || oPrmForm.quest7[1].checked == true )  {
		}
		else 
		{
			sErrors = sErrors + 'Do you have experience with network components including LANs and WANs missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest7[0].style.backgroundColor = '#FFFFFF';
				oPrmForm.quest7[1].style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest7[0].style.backgroundColor = 'tomato';
				oPrmForm.quest7[1].style.backgroundColor = 'tomato';	
			}
		}
	}

	bFieldGood = true;
	if(document.getElementById('CCNAExp').style.display == "") {
		bFieldGood = true;
		if (oPrmForm.quest8[0].checked == true || oPrmForm.quest8[1].checked == true )  {
		}
		else 
		{
			sErrors = sErrors + 'Do you have a valid Cisco Certified Network Associate Certification (CCNA) missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest8[0].style.backgroundColor = '#FFFFFF';
				oPrmForm.quest8[1].style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest8[0].style.backgroundColor = 'tomato';
				oPrmForm.quest8[1].style.backgroundColor = 'tomato';	
			}
		}
	}


	bFieldGood = true;
	if(document.getElementById('CCDAAExp').style.display == "") {
		bFieldGood = true;
		if (oPrmForm.quest11[0].checked == true || oPrmForm.quest11[1].checked == true )  {
		}
		else 
		{
			sErrors = sErrors + 'Do you possess CCNA and CCDA certification missing\n';
			bFieldGood = false;
		}
		if (bBrowserGood) 
		{
			if (bFieldGood) 
			{
				oPrmForm.quest11[0].style.backgroundColor = '#FFFFFF';
				oPrmForm.quest11[1].style.backgroundColor = '#FFFFFF';
			}
			else 
			{
				oPrmForm.quest11[0].style.backgroundColor = 'tomato';
				oPrmForm.quest11[1].style.backgroundColor = 'tomato';	
			}
		}
	}
	
	bFieldGood = true;
	if(oPrmForm.quest9[0].checked==true || oPrmForm.quest9[1].checked==true ) {
	}
	else 
	{
		sErrors = sErrors + 'Kaplan University acknowledgement missing\n';
		bFieldGood = false;
	}
	if (bBrowserGood) 
	{
		if (bFieldGood) 
		{
			oPrmForm.quest9[0].style.backgroundColor = '#FFFFFF';
			oPrmForm.quest9[1].style.backgroundColor = '#FFFFFF';
		}
		else 
		{
			oPrmForm.quest9[0].style.backgroundColor = 'tomato';
			oPrmForm.quest9[1].style.backgroundColor = 'tomato';	
		}
	}
	
	//--------------------------------------------------------------------------------------------------------------------
	// NoThankYou page page re-direction based on invalid answers. Lead does not go thru ILM
	//--------------------------------------------------------------------------------------------------------------------
	// Custom thankyou page (Education) - What is the highest level of education you possess?
	//Debug
	//alert("Education index value-> "+oPrmForm.quest4.options[oPrmForm.quest4.selectedIndex].value);
	//alert("Quest5.1 "+oPrmForm.quest5[1].checked);
	//alert("Quest5.0 "+oPrmForm.quest5[0].checked);
	//alert("Quest7.1 "+oPrmForm.quest7[1].checked);
	//alert("Quest7.0 "+oPrmForm.quest7[0].checked);
	//alert("Quest8.1 "+oPrmForm.quest8[1].checked);
	//alert("Quest8.0 "+oPrmForm.quest8[0].checked);
	//alert("Quest11.1 "+oPrmForm.quest11[1].checked);
	//alert("Quest11.0 "+oPrmForm.quest11[0].checked);
	//alert("Quest9.1 "+oPrmForm.quest9[1].checked);
	//alert("Quest9.0 "+oPrmForm.quest9[0].checked);
	//alert("Quest3.1 "+oPrmForm.quest3[1].checked);
	//alert("Quest3.0 "+oPrmForm.quest3[0].checked);

	if (oPrmForm.quest4.options[oPrmForm.quest4.selectedIndex].value == "NONE" ) 
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}
	
	// Form question "Do you have two years of experience developing web, windows, or distributed applications using the .Net Framework?"
	if (oPrmForm.quest5[1].checked)
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}
	
	// Form question "Do you have experience with network components including LAN’s and WAN’s ?"
	if (oPrmForm.quest7[1].checked)
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}

	// Form question "Do you possess CCNA certification?"
	if (oPrmForm.quest8[1].checked)
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}
	
	// Form question "Do you possess CCNA and CCDA certification?"
	if (oPrmForm.quest11[1].checked)
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}

	// Form question "Do you possess CCNA and CCDA certification?"
	if (oPrmForm.quest9[1].checked)
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}

	// Form question "Do you have Comp TIA A+ and Comp TIA Network+ certification or equivalent experience?"
	if (oPrmForm.quest3[1].checked)
	{
		if(oPrmForm.iFrame_AID) {
			alert(message);
			bReturn = false;
			return false;
		}
		else
		{
			bNoThanks = true;
		}
	}
	
	if (sErrors.length > 0) {
		bReturn = false;
		alert('The following errors occurred:\n' + sErrors);
		return bReturn;
	}
	
	// Debug
	//alert("sErrors.length--> "+sErrors.length);
	//alert("bNoThanks-> "+bNoThanks);

	if(bNoThanks) {
		oPrmForm.action = "nothankyou.asp";
	}else{
		oPrmForm.action = "/include/SDC_Form_Submit.asp";
	}

}
function changeState(Obj) {
	var oCountry = Obj.form.country;
	var oHiddenState = Obj.form.state;
	var sState = Obj.options[Obj.selectedIndex].value;
	SetHiddenState(Obj);
	if (sState != "Outside of the U.S.A." && sState != "0") {
		// change to us
		oCountry.selectedIndex = 1;
	}
	if (sState == "Outside of the U.S.A." && oCountry.selectedIndex == 1) {
		oCountry.selectedIndex = 0;
	}
}
function changeCountry(Obj) {
	var oState = Obj.form.kaplan_state;
	var sCountryVal = Obj.options[Obj.selectedIndex].value;
	if(sCountryVal != "United States" && sCountryVal != "0" ) {
		oState.selectedIndex = oState.length -1;
		SetHiddenState(oState);
	}
}
function SetHiddenState(oStateDD) {
	// valid states s4 can accept
	var sStateVal = oStateDD.options[oStateDD.selectedIndex].text;
	//var sHdnStateVal = sStateVal.substring(4);
	var oHiddenState = oStateDD.form.state;
	var sValidState = 'XX';
	var aryStates = new Array('AL','AK','AZ','AR','CA','CO','CT','DE','DC','FL','GA','ID','IL','IN','IA','KS','KY','LA','ME','MD','MA','MI','MN','MS','MO','MT','NE','NV','NH','NJ','NM','NY','NC','ND','OH','OK','OR','PA','RI','SC','SD','TN','TX','UT','VT','VA','WA','WV','WI','WY','CN','HI','DL','PR','AB','BC','MB','NB','NL','NS','NT','ON','PE','QC','SK','YT','NU');

	// find abbrev from stateval
	sAbbrev = sStateVal.substring(0,2);
	for (var iStatePos = 0;iStatePos<aryStates.length;iStatePos++) {
		if (sAbbrev == aryStates[iStatePos]) {
			sValidState = sAbbrev;
			break;
		}
	}
	oHiddenState.value = sValidState;
}
