function FrontPage_Form3_Validator(theForm)
{
if (theForm.inv_name.value == "")
{
alert("Please enter a value for the \"Name\" field.");
theForm.inv_name.focus();
return (false);
}
if (theForm.inv_name.value.length > 50)
{
alert("Please enter at most 50 characters in the \"Name\" field.");
theForm.inv_name.focus();
return (false);
}
if (theForm.email.value == "")
{
alert("Please enter a value for the \"Email\" field.");
theForm.email.focus();
return (false);
}
if (theForm.email.value.length > 50)
{
alert("Please enter at most 50 characters in the \"Email\" field.");
theForm.email.focus();
return (false);
}
return (true);
}