function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Firma.value == "")
  {
    alert("Please enter a value for the \"Firma\" field.");
    theForm.Firma.focus();
    return (false);
  }

  if (theForm.Firma.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Firma\" field.");
    theForm.Firma.focus();
    return (false);
  }

  if (theForm.Branche.value == "")
  {
    alert("Please enter a value for the \"Branche\" field.");
    theForm.Branche.focus();
    return (false);
  }

  if (theForm.Branche.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Branche\" field.");
    theForm.Branche.focus();
    return (false);
  }

  if (theForm.Ansprechpartner.value == "")
  {
    alert("Please enter a value for the \"Ansprechpartner\" field.");
    theForm.Ansprechpartner.focus();
    return (false);
  }

  if (theForm.Ansprechpartner.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"Ansprechpartner\" field.");
    theForm.Ansprechpartner.focus();
    return (false);
  }
  return (true);
}
//
