
function invalidcheck() {
	var boolReturn = true;
	
	//check level of education
	var program = document.Entry.program.options[document.Entry.program.selectedIndex].value;
	var level = document.Entry.level_of_education.options[document.Entry.level_of_education.selectedIndex].value;
	
	//must have a bachelors or higher
	if (level == "44orless")
	{
		invalidPop("45_for_ba");
		boolReturn = false;
		return false;
	}




	//validate zip
	if (validate_zip() == false)
	{
		document.getElementById('basic_info').style.display = 'block';
		document.Entry.zip.focus();
		invalidPop('alliant_invalid_state');
		return false;
	}


//	//valid states
//	var statename = document.Entry.state.options[document.Entry.state.selectedIndex].value;
// 	if (document.Entry.state.options[document.Entry.state.selectedIndex].value!="")
//		{
//		 if (statename != "CA" && statename != "IL" && statename != "OH" && statename != "TX" && statename != "TN" && statename != "MA" && statename != "AZ" && statename != "FL")
//
//			{
//				invalidPop("alliant_invalid_state");
//				return false;
//			}	
//		}

		
}


	
function checkForm()
{
	//check the basic info
	var state = CheckBasicInfo();
	if(state == false){
		return false;
	}
	
	//Program checker			
	if ((document.Entry.local_program.options[document.Entry.local_program.selectedIndex].value=="0"))
		{
		alert("\nYou must select a program.");
		document.Entry.local_program.focus();
		return false;
		} 


	//level of education		
 	if ((document.Entry.level_of_education.options[document.Entry.level_of_education.selectedIndex].value==""))
	{
		alert("\nYou must select your level of education.");
		document.Entry.level_of_education.focus();
		return false;
	} 	
	
	if ( invalidcheck() == false ) { return false; } 
	


setBool();

// Pressnall Dupe Stopper
if ( typeof ( formSubmission ) == "number" ){
      return false;
	}
formSubmission = 1;
}


