/* ID-Verify Contact Form script */
document.getElementById("BtnSubmitContact").onclick = checkContact;
function checkContact()
{
	var isValid = true;
	var f = document.forms[0];
	var errors = "Please enter your information in the following required fields: \n";
	if(f.txtName.value.length == 0) {
		errors += "\n\t -  Please enter your Name.";
		isValid = false;	
	}
	if(f.txtPhone.value.length == 0) {
		errors += "\n\t -  Please enter a Contact Phone Number.";
		isValid = false;	
	}
	if(!isValid) {
		alert(errors);
		return false;
	} else {
		return true;
		document.forms[0].submit();
	}
}
