function validate(){
	// we are going to search and see what they haven't checked
	
	if (!document.appForm.name.value) 
	{
		document.appForm.name.focus();
		alert("Please tell us your name");
	}
	else if (!document.appForm.address.value) 
	{
		document.appForm.address.focus();
		alert("Please tell us your address");
	}
	else if (!document.appForm.city.value) 
	{
		document.appForm.city.focus();
		alert("Please tell us your city");
	}
	else if (!document.appForm.state.value) 
	{
		document.appForm.state.focus();
		alert("Please tell us your state");
	}
	else if (!document.appForm.zip.value) 
	{
		document.appForm.zip.focus();
		alert("Please tell us your zip code");
	}
	else if (!document.appForm.phone.value) 
	{
		document.appForm.phone.focus();
		alert("Please tell us your phone number");
	}
	else if (!document.appForm.email.value) 
	{
		document.appForm.phone.focus();
		alert("Please tell us your email address");
	}
	else if (!document.appForm.sex[0].checked && !document.appForm.sex[1].checked)
	{
		if (!document.appForm.sex[0].checked)
		{
			document.appForm.sex[1].focus();
		}
		else if (!document.appForm.sex[1].checked) {
			document.appForm.sex[1].focus();
		}
		
		alert("Please tell us your gender");
	}
	else if (!document.appForm.church.value) 
	{
		document.appForm.church.focus();
		alert("Please tell us your home church name");
	} else {
		document.appForm.submit();
	}
}

