// JavaScript Document

function VerifyCntForm() {

	var txt = "";
	
	if (document.formular.first_name.value=="") {
	 txt = txt + "\n * First Name";
	}
	
	if (document.formular.last_name.value=="") {
	 txt = txt + "\n * Last Name";
	}
	
	var str=document.formular.email.value
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i 
	if (!filter.test(str)) {
	 txt = txt + "\n * Email is not Valid";
	}
	
	if (document.formular.postcode.value=="") {
	 txt = txt + "\n * Postcode";
	}
	if (document.formular.telephone.value=="") {
	 txt = txt + "\n * Home / Mobile Telephone";
	}

	
	if (txt) {
		alert ("The folowing fields are required:\n" + txt);
		return false;
	}


}