<!-- Begin

function Validator(theForm)
{

  if (theForm.forename.value == "")
  {
    alert("Please enter your first name");
    theForm.forename.focus();
    return (false);
  }
  
  if (theForm.surname.value == "")
  {
    alert("Please enter your last name");
    theForm.surname.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter your email address");
    theForm.email.focus();
    return (false);
  }

  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(theForm.email.value)){
	return (true)
	}
	alert("Please enter a valid email address.");
	theForm.email.focus();
	return (false);
  }

// End -->