function step_1(){
	// we are going to search this bad boy and see what the haven't checked
	
	if (!document.appForm.enroll[0].checked && !document.appForm.enroll[1].checked && !document.appForm.enroll[2].checked) 
	{
		document.appForm.enroll[0].focus();
		alert("Please tell us when you plan to enroll");
	} 
	else if (!document.appForm.enroll_year.value) 
	{
		document.appForm.enroll_year.focus();
		alert("Please tell us what year you plan to enroll");
	}
	else if (!document.appForm.ssn_1.value || !document.appForm.ssn_2.value || !document.appForm.ssn_3.value)
	{
		if (!document.appForm.ssn_1.value) {
			document.appForm.ssn_1.focus();
		}
		else if (!document.appForm.ssn_2.value){
			document.appForm.ssn_2.focus();
		}
		else if (!document.appForm.ssn_3.value){
			document.appForm.ssn_3.focus();
		}		
		alert("There is an error with your Social Security Number\nPlease re-enter.");
	}
	else if (!document.appForm.phone_1.value || !document.appForm.phone_2.value || !document.appForm.phone_3.value)
	{
		if (!document.appForm.phone_1.value) {
			document.appForm.phone_1.focus();
		}
		else if (!document.appForm.phone_2.value){
			document.appForm.phone_2.focus();
		}
		else if (!document.appForm.phone_3.value){
			document.appForm.phone_3.focus();
		}	
		alert("There is an error with your Phone Number\nPlease re-enter.");
	}
	else if (!document.appForm.first_name.value)
	{
		document.appForm.first_name.focus();
		alert("Please enter your first name.");
	}
	else if (!document.appForm.middle_name.value)
	{
		document.appForm.middle_name.focus();
		alert("Please enter your middle name.");
	}
	else if (!document.appForm.last_name.value)
	{
		document.appForm.last_name.focus();
		alert("Please enter your last name.");
	}
	else if (!document.appForm.address.value)
	{
		document.appForm.address.focus();
		alert("Please enter your address.");
	}
	else if (!document.appForm.city.value)
	{
		document.appForm.city.focus();
		alert("Please enter your city.");
	}
	else if (!document.appForm.state.value)
	{
		document.appForm.state.focus();
		alert("Please enter your state.");
	}
	else if (!document.appForm.zip.value)
	{
		document.appForm.zip.focus();
		alert("Please enter your zip.");
	}
	else if (!document.appForm.email.value)
	{
		document.appForm.email.focus();
		alert("Please enter your email.");
	}
	else if (!document.appForm.call_name.value)
	{
		document.appForm.call_name.focus();
		alert("Please enter the name you wish to be called.");
	}
	/*else if (!document.appForm.us_citizen[0].checked || !document.appForm.other_citizen.value)
	{
		alert("Please tell us if you are a US citizen or other.");
	}
	else if (!document.appForm.military[0].checked || !document.appForm.military[1].checked)
	{
		alert("Please indicate if you where in the military");
	}*/
	else if (!document.appForm.sex[0].checked && !document.appForm.sex[1].checked)
	{
		if (!document.appForm.sex[0].checked)
		{
			document.appForm.sex[1].focus();
		}
		else if (!document.appForm.sex[1].checked) {
			document.appForm.sex[1].focus();
		}
		
		alert("Please tell us your sex.");
	}
	else if (!document.appForm.birth_date.value)
	{
		document.appForm.birth_date.focus();
		alert("Please tell us your birthday.");
	}
	else if (!document.appForm.birth_date_year.value)
	{
		document.appForm.birth_date_year.focus();
		alert("Please tell us your birthday year.");
	}
	else if (!document.appForm.birth_city.value)
	{
		document.appForm.birth_city.focus();
		alert("Please enter the city where you were born.");
	}
	else if (!document.appForm.birth_state.value)
	{
		document.appForm.birth_state.focus();
		alert("Please enter the state where you were born.");
	}
	else if (!document.appForm.birth_country.value)
	{
		document.appForm.birth_country.focus();
		alert("Please enter the country where you were born.");
	}
	else if (!document.appForm.parents.value)
	{
		document.appForm.parents.focus();
		alert("Please enter your parents name.");
	}
	else if (!document.appForm.resides_with[0].checked && !document.appForm.resides_with[1].checked && !document.appForm.resides_with[2].checked && !document.appForm.resides_with[3].checked)
	{
		alert("Please indicate with whom you reside.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.christian[1].checked)
	{
		if (!document.appForm.christian[0].checked)
		{
			document.appForm.christian[0].focus();
		}
		else if (!document.appForm.christian[1].checked)
		{
			document.appForm.christian[1].focus();
		}
		alert("Please indicate if you are a Christian.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.denomination.value)
	{
		if (!document.appForm.christian[0].checked)
		{
			document.appForm.christian[0].focus();
		}
		else if (document.appForm.denomination.value)
		{
			document.appForm.denomination.focus();
		}
		alert("Please tell us what denomination.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.home_church.value)
	{
		alert("Please tell us the name of your home church.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.pastors_name.value)
	{
		alert("Please enter your pastors name.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.pastors_address.value)
	{
		alert("Please enter your pastors address.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.pastors_city.value)
	{
		alert("Please enter your pastors city.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.pastors_state.value)
	{
		alert("Please enter your pastors state.");
	}
	else if (!document.appForm.christian[0].checked && !document.appForm.pastors_zip.value)
	{
		alert("Please enter your pastors zip.");
	}
	else if (!document.appForm.campus_visit[0].checked && !document.appForm.campus_visit[1].checked && !document.appForm.campus_visit[2].checked && !document.appForm.campus_visit[3].checked && !document.appForm.campus_visit[4].checked && !document.appForm.campus_visit[5].checked && !document.appForm.campus_visit_other.value)
	{
		alert("Please tell us if you have been to our campus.");
	} else {
		document.appForm.submit();
	}
}

function step_2(){
	if (!document.appForm2.reference_1_name.value)
	{
		document.appForm2.reference_1_name.focus();
		alert("Please enter a reference name.");
	}
	
	else if (!document.appForm2.reference_1_address.value) 
	{
		document.appForm2.reference_1_address.focus();
		alert("Please enter an address for your first reference.");
	}
	else if (!document.appForm2.reference_2_name.value)
	{
		document.appForm2.reference_2_name.focus();
		alert("Please enter your second reference.");
	}
	else if (!document.appForm2.reference_2_address.value)
	{
		document.appForm2.reference_2_address.focus();
		alert("Please enter an address for your second reference.")
	}
	else if(!document.appForm2.living[0].checked && !document.appForm2.living[1].checked)
	{
		document.appForm2.living[0].focus();
		alert ("Please select a living option.");

	}
	else if(!document.appForm2.high_school_status[0].checked && !document.appForm2.high_school_status[1].checked && !document.appForm2.high_school_status[2].checked && !document.appForm2.high_school_status[3].checked) {
		document.appForm2.high_school_status[0].focus();
		alert("Please tell us your high school status.");
	}
	else if (!document.appForm2.high_school_name.value)
	{
		document.appForm2.high_school_name.focus();
		alert("Please enter the name of your last high school.")
	}
	else if (!document.appForm2.high_school_address.value)
	{
		document.appForm2.high_school_address.focus();
		alert("Please enter the address of your last high school.")
	}
	else if (!document.appForm2.high_school_city.value)
	{
		document.appForm2.high_school_city.focus();
		alert("Please enter the city of your last high school.")
	}
	else if (!document.appForm2.high_school_state.value)
	{
		document.appForm2.high_school_state.focus();
		alert("Please enter the state of your last high school.")
	}
	else if (!document.appForm2.high_school_zip.value)
	{
		document.appForm2.high_school_zip.focus();
		alert("Please enter the zip of your last high school.")
	}
	else if (!document.appForm2.high_school_zip.value)
	{
		document.appForm2.high_school_zip.focus();
		alert("Please enter the zip of your last high school.");
	}
	else if (!document.appForm2.high_school_counselor.value)
	{
		document.appForm2.high_school_counselor.focus();
		alert("Please enter the name of your High School Guidance Counselor.");
	}
	else if (!document.appForm2.high_school_counselor_phone_1.value || !document.appForm2.high_school_counselor_phone_2.value  || !document.appForm2.high_school_counselor_phone_3.value)
	{
		document.appForm2.high_school_counselor_phone_1.focus();
		alert("Please enter the entire 9 digit phone number of your High School Guidance Counselor.");
	}
	/* Removed 05-05-2006 (Info no longer required)
	else if(!document.appForm2.other_college[0].checked && !document.appForm2.other_college[1].checked)
	{
		document.appForm2.other_college[0].focus();
		alert ("Please tell us if you are going to transfer from another college.");

	} 
	else if(document.appForm2.other_college[0].checked && !document.appForm2.college_1_name.value)
	{
		document.appForm2.college_1_name.focus();
		alert("You have indicated that you are transferring college credits\nplease enter the name of the college.");
	}
	else if(document.appForm2.other_college[0].checked && !document.appForm2.college_1_credits.value)
	{
		document.appForm2.college_1_credits.focus();
		alert("You have indicated that you are transferring college credits\nplease enter the number of credits you earned.");
	}
	*/
	else if(!document.appForm2.student_time[0].checked && !document.appForm2.student_time[1].checked)
	{
		document.appForm2.student_time[0].focus();
		alert ("Please tell us if you are going to be a full time or part time student.");

	}
	else if(!document.appForm2.testing[0].checked && !document.appForm2.testing[1].checked)
	{
		document.appForm2.testing[0].focus();
		alert ("Please tell us your status on the ACT/SAT.");

	}
else if(document.appForm2.testing[0].checked && !document.appForm2.composite_score.value)
	{
		document.appForm2.composite_score.focus();
		alert ("Please tell us your composite score on the ACT/SAT.");

	}
	else if(!document.appForm2.financial_aid[0].checked && !document.appForm2.financial_aid[1].checked)
	{
		document.appForm2.financial_aid[0].focus();
		alert ("Please tell us if you want financial aid.");

	}
	else if(!document.appForm2.study_plan[0].checked && !document.appForm2.study_plan[1].checked && !document.appForm2.study_plan[2].checked && !document.appForm2.study_plan[3].checked && !document.appForm2.study_plan[4].checked && !document.appForm2.study_plan[5].checked && !document.appForm2.study_plan[6].checked && !document.appForm2.study_plan[7].checked && !document.appForm2.study_plan[8].checked && !document.appForm2.study_plan[8].checked && !document.appForm2.study_plan[10].checked && !document.appForm2.study_plan[11].checked && !document.appForm2.study_plan[12].checked)
	{
		document.appForm2.study_plan[0].focus();
		alert ("Please tell us what you plan to study.");

	}
	else
	{
		document.appForm2.submit();
	}
}

function step_3(){
	if (!document.appForm3.testimony.value)
	{
		document.appForm3.testimony.focus();
		alert("Please enter a testimony.");
	}
	else if (!document.appForm3.why_fwbbc.value)
	{
		document.appForm3.why_fwbbc.focus();
		alert("Please tell us why you are interested in FWBBC.");
	}
	else if(!document.appForm3.digital_signature.checked)
	{
		document.appForm3.digital_signature.focus();
		alert ("Please digitally sign the application.");

	}
	else 
	{
		document.appForm3.submit();
	}
}


