function checkForm(form){
     intro = '';
     msg = '';
     regex = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
     email = form.emailFld.value;
     if(form.contactName.value==''){msg+='You have not included your name\n';}
     if(form.companyName.value==''){msg+='You have not entered your company name\n';}
     if(form.postcode.value==''){msg+='You have not entered your postcode\n';}
     if(form.email.value==''){msg+='You have not entered an email address\n';}
     if(email==''||!regex.test(email)){msg+='You have not entered a valid email address\n';}
     if(form.phone.value==''){msg+='You have not entered a telephone number\n';}
     if(msg==''){return true}
     else if (msg!= ''){alert(intro + '\n' + msg);return false;}
}

function checkform() 
{
	document.application_form.submit();
}

/// /// // Form setter
function formSet(fieldId){
	if(fieldId.beenSet != 1){
	fieldId.beenSet = 1;
	fieldId.value = "";
	}
} // end formSet