
function valForm() {
var wqform = document.submitContact;
	if (wqform.fname.value == "" || wqform.fname.value == null) {
		alert("Please enter your Name.");
		wqform.fname.focus();
		return false;
	}
	if (wqform.company.value == "" || wqform.company.value == null) {
		alert("Please enter your Company Name.");
		wqform.company.focus();
		return false;
	}
	if (wqform.phone.value == "" || wqform.phone.value == null) {
		alert("Please enter your phone.");
		wqform.phone.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.currentWeb.value == "" || wqform.currentWeb.value == null) {
		alert("Please enter your Website URL.");
		wqform.currentWeb.focus();
		return false;
	}
	if (wqform.keyword1.value == "" || wqform.keyword1.value == null) {
		alert("Please enter Keyword One.");
		wqform.keyword1.focus();
		return false;
	}
	if (wqform.keyword2.value == "" || wqform.keyword2.value == null) {
		alert("Please enter Keyword Two.");
		wqform.keyword2.focus();
		return false;
	}
	if (wqform.keyword3.value == "" || wqform.keyword3.value == null) {
		alert("Please enter Keyword Three.");
		wqform.keyword3.focus();
		return false;
	}
	if (wqform.comments.value == "" || wqform.comments.value == null) {
		alert("Please enter specific details.");
		wqform.comments.focus();
		return false;
	}
	var detailsSize;
	var detCount;
	detCount = wqform.comments.value
	detailsSize = detCount.length;
	if (detailsSize > 7000) {
		alert("Please limit the comments to 7000 characters.");
		wqform.comments.focus();
	return false;
	}

}