function checkServiceForm(){		
	
	if (trim(document.serviceForm.companyName.value).length < 2){
		alert("Please enter the company name.");
		document.serviceForm.companyName.value = trim(document.serviceForm.companyName.value);
		document.serviceForm.companyName.focus();
		return false;
	}

	if (trim(document.serviceForm.physicalAddress.value).length < 2){
		alert("Please enter the full company address.");
		document.serviceForm.physicalAddress.value = trim(document.serviceForm.physicalAddress.value);
		document.serviceForm.physicalAddress.focus();
		return false;
	}
	
	if (trim(document.serviceForm.location.value).length < 2){
		alert("Please enter the name of the city in which the company resides.");
		document.serviceForm.location.value = trim(document.serviceForm.location.value);
		document.serviceForm.location.focus();
		return false;
	}
	
	if(trim(document.serviceForm.file.value).length > 0){
		if (!(/^[a-zA-Z]{1}\:\\.{1,}\.[jJgGpP][pPiInN][gGfF]$/.test(trim(document.serviceForm.file.value)))){
			alert("Please choose a valid JPG, GIF or PNG logo image.");
			document.serviceForm.file.value = trim(document.serviceForm.file.value);
			document.serviceForm.file.focus();
			return false;
		}
	}
	
	if (trim(document.serviceForm.companyDescription.value).length < 2){
		alert("Please enter a description for the company.");
		document.serviceForm.companyDescription.value = trim(document.serviceForm.companyDescription.value);
		document.serviceForm.companyDescription.focus();
		return false;
	}
	
	if (trim(document.serviceForm.tel.value).length < 2){
		alert("Please enter the company contact number.");
		document.serviceForm.tel.value = trim(document.serviceForm.tel.value);
		document.serviceForm.tel.focus();
		return false;
	}
	
	if (trim(document.serviceForm.fax.value).length < 2){
		alert("Please enter the company fax number.");
		document.serviceForm.fax.value = trim(document.serviceForm.fax.value);
		document.serviceForm.fax.focus();
		return false;
	}
	
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(trim(document.serviceForm.email.value)))){
		alert("Please enter a valid email address.\n");
		document.serviceForm.email.value = trim(document.serviceForm.email.value);
		document.serviceForm.email.focus();
		return false;
	}
	
	if (trim(document.serviceForm.web.value).length < 2){
		alert("Please enter the company website address.");
		document.serviceForm.web.value = trim(document.serviceForm.web.value);
		document.serviceForm.web.focus();
		return false;
	}

	if (!document.serviceForm.terms.checked){
		alert("Please verify that the information you have entered above is correct.");
		document.serviceForm.terms.focus();
		return false;
	}
	
	return true;
}