function Validate() { 
	if(TextValidate(document.frmapplication.firstname,"the First name")==false) return false;
	if(TextValidate(document.frmapplication.surname,"the Surname")==false) return false;
	if(TextValidate(document.frmapplication.dateofbirth,"the Date of Birth")==false) return false;
	if(isDate(document.frmapplication.dateofbirth)==false) return false;
	if(TextValidate(document.frmapplication.telephone,"the Telephone")==false) return false;	
	if(TextValidate(document.frmapplication.email,"the E-mail address")==false) return false;				
	if(EmailValidateCheck(document.frmapplication.email,"the E-mail address")==false) return false;
	if (document.frmapplication.certification.checked == false)	{
		alert("Please certify the information provided is complete and accurate");
		return false;	
	} 
	document.frmapplication.action ='careers-application-form.php?action=enquire';
	document.frmapplication.submit();
}

