function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Comp_Name.value == "")
  {
    alert("Please enter a value for the \"Company Name\" field.");
    theForm.Comp_Name.focus();
    return (false);
  }

  if (theForm.Comp_Name.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Company Name\" field.");
    theForm.Comp_Name.focus();
    return (false);
  }

  if (theForm.Prin_Name1.value == "")
  {
    alert("Please enter a value for the \"Principal Name\" field.");
    theForm.Prin_Name1.focus();
    return (false);
  }

  if (theForm.Prin_Name1.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Principal Name\" field.");
    theForm.Prin_Name1.focus();
    return (false);
  }

  if (theForm.Mobile1.value == "")
  {
    alert("Please enter a value for the \"Phone Number\" field.");
    theForm.Mobile1.focus();
    return (false);
  }

  if (theForm.Mobile1.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"Phone Number\" field.");
    theForm.Mobile1.focus();
    return (false);
  }

  if (theForm.Mobile1.value.length > 12)
  {
    alert("Please enter at most 12 characters in the \"Phone Number\" field.");
    theForm.Mobile1.focus();
    return (false);
  }

  if (theForm.Mobile2.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"Joint Phone Number\" field.");
    theForm.Mobile1.focus();
    return (false);
  }

  if (theForm.Mobile2.value.length > 12)
  {
    alert("Please enter at most 12 characters in the \"Joint Phone Number\" field.");
    theForm.Mobile2.focus();
    return (false);
  }

  if (theForm.Rewards_Contact.value == "")
  {
    alert("Please enter a value for the \"Authorized Contact\" field.");
    theForm.Rewards_Contact.focus();
    return (false);
  }

  if (theForm.Rewards_Contact.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Authorized Contact\" field.");
    theForm.Rewards_Contact.focus();
    return (false);
  }

  if (theForm.Kohl_Acct.value == "")
  {
    alert("Please enter a value for the \"Kohl Account\" field.");
    theForm.Kohl_Acct.focus();
    return (false);
  }

  if (theForm.Kohl_Acct.value.length < 6)
  {
    alert("Please enter at least 6 characters in the \"Kohl Account\" field.");
    theForm.Kohl_Acct.focus();
    return (false);
  }

  if (theForm.Kohl_Acct.value.length > 6)
  {
    alert("Please enter at most 6 characters in the \"Kohl Account\" field.");
    theForm.Kohl_Acct.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-&";
  var checkStr = theForm.Kohl_Acct.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please enter only letter, digit and \"&\" characters in the \"Kohl Account\" field.");
    theForm.Kohl_Acct.focus();
    return (false);
  }

  if (theForm.Comp_Phone.value == "")
  {
    alert("Please enter a value for the \"Company Phone Number\" field.");
    theForm.Comp_Phone.focus();
    return (false);
  }

  if (theForm.Comp_Phone.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"Company Phone Number\" field.");
    theForm.Comp_Phone.focus();
    return (false);
  }

  if (theForm.Comp_Phone.value.length > 12)
  {
    alert("Please enter at most 12 characters in the \"Company Phone Number\" field.");
    theForm.Comp_Phone.focus();
    return (false);
  }

  if (theForm.Comp_Fax.value == "")
  {
    alert("Please enter a value for the \"Company Fax Number\" field.");
    theForm.Comp_Fax.focus();
    return (false);
  }

  if (theForm.Comp_Fax.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"Comp Fax Number\" field.");
    theForm.Comp_Fax.focus();
    return (false);
  }

  if (theForm.Comp_Fax.value.length > 12)
  {
    alert("Please enter at most 12 characters in the \"Comp Fax Number\" field.");
    theForm.Comp_Fax.focus();
    return (false);
  }

  if (theForm.Emp_Knowledge.selectedIndex < 0)
  {
    alert("Please select one of the \"Employee Knowledge\" options.");
    theForm.Emp_Knowledge.focus();
    return (false);
  }

  if (theForm.Service.selectedIndex < 0)
  {
    alert("Please select one of the \"Service\" options.");
    theForm.Service.focus();
    return (false);
  }

  if (theForm.Delivery.selectedIndex < 0)
  {
    alert("Please select one of the \"Delivery\" options.");
    theForm.Delivery.focus();
    return (false);
  }

  if (theForm.FollowUp.selectedIndex < 0)
  {
    alert("Please select one of the \"FollowUp\" options.");
    theForm.FollowUp.focus();
    return (false);
  }

  if (theForm.Accuracy.selectedIndex < 0)
  {
    alert("Please select one of the \"Accuracy\" options.");
    theForm.Accuracy.focus();
    return (false);
  }

  if (theForm.Satisfaction.selectedIndex < 0)
  {
    alert("Please select one of the \"Satisfaction\" options.");
    theForm.Satisfaction.focus();
    return (false);
  }
  return (true);
}
