// JavaScript Document


var strEmail;



function checkform(myform){

	strEmail = myform.email.value

	

	if (myform.firstname.value==""){

		window.alert("You must enter your First Name!");

		myform.firstname.focus();

		myform.firstname.select();

		return false;

		}

	if (myform.lastname.value==""){

		window.alert("You must enter your Last Name!");

		myform.lastname.focus();

		myform.lastname.select();

		return false;

		}

	if (myform.email.value==""){

		window.alert("You must enter an email address!");

		myform.email.focus();

		myform.email.select();

		return false;

		}

	if (strEmail.indexOf("@", 0)==-1){

		window.alert("You must enter a valid email address!");

		myform.email.focus();

		myform.email.select();

		return false;

		}	

	if (myform.ssnumber.value==""){

		window.alert("You must enter the last 4 digits of your Social Security #!");

		myform.ssnumber.focus();

		myform.ssnumber.select();

		return false;

		}

	if (myform.phone.value==""){

		window.alert("You must enter your Phone Number!");

		myform.phone.focus();

		myform.phone.select();

		return false;

		}

	if (myform.address.value==""){

		window.alert("You must enter your address!");

		myform.address.focus();

		myform.address.select();

		return false;

		}

	if (myform.college.value==""){

		window.alert("You select a college you are enrolled in!");

		myform.college.focus();

//		myform.college.select();

		return false;

		}

	

return true;

}

//-->


