<!-- Begin

function Validator(theForm)
{

  if (theForm.realname.value == "")
  {
    alert("Please enter your name");
    theForm.realname.focus();
    return (false);
  }

  if (theForm.realname.value.length < 4)
  {
    alert("Please provide your real name");
    theForm.realname.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter your email address");
    theForm.email.focus();
    return (false);
  }

  if (theForm.message.value == "")
  {
    alert("You have not included a message.");
    theForm.message.focus();
    return (false);
  }
  
  if (theForm.subject.value == "")
  {
    alert("Please type a subject for the email.");
    theForm.subject.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 -->