function FrontPage_Form2_Validator(theForm)
{

  if (theForm.mbr_first.value == "")
  {
    alert("Please enter a value for the \"Member First Name\" field.");
    theForm.mbr_first.focus();
    return (false);
  }

  if (theForm.mbr_last.value == "")
  {
    alert("Please enter a value for the \"Member Last Name\" field.");
    theForm.mbr_last.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ- \t\r\n\f";
  var checkStr = theForm.mbr_last.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, whitespace and \"-\" characters in the \"Member Last Name\" field.");
    theForm.mbr_last.focus();
    return (false);
  }

  if (theForm.mbr_email.value == "")
  {
    alert("Please enter a value for the \"Member Email\" field.");
    theForm.mbr_email.focus();
    return (false);
  }

  if (theForm.prv_first.value == "")
  {
    alert("Please enter a value for the \"Provider First Name\" field.");
    theForm.prv_first.focus();
    return (false);
  }

  if (theForm.prv_last.value == "")
  {
    alert("Please enter a value for the \"Provider Last Name\" field.");
    theForm.prv_last.focus();
    return (false);
  }

  if (theForm.prv_phone.value == "")
  {
    alert("Please enter a value for the \"Provider Phone\" field.");
    theForm.prv_phone.focus();
    return (false);
  }

  var checkOK = "0123456789-.";
  var checkStr = theForm.prv_phone.value;
  var allValid = true;
  var validGroups = true;
  var decPoints = 0;
  var allNum = "";
  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 (ch == ".")
    {
      allNum += ".";
      decPoints++;
    }
    else
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Provider Phone\" field.");
    theForm.prv_phone.focus();
    return (false);
  }

  if (decPoints > 1 || !validGroups)
  {
    alert("Please enter a valid number in the \"prv_phone\" field.");
    theForm.prv_phone.focus();
    return (false);
  }

  if (theForm.prv_address.value == "")
  {
    alert("Please enter a value for the \"Provider Street Address\" field.");
    theForm.prv_address.focus();
    return (false);
  }

  if (theForm.prv_city.value == "")
  {
    alert("Please enter a value for the \"Provider City\" field.");
    theForm.prv_city.focus();
    return (false);
  }

  if (theForm.prv_state.value == "")
  {
    alert("Please enter a value for the \"Provider State\" field.");
    theForm.prv_state.focus();
    return (false);
  }

  if (theForm.prv_zip.value == "")
  {
    alert("Please enter a value for the \"Provider Zip Code\" field.");
    theForm.prv_zip.focus();
    return (false);
  }

  var checkOK = "0123456789-";
  var checkStr = theForm.prv_zip.value;
  var allValid = true;
  var validGroups = true;
  var decPoints = 0;
  var allNum = "";
  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;
    }
    allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Provider Zip Code\" field.");
    theForm.prv_zip.focus();
    return (false);
  }
  return (true);
}