function Form_Validator(theForm) {

	if (theForm.name.value == "")
	{
		alert("Please enter a value for the Contact Name field.");
		theForm.name.focus();
		return (false);
	}

	if (theForm.email.value == "")
	{
		alert("Please enter a value for the email address field.");
		theForm.email.focus();
		return (false);
	}

	if (theForm.telephone.value == "")
	{
		alert("Please enter a value for the telephone field.");
		theForm.telephone.focus();
		return (false);
	}

	if (theForm.address.value == "")
	{
		alert("Please enter a value for the address field.");
		theForm.address.focus();
		return (false);
	}

	if (theForm.postcode.value == "")
	{
		alert("Please enter a value for the postcode field.");
		theForm.postcode.focus();
		return (false);
	}

	if (theForm.passwordchoice.value == "")
	{
		alert("Please enter a value for the password field.");
		theForm.passwordchoice.focus();
		return (false);
	}

	if (theForm.passwordcheck.value == "")
	{
		alert("Please re-enter your password.");
		theForm.passwordcheck.focus();
		return (false);
	}

	if (theForm.passwordcheck.value != theForm.passwordchoice.value)
	{
		alert("Your passwords do not match!");
		theForm.passwordcheck.focus();
		return (false);
	}

	if (emailCheck(theForm.email))
	{ }
	else
	{
		return (false);
	}

}