function validateQue(option) {
	NameVal = self.document.Request_DMS_Question.name.value;
	CompanyVal = self.document.Request_DMS_Question.company.value;
	EmailVal = self.document.Request_DMS_Question.email.value;
	QuestionVal = self.document.Request_DMS_Question.question.value;	
	errorList = "";

	if (QuestionVal == "") {
		errorList = "* Question\n" + errorList;
		self.document.Request_DMS_Question.question.focus();
	}
	if (EmailVal == "") {
		errorList = "* Email\n" + errorList;
		self.document.Request_DMS_Question.email.focus();
	}
	if (CompanyVal == "") {
		errorList = "* Company\n" + errorList;
		self.document.Request_DMS_Question.company.focus();
	}
	if (NameVal == "") {
		errorList = "* Name\n" + errorList;
		self.document.Request_DMS_Question.name.focus();
	}

	if (errorList == "") {
		self.document.Request_DMS_Question.submit();
	}
	else {
		alert('The following information is required...    \n\n' + errorList);
	}
}

function validateQuo(option) {
	NameVal = self.document.Request_DMS_Quote.name.value;
	TitleVal = self.document.Request_DMS_Quote.job_title.value;	
	CompanyVal = self.document.Request_DMS_Quote.company.value;
	EmailVal = self.document.Request_DMS_Quote.email.value;
	BuildingVal = self.document.Request_DMS_Quote.building_name.value;
	AddressVal = self.document.Request_DMS_Quote.address.value;	
	CityVal = self.document.Request_DMS_Quote.city.value;		
	PostalCodeVal = self.document.Request_DMS_Quote.postal_code.value;		
	PhoneVal = self.document.Request_DMS_Quote.phone.value;
	TypeServiceVal = self.document.Request_DMS_Quote.type_of_service.value;
	AiVal = self.document.Request_DMS_Quote.additional_information.value;	
	errorList = "";

	if (AiVal == "") {
		errorList = "* Additional Information\n" + errorList;
		self.document.Request_DMS_Quote.additional_information.focus();
	}
	if (TypeServiceVal == "") {
		errorList = "* Type Of Service\n" + errorList;
		self.document.Request_DMS_Quote.type_of_service.focus();
	}
	if (PhoneVal == "") {
		errorList = "* Phone\n" + errorList;
		self.document.Request_DMS_Quote.phone.focus();
	}
	if (PostalCodeVal == "") {
		errorList = "* Postal Code\n" + errorList;
		self.document.Request_DMS_Quote.postal_code.focus();
	}
	if (CityVal == "") {
		errorList = "* City\n" + errorList;
		self.document.Request_DMS_Quote.city.focus();
	}
	if (AddressVal == "") {
		errorList = "* Address\n" + errorList;
		self.document.Request_DMS_Quote.address.focus();
	}
	if (BuildingVal == "") {
		errorList = "* Building Name\n" + errorList;
		self.document.Request_DMS_Quote.building_name.focus();
	}
	if (EmailVal == "") {
		errorList = "* Email\n" + errorList;
		self.document.Request_DMS_Quote.email.focus();
	}	
	if (CompanyVal == "") {
		errorList = "* Company\n" + errorList;
		self.document.Request_DMS_Quote.company.focus();
	}		
	if (TitleVal == "") {
		errorList = "* Job Title\n" + errorList;
		self.document.Request_DMS_Quote.job_title.focus();
	}
	if (NameVal == "") {
		errorList = "* Name\n" + errorList;
		self.document.Request_DMS_Quote.name.focus();
	}	
	
	if (errorList == "") {
		self.document.Request_DMS_Quote.submit();
	}
	else {
		alert('The following information is required...    \n\n' + errorList);
	}
}


function validateSer(option) {
	PoVal = self.document.Request_DMS_Service.purchase_order.value;
	CompanyVal = self.document.Request_DMS_Service.company.value;
	ContactVal = self.document.Request_DMS_Service.contact_name.value;
	TitleVal = self.document.Request_DMS_Service.job_title.value;
	PhoneVal = self.document.Request_DMS_Service.phone.value;
	ServiceVal = self.document.Request_DMS_Service.service_details.value;
	EquiVal = self.document.Request_DMS_Service.type_of_equipment.value;
	LocVal = self.document.Request_DMS_Service.location_of_equipment.value;
	errorList = "";

	if (LocVal == "") {
		errorList = "* Location of Equipment\n" + errorList;
		self.document.Request_DMS_Service.location_of_equipment.focus();
	}
	if (EquiVal == "") {
		errorList = "* Type Of Equipment\n" + errorList;
		self.document.Request_DMS_Service.type_of_equipment.focus();
	}
	if (ServiceVal == "") {
		errorList = "* Service Details\n" + errorList;
		self.document.Request_DMS_Service.service_details.focus();
	}
	if (PhoneVal == "") {
		errorList = "* Phone\n" + errorList;
		self.document.Request_DMS_Service.phone.focus();
	}
	if (TitleVal == "") {
		errorList = "* Job Title\n" + errorList;
		self.document.Request_DMS_Service.job_title.focus();
	}
	if (ContactVal == "") {
		errorList = "* Contact Name\n" + errorList;
		self.document.Request_DMS_Service.contact_name.focus();
	}
	if (CompanyVal == "") {
		errorList = "* Company \n" + errorList;
		self.document.Request_DMS_Service.company.focus();
	}
	if (PoVal == "") {
		errorList = "* Purchase Order\n" + errorList;
		self.document.Request_DMS_Service.purchase_order.focus();
	}	
	
	if (errorList == "") {
		self.document.Request_DMS_Service.submit();
	}
	else {
		alert('The following information is required...    \n\n' + errorList);
	}
}

