// Validation for the Quick Search form
function validateForm(theForm)  
{	
var valid 		= true;
var category 	= theForm.category.value;
var model 		= theForm.model.value;
var flow_rate 	= theForm.flow_rate.value;
var presure 	= theForm.presure.value;
var drive_type 	= theForm.drive_type.value;
var material 	= theForm.material.value;

if (category == "Pumps") 
	{
		if ((model == "") && ((flow_rate == "") && (presure == "") && (drive_type == "") && (material == "")))
		{
			alert("Please select a criteria for your search.");
			theForm.model.focus();
			valid = false;
		}
	}

 return valid;
}
