function Validate(theForm){
  var invalDat="00/00/00";
  var valDat="^([0-9]{2})/([0-9]{2})/([0-9]{4})$";
  var invalChars=/[\\\?\"\[\]@<>]/;
  
  if (theForm.a_Title){
	  if (theForm.a_Title.value == "" || theForm.a_Title.value.search(invalChars)!=-1 || theForm.a_Title.value.length<2){
		alert("Please enter your Title.");
		theForm.a_Title.select();
		return (false);
	  }
  }
  if (theForm.b_Forename){
	  if (theForm.b_Forename.value == "" || theForm.b_Forename.value.search(invalChars)!=-1 || theForm.b_Forename.value.length<2){
		alert("Please enter your Forename.");
		theForm.b_Forename.select();
		return (false);
	  }
  }
  if (theForm.c_Surname){
	  if (theForm.c_Surname.value == "" || theForm.c_Surname.value.search(invalChars)!=-1 || theForm.c_Surname.value.length<2){
		alert("Please enter your Surname.");
		theForm.c_Surname.select();
		return (false);
	  }
  }
  if (theForm.d_Phone){
	  if (theForm.d_Phone.value == "" || theForm.d_Phone.value.search(invalChars)!=-1 || theForm.d_Phone.value.length<2){
		alert("Please enter your Phone Number.");
		theForm.d_Phone.select();
		return (false);
	  }
  }
  if (theForm.f_Email){
	  if (theForm.f_Email.value == ""){
		alert("Please enter a valid email address.");
		theForm.f_Email.select();
		return (false);
	  }
  }
  if (theForm.h_Address1){
	  if (theForm.h_Address1.value == "" || theForm.h_Address1.value.search(invalChars)!=-1 || theForm.h_Address1.value.length<2){
		alert("Please enter your Street Address.");
		theForm.h_Address1.select();
		return (false);
	  }
  }
  if (theForm.j_Town){
	  if (theForm.j_Town.value == "" || theForm.j_Town.value.search(invalChars)!=-1 || theForm.j_Town.value.length<2){
		alert("Please enter your Town.");
		theForm.j_Town.select();
		return (false);
	  }
  }
  
  
  if (theForm.z_DPN){
	  if (theForm.z_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);
	  }
  }
  
  



//	Enable this for radio buttons if required

//  if (!(theForm.radioname[0].checked || theForm.radioname[1].checked)){
//    alert("Please indicate your radioname.");
//    theForm.radioname[0].focus();
//    return (false);
//  }


  if (theForm.l_Email){
  	return (emailCheck(theForm.l_Email.value)); 								//validate using routines in validemail.js
  }
  return (true);
}

