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.b_Surname){
	  if (theForm.b_Surname.value == "" || theForm.b_Surname.value.search(invalChars)!=-1 || theForm.b_Surname.value.length<2){
		alert("Please enter your Surname.");
		theForm.b_Surname.select();
		return (false);
	  }
  }
  if (theForm.b_Name){
	  if (theForm.b_Name.value == "" || theForm.b_Name.value.search(invalChars)!=-1 || theForm.b_Name.value.length<2){
		alert("Please enter your Name.");
		theForm.b_Name.select();
		return (false);
	  }
  }
  if (theForm.c_Company){
	  if (theForm.c_Company.value == "" || theForm.c_Company.value.search(invalChars)!=-1 || theForm.c_Company.value.length<2){
		alert("Please enter your Company name.");
		theForm.c_Company.select();
		return (false);
	  }
  }
  if (theForm.e_Address1){
	  if (theForm.e_Address1.value == "" || theForm.e_Address1.value.search(invalChars)!=-1 || theForm.e_Address1.value.length<2){
		alert("Please enter your Street Address.");
		theForm.e_Address1.select();
		return (false);
	  }
  }
  if (theForm.g_Town){
	  if (theForm.g_Town.value == "" || theForm.g_Town.value.search(invalChars)!=-1 || theForm.g_Town.value.length<2){
		alert("Please enter your Town.");
		theForm.g_Town.select();
		return (false);
	  }
  }
  if (theForm.j_Phone){
	  if (theForm.j_Phone.value == "" || theForm.j_Phone.value.search(invalChars)!=-1 || theForm.j_Phone.value.length<2){
		alert("Please enter your Phone Number.");
		theForm.j_Phone.select();
		return (false);
	  }

  }
  if (theForm.l_Email){
	  if (theForm.l_Email.value == ""){
		alert("Please enter a valid email address.");
		theForm.l_Email.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);
}

