function Validate(theForm){
	var invalChars=/[\\\?\"\[\]@<>]/;
  	var invalTel=/[a-z|A-Z]/;

	if (theForm.Title.value == "" || theForm.Title.value.search(invalChars)!=-1 || theForm.Title.value.length<2){
		alert("Please enter your Title.");
		theForm.Title.select();
		return (false);
	}
	if (theForm.Forename.value == "" || theForm.Forename.value.search(invalChars)!=-1 || theForm.Forename.value.length<2){
		alert("Please enter your Forename.");
		theForm.Forename.select();
		return (false);
	}
	if (theForm.Surname.value == "" || theForm.Surname.value.search(invalChars)!=-1 || theForm.Surname.value.length<2){
		alert("Please enter your Surname.");
		theForm.Surname.select();
		return (false);
	}
	if (theForm.Address1.value == "" || theForm.Address1.value.search(invalChars)!=-1 || theForm.Address1.value.length<2){
		alert("Please enter your Street Address.");
		theForm.Address1.select();
		return (false);
	}
	if (theForm.Town.value == "" || theForm.Town.value.search(invalChars)!=-1 || theForm.Town.value.length<2){
		alert("Please enter your Town or City.");
		theForm.Town.select();
		return (false);
	}
	if (theForm.PostCode.value == "" || theForm.PostCode.value.search(invalChars)!=-1 || theForm.PostCode.value.length<2){
		alert("Please enter your Post Code.");
		theForm.PostCode.select();
		return (false);
	}
	if (theForm.Phone.value == "" || theForm.Phone.value.search(invalChars)!=-1 || theForm.Phone.value.search(invalTel)!=-1 || theForm.Phone.value.length<11){
		alert("Please enter a valid Phone Number.");
		theForm.Phone.select();
		return (false);
	}
	if (theForm.Email.value == ""){
		alert("Please enter a valid email address.");
		theForm.Email.select();
		return (false);
	}

	/*
	if (theForm.DelTitle){
	  if (theForm.DelTitle.value == "" || theForm.DelTitle.value.search(invalChars)!=-1 || theForm.DelTitle.value.length<2){
		alert("Please enter the recipients Title.");
		theForm.DelTitle.select();
		return (false);
	  }
	}
	if (theForm.DelForename){
	  if (theForm.DelForename.value == "" || theForm.DelForename.value.search(invalChars)!=-1 || theForm.DelForename.value.length<2){
		alert("Please enter the recipients Forename.");
		theForm.DelForename.select();
		return (false);
	  }
	}
	if (theForm.DelSurname){
	  if (theForm.DelSurname.value == "" || theForm.DelSurname.value.search(invalChars)!=-1 || theForm.DelSurname.value.length<2){
		alert("Please enter the recipients Surname.");
		theForm.DelSurname.select();
		return (false);
	  }
	}
	*/
	if (theForm.DelAddress1){
	  if (theForm.DelAddress1.value == "" || theForm.DelAddress1.value.search(invalChars)!=-1 || theForm.DelAddress1.value.length<2){
		alert("Please enter your delivery Street Address.");
		theForm.DelAddress1.select();
		return (false);
	  }
	}
	if (theForm.DelTown){
	  if (theForm.DelTown.value == "" || theForm.DelTown.value.search(invalChars)!=-1 || theForm.DelTown.value.length<2){
		alert("Please enter your delivery Town or City.");
		theForm.DelTown.select();
		return (false);
	  }
	}
	if (theForm.DelPostCode){
		if (theForm.DelPostCode.value == "" || theForm.DelPostCode.value.search(invalChars)!=-1 || theForm.DelPostCode.value.length<2){
			alert("Please enter a Delivery Post Code.");
			theForm.DelPostCode.select();
			return (false);
		}
	}	
	if (theForm.DPN.checked == false){
		alert("Please make sure that you read and agree to the terms in our Data Protection Notice.");
		theForm.DPNText.select();
		return (false);
	}
	
	return (emailCheck(theForm.Email.value)); 								//validate using routines in validemail.js

	return (true);
}
