/*
//88888888888888888888888888888888888888888888888888888888888888888//
//88            applicationValidation.js                         88//
//88888888888888888888888888888888888888888888888888888888888888888//
//88 How it works:                                               88//
//88 Looks at every value in the form                            88//
//88 and checks if it's properly                                 88//
//88 filled in.                                                  88//
//88888888888888888888888888888888888888888888888888888888888888888//
//88 Update history:                                             88//
//88 Last Updated August, 11 2006, ascha570@uwsp.edu             88//
//88888888888888888888888888888888888888888888888888888888888888888//
*/
	
		function validApplication(application) {
			//Check to see if Name text box is filled in.
			if (application.name.value == "") {
				alert("You forgot to enter Your Name");
				application.name.focus();
				return false;
			}
			
			//Check to see if ID Number text box is filled in.
			if (application.id.value == "") {
				alert("You forgot to enter your Student ID Number");
				application.id.focus();
				return false;
			}
			
			//Check to see if email text box is filled in.
			if (application.email.value == "") {
				alert("You forgot to enter your Email Address");
				application.email.focus();
				return false;
			}
			
			//Check to see if Phone Number text box is filled in.
			if (application.phone.value == "") {
				alert("You forgot to enter your Phone Number");
				application.phone.focus();
				return false;
			}
			
			//Check to see if Majors text box is filled in.
			if (application.majors.value == "") {
				alert("You forgot to enter your Majors");
				application.majors.focus();
				return false;
			}
			
			//Check to see if Minors text box is filled in.
			if (application.minors.value == "") {
				alert("You forgot to enter your Minors");
				application.minors.focus();
				return false;
			}
			
			//Check to see if GPA text box is filled in.
			if (application.gpa.value == "") {
				alert("You forgot to enter your GPA");
				application.gpa.focus();
				return false;
			}
			
			//Check to see if Grade Number text box is filled in.
			if (application.year.value == "") {
				alert("You forgot to enter your Year in School");
				application.year.focus();
				return false;
			}
			
			// Check for type of work
			if(!(application.regular.checked || application.workstudy.checked || application.volunteer.checked))
			{
				alert("You forgot to select the type of work you are looking for.");
				application.regular.focus();
				return false;
			}
						
			// Check for type of tutoring
			if(!(application.one.checked || application.group.checked))
			{
				alert("You forgot to select the type of tutoring you would like to do.");
				application.one.focus();
				return false;
			}
			
			// Check for hours per week
			if (application.hours.value == "") {
				alert("You forgot to enter how many hours you want a week");
				application.hours.focus();
				return false;
			}
			
			//Check for one course filled in 
			if (application.course1.value == "") {
				alert("You forgot to enter a course to tutor");
				application.course1.focus();
				return false;
			}
			
			if (application.instructor1.value == "") {
				alert("You forgot to enter a instructor for the course");
				application.instructor1.focus();
				return false;
			}
			
			if (application.grade1.value == "") {
				alert("You forgot to enter your grade in the course");
				application.grade1.focus();
				return false;
			}
			return true
		}
		
