// JavaScript Document
function CheckFormValues () {
	if (document.getElementById("Name").value == "") {
		alert("Please provide your Name.");
		document.getElementById("Name").focus();
		return;
	}
	if (document.getElementById("Email").value == "") {
		alert("Please enter your Email Address.");
		document.getElementById("Email").focus();
		return;
	}
	if (document.getElementById("Comments").value == "") {
		alert("Please enter in a Comment or Enquiry.");
		document.getElementById("Comments").focus();
		return;
	}
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/
	if (!filter.test(document.getElementById("Email").value)) {
		alert("Please input a valid email address!");
		document.getElementById("Email").focus();
		return;
	}
	document.getElementById("contact_form").submit();
}

