<!--
function validate(form)
{

//****************************************************************************************  
//check the First Name for blank and characters

if (form.name.value.length < 1)
  {
    alert("Please enter your name.");
    form.name.select();
    form.name.focus();
    return false;
  }
  
  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-, ";
  var checkStr = form.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 letters, whitespace and \"-\" characters in the first name field.");
    form.name.select();
    form.name.focus();
    return false;
  }



//****************************************************************************************
//check the E-Mail Address

if (!(/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(form.email.value)))
  {
   alert("The e-mail address is blank or does not appear to be valid.  Please re-enter.");
   form.email.select();
   form.email.focus();
   return false;
  }

return true;
}
//-->
