// VALIDATION FUNCTION
function checkWholeForm(theForm) {
	if ((document.getElementById("phoneAc").value=="") || (document.getElementById("phoneEx").value=="") || (document.getElementById("phoneSuff").value==""))  {
		document.getElementById("singlePhoneLine").style.display="none";
		document.getElementById("phoneFields2").style.display="block";
	}
	if (document.getElementById("street").value=="street*") document.getElementById("street").value="";
	if (document.getElementById("city").value=="city*") document.getElementById("city").value="";
	if (document.getElementById("zip").value=="zip*") document.getElementById("zip").value="";
	var why = "";
	why += checkDropdown(document.getElementById("service").selectedIndex,"service","the Service Type");
	why += checkAllNumbers(document.getElementById("phoneAc").value,"phoneFields2","3","Phone Area Code");
	why += checkAllNumbers(document.getElementById("phoneEx").value,"phoneFields2","3","Phone Prefix");
	why += checkAllNumbers(document.getElementById("phoneSuff").value,"phoneFields2","4","Phone Number");
	why += isEmpty(document.getElementById("street").value,"street","Your Address");
	why += isEmpty(document.getElementById("city").value,"city","Your City");
	why += checkDropdown(document.getElementById("state").selectedIndex,"state","Your State");
	why += checkAllNumbers(document.getElementById("zip").value,"zip","5","Zip Code");
	if (why != "") {
	   alert(why);
	   return false;
	}
	//storeFormData ();
	cmCreateConversionEventTag ("FormComplete_LP_"+document.getElementById("service").value,"2","FormCompletion",null)
	cmCreateConversionEventTag (document.getElementById("service").value+" qual","2","Qual Service Type",null);
	startQTFlag=0;
	return true;
}
// VALIDATION FUNCTION
