<!--
function Custom_Validator(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.Email.value == "")
  {
    alert("Please enter a value for the \"E-Mail\" field.");
    theForm.Email.focus();
    return (false);
  }
  
  if (theForm.JobTitle.value == "")
  {
    alert("Please enter a value for the \"Job Title\" field.");
    theForm.JobTitle.focus();
    return (false);
  }
  if (theForm.Company.value == "")
  {
    alert("Please enter a value for the \"Company\" field.");
    theForm.Company.focus();
    return (false);
  }
  if (theForm.Phone.value == "")
  {
    alert("Please enter a value for the \"Phone\" field.");
    theForm.Phone.focus();
    return (false);
  }
  if (theForm.StreetAddress1.value == "")
  {
    alert("Please enter a value for the \"Street Address 1\" field.");
    theForm.StreetAddress1.focus();
    return (false);
  }
  if (theForm.City.value == "")
  {
    alert("Please enter a value for the \"City\" field.");
    theForm.City.focus();
    return (false);
  }
  
  
  if (theForm.Zip.value == "")
  {
    alert("Please enter a value for the \"Postal Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  if (theForm.Zip.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"Postal Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  return (true);
}
//-->

