function validate_fields(theForm)
{
 
  if (theForm.contact_person.value == "")
  {
    alert("Please enter a value for the \"Contact Person\" field.");
    theForm.contact_person.focus();
    return (false);
  }
 
  if (theForm.email_address.value == "")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.email_address.focus();
    return (false);
  }
 
  return (true);
}
