
function valForm() {
var wqform = document.submitContact;
var varAlso = "";
	for (var i=0; i<wqform.alsoInterested.length; i++) {
		if (wqform.alsoInterested[i].checked) {
			varAlso = varAlso + wqform.alsoInterested[i].value + ", ";
		}
	}
	wqform.halsoInterested.value = varAlso;

	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.budget.value == "" || wqform.budget.value == null) {
		alert("What is your budget?");
		wqform.budget.focus();
		return false;
	}
	if (wqform.comments.value == "" || wqform.comments.value == null) {
		alert("Please enter your Logo 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;
	}

}
