/* 
The following is the Form Validation Script + Anti-SpamBot Script 
This script makes the Name, Email, and Phone fields required.
Also there is a special hidden field that if a spambot attempts to
fill out and submit it will be rejected by the script below. 
*/ 

<!-- Require the following fields; contact, email, phone, state,  -->

<!--
function validate_form(form)
{

 if (document.forms["form"].elements["comments"].value)
   {
   return false;
   } 

if (form.realname.value == "")
{

alert("Please enter a value for the \"Name\" field.");
form.realname.focus();
return (false);
}

if (form.email.value == "")
{

alert("Please enter a value for the \"Email\" field.");
form.email.focus();
return (false);
}

if (form.Phone.value == "")
{

alert("Please enter a value for the \"Phone\" field.");
form.Phone.focus();
return (false);
}

if (document.forms["form"].elements["comments"].value)
			{
			return false;
			}	
		document.forms["form"].action = "/cgi-sys/Sr45hdRly.pl";
}
//End Of Function


// -->

