function checkEmail() {if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.Form.email.value)){return (true)}alert("Invalid E-mail Address. Please re-enter.")document.Form.Email.focus()return (false)}function checkform() {	if (document.Form.Name.value == "")     {        alert( "Please enter your name" );        document.Form.Name.focus()        return false ;    }		if (document.Form.Job.value == "")     {        alert( "Please enter your job title" );        document.Form.Job.focus()        return false ;    }		if (document.Form.Compname.value == "")     {        alert( "Please enter your company name" );        document.Form.Compname.focus()        return false ;    }		if (document.Form.Email.value == "")     {        alert( "Please enter your email address" );        document.Form.Email.focus()        return false ;    }if (document.Form.Contact.value == "")     {        alert( "Please enter your preferred method of contact" );        document.Form.Contact.focus()        return false ;    }			if (document.Form.GetTermsCheck.checked == 0)     {        alert( "Please confirm you have read and agree to our data protection policy" );        return false ;}	return true;}function checkSubmit(){if (!checkform()) return false;if (!checkEmail()) return false;}