/* 
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["fRequestInfo"].elements["comments"].value)
   {
   return false;
   } 

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

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

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

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

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

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

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


// -->

