// JavaScript Document
function validateContactFrm(){
	
	var field1 = document.getElementById("contactName").value;
	var field2 = document.getElementById("contactEmail").value;
	var field3 = document.getElementById("contactPhone").value;
	var field4 = document.getElementById("contactReason").value;
	var field5 = document.getElementById("contactComments").value;
	
	var myCheck = 0;
	var myMsg = "";
	
	if(field1.length < 3){
		myMsg = myMsg + "You must provide your Name!\n";
		myCheck++;
	}
	
	if (field2 < 3 ){
		myMsg = myMsg + "You must provide your Email Address!\n";
		myCheck++;
	}else{
		if (myEmailChecker(field2) == 0){
			myMsg = myMsg + "A properly formatted Email Address is required!\n";
			myCheck++;
		}
	}
	
	if(field3.length < 3){
		myMsg = myMsg + "You must provide your Phone Number!\n";
		myCheck++;
	}
	
	if(field4 == ""){
		myMsg = myMsg + "You must choose a Reason!\n";
		myCheck++;
	}
	
	if(field5.length < 5){
		myMsg = myMsg + "You must provide us with some Comments so we may help you!\n";
		myCheck++;
	}
	
	if (myCheck != 0){
		alert(myMsg);
		return (false);
	}
	
}


