<!-- 
function Form_Validator(theForm)
{

  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"FirstName\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.FirstName.value.length > 25)
  {
    alert("Please enter at most 25 characters in the \"FirstName\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ \t\r\n\f";
  var checkStr = theForm.FirstName.value;
  var allValid = true;
  var validGroups = 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 and whitespace characters in the \"FirstName\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.LastName.value == "")
  {
    alert("Please enter a value for the \"LastName\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.LastName.value.length > 25)
  {
    alert("Please enter at most 25 characters in the \"LastName\" field.");
    theForm.LastName.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ \t\r\n\f";
  var checkStr = theForm.LastName.value;
  var allValid = true;
  var validGroups = 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 and whitespace characters in the \"LastName\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length > 30)
  {
    alert("Please enter at most 30 characters in the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Areacode.value == "")
  {
    alert("Please enter a value for the \"Areacode\" field.");
    theForm.Areacode.focus();
    return (false);
  }

  if (theForm.Areacode.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Areacode\" field.");
    theForm.Areacode.focus();
    return (false);
  }

  if (theForm.Areacode.value.length > 3)
  {
    alert("Please enter at most 3 characters in the \"Areacode\" field.");
    theForm.Areacode.focus();
    return (false);
  }

  if (theForm.PhoneNumber.value == "")
  {
    alert("Please enter a value for the \"PhoneNumber\" field.");
    theForm.PhoneNumber.focus();
    return (false);
  }

  if (theForm.PhoneNumber.value.length > 20)
  {
    alert("Please enter at most 20 characters in the \"PhoneNumber\" field.");
    theForm.PhoneNumber.focus();
    return (false);
  }

  if (theForm.AmountofDebt.selectedIndex < 0)
  {
    alert("Please select one of the \"AmountofDebt\" options.");
    theForm.AmountofDebt.focus();
    return (false);
  }

  if (theForm.AmountofDebt.selectedIndex == 0)
  {
    alert("The first \"AmountofDebt\" option is not a valid selection.  Please choose one of the other options.");
    theForm.AmountofDebt.focus();
    return (false);
  }

  if (theForm.TypeofHelp.selectedIndex < 0)
  {
    alert("Please select one of the \"TypeofHelp\" options.");
    theForm.TypeofHelp.focus();
    return (false);
  }

  if (theForm.TypeofHelp.selectedIndex == 0)
  {
    alert("The first \"TypeofHelp\" option is not a valid selection.  Please choose one of the other options.");
    theForm.TypeofHelp.focus();
    return (false);
  }

  if (theForm.MethodofContact.selectedIndex < 0)
  {
    alert("Please select one of the \"MethodofContact\" options.");
    theForm.MethodofContact.focus();
    return (false);
  }

  if (theForm.MethodofContact.selectedIndex == 0)
  {
    alert("The first \"MethodofContact\" option is not a valid selection.  Please choose one of the other options.");
    theForm.MethodofContact.focus();
    return (false);
  }

  if (theForm.Besttimetocontact.selectedIndex < 0)
  {
    alert("Please select one of the \"Besttimetocontact\" options.");
    theForm.Besttimetocontact.focus();
    return (false);
  }

  if (theForm.Besttimetocontact.selectedIndex == 0)
  {
    alert("The first \"Besttimetocontact\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Besttimetocontact.focus();
    return (false);
  }

  if (theForm.State.selectedIndex < 0)
  {
    alert("Please select one of the \"State\" options.");
    theForm.State.focus();
    return (false);
  }

  if (theForm.State.selectedIndex == 0)
  {
    alert("The first \"State\" option is not a valid selection.  Please choose one of the other options.");
    theForm.State.focus();
    return (false);
  }

  if (theForm.Searchengine.selectedIndex < 0)
  {
    alert("Please select one of the \"Searchengine\" options.");
    theForm.Searchengine.focus();
    return (false);
  }

  if (theForm.Searchengine.selectedIndex == 0)
  {
    alert("The first \"Searchengine\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Searchengine.focus();
    return (false);
  }
  return (true);
}
//-->