function checkForm()
{
	var missing = "You must fill in these fields:";
	if (!document.mainapp.name.value)
		missing += "\n\tName";
	if (!document.mainapp.address.value)
		missing += "\n\tAddress";
	if (!document.mainapp.phone.value)
		missing += "\n\tPhone";
	if (!document.mainapp.email.value)
		missing += "\n\tE-mail";
	if (document.mainapp.year.value == "- - -")
		missing += "\n\tYear";
	if (document.mainapp.major.value == "- - -")
		missing += "\n\tMajor";
	if (!document.mainapp.activities.value)
		missing += "\n\tHonors and Activities";
	if (!document.mainapp.agreement.checked)
		missing += "\n\tAgreement to improve the Engineering College";
	if (missing != "You must fill in these fields:")
	{
		alert(missing);
		return false;
	}
	return true;
}