<!--
function checkMAIL(codexmailer)
{

  if (codexmailer.fullname.value == "")
  {
    alert("Please enter a value for the \"Name\" field, you cannot leave it blank.");
    codexmailer.fullname.focus();
    return (false);
  }

  if (codexmailer.fullname.value == "Your full name")
  {
    alert("Please enter a value for the \"Name\" field.");
    codexmailer.fullname.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -.";
  var checkStr = codexmailer.fullname.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 characters in the \"Name\" field.");
    codexmailer.fullname.focus();
    return (false);
  }

  if (codexmailer.email.value == "")
  {
    alert("Please enter a valid email for the \"Email\" field, you cannot leave it blank.");
    codexmailer.email.focus();
    return (false);
  }

  if (codexmailer.email.value == "Email address")
  {
    alert("Please enter a valid email for the \"Email\" field.");
    codexmailer.email.focus();
    return (false);
  }

  else {
    var str=codexmailer.email.value;
    var filter=/^.+@.+\..{2,3}$/;
    if (filter.test(str))
    testresults=true;
    else{
    alert("Please input a valid email address!");
    testresults=false;
    }
    return (testresults);
    }


  return (true);
}
//-->
