function FrontPage_Form1_Validator(theForm)
{
	if (theForm.realname.value == "")
	{
		alert("Please enter a value for the \"realname\" field.");
		theForm.realname.focus();
		return (false);
	}

	if (theForm.realname.value.length > 35)
	{
		alert("Please enter at most 35 characters in the \"realname\" field.");
		theForm.realname.focus();
		return (false);
	}

	if (theForm.Address.value == "")
	{
		alert("Please enter a value for the \"Address\" field.");
		theForm.Address.focus();
		return (false);
	}

	if (theForm.City.value == "")
	{
		alert("Please enter a value for the \"City\" field.");
		theForm.City.focus();
		return (false);
	}

	if (theForm.state.selectedIndex < 0)
	{
		alert("Please select one of the \"State\" options.");
		theForm.state.focus();
		return (false);
	}

	if (theForm.state.selectedIndex == 0)
	{
		alert("The first \"State\" option is not a valid selection.  Please choose one of the other options.");
		theForm.state.focus();
		return (false);
	}

	if (theForm.Zip.value == "")
	{
		alert("Please enter a value for the \"Zip Code\" field.");
		theForm.Zip.focus();
		return (false);
	}

	if (theForm.Zip.value.length < 5)
	{
		alert("Please enter at least 5 characters in the \"Zip Code\" field.");
		theForm.Zip.focus();
		return (false);
	}

	if (theForm.Zip.value.length > 10)
	{
		alert("Please enter at most 10 characters in the \"Zip Code\" field.");
		theForm.Zip.focus();
		return (false);
	}

	if (theForm.Telephone.value == "")
	{
		alert("Please enter a value for the \"Telephone\" field.");
		theForm.Telephone.focus();
		return (false);
	}

	if (theForm.email.value == "")
	{
		alert("Please enter a value for the \"E-Mail Address\" field.");
		theForm.email.focus();
		return (false);
	}

	if (theForm.email.value.length < 5)
	{
		alert("Please enter at least 5 characters in the \"E-Mail Address\" field.");
		theForm.email.focus();
		return (false);
	}

	return (true);
}

