function validate(form)
{
  var ship_to_billing3 = form.ship_to_billing3;
	//  PARTCODE: FACRSP106
	var ship_to_billing2 = form.ship_to_billing2;
	//  PART CODE: SMSP106
	var ship_to_billing = form.ship_to_billing;
	//  PART CODE: BOEMPK06
	
	var firstname = form.shipping_First_Name;
	var lastname = form.shipping_Last_Name;
	var company = form.shipping_Company;
	var address = form.shipping_address;
	var city = form.shipping_city;
	var state = form.shipping_state;
	var zip = form.shipping_zip;
	var email = form.shipping_fax;
	var email_test = /^[a-z0-9][^\(\)\<\>\@\,|;\:\\\"\[\]]*\@[a-z0-9\-\.]*\.[a-z]{2,4}$/i;
	
	//
	// Make sure at least one product is selected
	//
	if (ship_to_billing3.checked == false && ship_to_billing2.checked == false && ship_to_billing.checked == false) {
	  alert("You must select at least ONE product to order.");
		return false;
	}
	
	//
	//Check that the necessary billing information has been filled in.
	//
	if (firstname.value == "") {
	  alert("Please enter your first name.");
		firstname.focus();
		return false;
	}
	
	if (lastname.value == "") {
	  alert("Please enter your last name.");
		lastname.focus();
		return false;
	}
	
	if (company.value == "") {
	  alert("Please enter the name of your company.");
		company.focus();
		return false;
	}
	
	if (address.value == "") {
	  alert("Please enter your address.");
		address.focus();
		return false;
	}
	
	if (city.value == "") {
	  alert("Please enter your city.");
		city.focus();
		return false;
	}
	
	if (state.selectedIndex == "0") {
	  alert("Please select a state.");
		state.focus();
		return false;
	}
	
	if (zip.value == "") {
	  alert("Please enter a zip code.");
		zip.focus();
		return false;
	}
	
	if (email.value == "") {
	  alert("Please enter your email address.");
		email.focus();
		return false;
	}
	
	//
	// Use a regular expression to test the validity of the entered email address
	//
	if (!email_test.test(email.value)) {
	  alert("The email address you've entered doesn't appear to be valid. Please re-check the email address you've typed in.");
		email.focus();
		return false;
	}
	
	//alert("OK");
	return true;
}