function validate()
{
	var strOutput = "";
	var returnBad = 0;
	
	if (document.contactfrm.fname.value == "")
	{
		strOutput += "\tFirst Name is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.fname.value.length < 2) // "Ty"
		{
			strOutput += "\tFirst Name cannot be less than two characters.\n";
			returnBad = 1;
		}
	}
	
	if (document.contactfrm.lname.value == "")
	{
		strOutput += "\tLast Name is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.lname.value.length < 2) // "Bo"
		{
			strOutput += "\tLast Name cannot be less than two characters.\n";
			returnBad = 1;
		}
	}
	
	if (document.contactfrm.phone1.value == "")
	{
		strOutput += "\tPhone 1 is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.phone1.value.length < 7) // "5551212"
		{
			strOutput += "\tPhone 1 cannot be less than seven characters.\n";
			returnBad = 1;
		}
	}

	if (document.contactfrm.city.value == "")
	{
		strOutput += "\tCity is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.city.value.length < 2) // "Ha"
		{
			strOutput += "\tCity cannot be less than two characters.\n";
			returnBad = 1;
		}
	}
	
	if (document.contactfrm.state.value == "")
	{
		strOutput += "\tState is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.state.value.length < 2) // "UT"
		{
			strOutput += "\tState cannot be less than two characters.\n";
			returnBad = 1;
		}
	}
	
	if (document.contactfrm.zip.value == "")
	{
		strOutput += "\tZip code is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.zip.value.length < 5) // "84111"
		{
			strOutput += "\tZip code cannot be less than five characters.\n";
			returnBad = 1;
		}
	}
	
	if (document.contactfrm.email.value == "")
	{
		strOutput += "\tEmail is required.\n";
		returnBad = 1;
	}
	else
	{
		if (document.contactfrm.email.value.length < 6) // "a@b.uk"
		{
			strOutput += "\tEmail cannot be less than six characters.\n";
			returnBad = 1;
		}
	}
	
	if (document.contactfrm.passing.value == "") // This is a drop-down... for now.
	{
		strOutput += "\tGraduation Year is required.\n";
		returnBad = 1;
	}

	if (document.contactfrm.interest.value == "select") // This is a drop-down.
	{
		strOutput += "\tProgram of Interest is required.\n";
		returnBad = 1;
	}
	
	if (returnBad == 1)
	{
		window.alert(strOutput);
		return(false);
	}
	else
	{
		return(true);
	}
		
}

