
function valForm() {
var wqform = document.submitContact;

	if (wqform.fname.value == "" || wqform.fname.value == null) {
		alert("Please enter your First Name.");
		wqform.fname.focus();
		return false;
	}

	if (wqform.lname.value == "" || wqform.lname.value == null) {
		alert("Please enter your Last Name.");
		wqform.lname.focus();
		return false;
	}

	var str = wqform.email.value;
	var at = "@";
	var dot = ".";
	var lat = str.indexOf(at);
	var lstr = str.length;
	var ldot = str.indexOf(dot);
	if (str.indexOf(at) == -1) {
		alert("Please enter a valid E-mail Address.")
		wqform.email.focus();
		return false;
	}
	
	if (wqform.comments.value == "" || wqform.comments.value == null) {
		alert("Please enter your Comments/Questions.");
		wqform.comments.focus();
		return false;
	}
	var detailsSize;
	var detCount;
	detCount = wqform.comments.value
	detailsSize = detCount.length;
	if (detailsSize > 4000) {
		alert("Please limit the comments to 4000 characters.");
		wqform.comments.focus();
	return false;
	}

}