<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript">

<!--function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length > 30)
  {
    alert("Please enter at most 30 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ \t\r\n\f";
  var checkStr = theForm.Name.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 and whitespace characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Telephone.value == "")
  {
    alert("Please enter a value for the \"Telephone\" field.");
    theForm.Telephone.focus();
    return (false);
  }

  if (theForm.Telephone.value.length < 7)
  {
    alert("Please enter at least 7 characters in the \"Telephone\" field.");
    theForm.Telephone.focus();
    return (false);
  }

  if (theForm.Telephone.value.length > 14)
  {
    alert("Please enter at most 14 characters in the \"Telephone\" field.");
    theForm.Telephone.focus();
    return (false);
  }

  var checkOK = "0123456789-,";
  var checkStr = theForm.Telephone.value;
  var allValid = 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 \"Telephone\" field.");
    theForm.Telephone.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"Telephone\" field.");
    theForm.Telephone.focus();
    return (false);
  }

  if (theForm.Howcontact.selectedIndex < 0)
  {
    alert("Please select one of the \"How Contact\" options.");
    theForm.Howcontact.focus();
    return (false);
  }
  return (true);
}
//--> 
<!--webbot BOT="GeneratedScript" endspan -->
