function fncValidateProducerForm(theForm)
{

  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"First name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.LastName.value == "")
  {
    alert("Please enter a value for the \"Last name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.CompanyName.value == "")
  {
    alert("Please enter a value for the \"Company name\" field.");
    theForm.CompanyName.focus();
    return (false);
  }

  if ((theForm.Phone.value == "") && (theForm.EmailAddress.value == ""))
  {
    alert("Please enter a value for the \"Phone\" field or the \"Email Address\" field.");
    theForm.Phone.focus();
    return (false);
  }

}