function FrontPage_Form1_Validator(frm)
{
  if (frm.fname.value == "")
  {
    alert("Please enter your name.");
    frm.fname.focus();
    return (false);
  }

  if (frm.email.value == "")
  {
    alert("Please enter your Email address");
    frm.email.focus();
    return (false);
  }

  if (frm.email.value.length < 6)
  {
    alert("The Email address you entered is invalid");
    frm.email.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@_-.";
  var checkStr = frm.email.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, digit and \"@_-.\" characters in the Email field.");
    frm.email.focus();
    return (false);
  }
 if (frm.tel.value == "")
  {
    alert("Please enter tell");
    frm.tel.focus();
    return (false);
  }

  if (frm.tel.value.length < 10)
  {
    alert("The tell you entered is invalid");
    frm.tel.focus();
    return (false);
  }

  var checkOK = "0123456789";
  var checkStr = frm.tel.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 numbers 0-9.");
    frm.tel.focus();
    return (false);
  }

  if (frm.check.value == "")
  {
    alert("Please enter spamcheck.");
    frm.check.focus();
    return (false);
  }

}
