//<!--  hide java from non capable browsers
function checkInputValidity () {

	var errors = new String();
		errors = "";
	if (document.emailform.Field1.value == "") {
		errors = errors + "Please provide your company name\n\n";
	}
	if (document.emailform.Field2.value == "") {
		errors = errors + "Please provide your company registration number\n\n";
	}
	if (document.emailform.Field4.value == "") {
		errors = errors + "Please provide your invoice address\n\n";
	}
	if (document.emailform.Field5.value == "") {
		errors = errors + "Please provide your invoice postcode\n\n";
	}
	if (document.emailform.Field6.value == "") {
		errors = errors + "Please provide your invoice telephone\n\n";
	}
	if (document.emailform.Field7.value == "") {
		errors = errors + "Please provide your invoice fax\n\n";
	}
	if (document.emailform.Field12.value == "") {
		errors = errors + "Please provide the buyers name\n\n";
	}
	if (document.emailform.Field13.value == "") {
		errors = errors + "Please provide the buyers title\n\n";
	}
	if (document.emailform.Field14.value == "") {
		errors = errors + "Please provide the buyers DDI\n\n";
	}
	if (document.emailform.Field15.value == "") {
		errors = errors + "Please provide the buyers email\n\n";
	}
	if (document.emailform.Field16.value == "") {
		errors = errors + "Please provide the accounts name\n\n";
	}
	if (document.emailform.Field17.value == "") {
		errors = errors + "Please provide the accounts title\n\n";
	}
	if (document.emailform.Field18.value == "") {
		errors = errors + "Please provide the accounts DDI\n\n";
	}
	if (document.emailform.Field19.value == "") {
		errors = errors + "Please provide the accounts email\n\n";
	}
	if (document.emailform.Field36.value == "") {
		errors = errors + "Please provide the completed by name\n\n";
	}
	if (document.emailform.Field37.value == "") {
		errors = errors + "Please provide the completed by position\n\n";
	}
	if (document.emailform.Field38.value == "") {
		errors = errors + "Please provide the completed by email\n\n";
	}
	if (!document.emailform.Field39.checked) {
		errors = errors + "Please confirm that you agree to the terms and conditions\n\n";
	}



	if (errors != "") {
		alert(errors);
		return false;
	}
}
// -->