<!--
function checkMAIL(codexmailer)
{

  if (codexmailer.fullname.value == "")
  {
    alert("Please enter your full name");
    codexmailer.fullname.focus();
    return (false);
  }

  if (codexmailer.fullname.value == "Full Name")
  {
    alert("Full Name? I don't think so!");
    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("Jy's nie 007 nie.");
    codexmailer.fullname.focus();
    return (false);
  }

  if (codexmailer.email.value == "")
  {
    alert("Only a valid email address");
    codexmailer.email.focus();
    return (false);
  }

  if (codexmailer.email.value == "Email Address")
  {
    alert("Please fill in an Email Address");
    codexmailer.email.focus();
    return (false);
  }

  else {
    var str=codexmailer.email.value;
    var filter=/^.+@.+\..{2,3}$/;
    if (filter.test(str))
    testresults=true;
    else{
    alert("Email address is invalid");
    testresults=false;
    }
    return (testresults);
    }


  return (true);
}
//-->
