<!--
function FrontPage_Form2_Validator(theForm)
{

  if (theForm.realname.value == "")
  {
    alert("Please enter your name");
    theForm.realname.focus();
    return (false);
  }

  if (theForm.Address.value == "")
  {
    alert("Please enter your address");
    theForm.Address.focus();
    return (false);
  }
  
  
  if (theForm.Postcode.value == "")
  {
    alert("Please enter your postcode");
    theForm.Postcode.focus();
    return (false);
  }

  
   if (theForm.email.value == "")
  {
    alert("Please enter your email address");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length < 6)
  {
    alert("Please enter a valid email address");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Email\" field");
    theForm.email.focus();
    return (false);
  }
  
  return (true);
}
//-->