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.");
		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.DelName){
	  if (theForm.DelName.value == "" || theForm.DelName.value.search(invalChars)!=-1 || theForm.DelName.value.length<2){
		alert("Please enter the recipients Name.");
		theForm.DelName.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.");
		theForm.DelTown.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);
}
