function check(form) {
	var theForm = document.moreinfo;

	var tfCONTACT = theForm.CONTACT.value;
	if (tfCONTACT == "") {
		alert("Please enter your Name.");
		theForm.CONTACT.focus();
		return(false);
	}
	if (checkComma(tfCONTACT)) {
		theForm.CONTACT.focus();
		return(false);
	}

	var tfTITLE = theForm.TITLE.value;
	if (checkComma(tfTITLE)) {
		theForm.TITLE.focus();
		return(false);
	}

	var tfAddress1 = theForm.Address1.value;   
	if (tfAddress1 == "") {
		alert("Please enter your Address.");
		theForm.Address1.focus();
		return(false);
	}
	if (checkComma(tfAddress1)) {
		theForm.Address1.focus();
		return(false);
	}

	var tfAddress2 = theForm.Address2.value;
	if(checkComma(tfAddress2)) {
		theForm.Address2.focus();
		return(false);
	}

	var tfCity = theForm.City.value;
	if (tfCity == "") {
		alert("Please enter your City.");
		theForm.City.focus();
		return (false);
	}
	if(checkComma(tfCity)) {
		theForm.City.focus();
		return(false);
	}
   
	//state must be filled in and valid (2 chars)
	var tfState = theForm.State.value;
	if ((tfState == "") || 
	(tfState.length != 2)) {
		alert("Please enter your State/Province.");
		theForm.State.focus();
		return (false);
	}
	if(checkComma(tfState)) {
		theForm.State.focus();
		return(false);
	}
   
	//zip must be filled in and valid (a 5 digit #)
	var tfZip = theForm.Zip.value;
	if (tfZip == "") {
		alert("Please enter your Zip/Postal Code.");
		theForm.Zip.focus();
		return (false);
	}
	if(checkComma(tfZip)) {
		theForm.Zip.focus();
		return(false);
	}

	var tfCountry = theForm.Country.value;
	if(checkComma(tfCountry)) {
		theForm.Country.focus();
		return(false);
	}

	//email must be filled in and valid (@, .)
	var mailBox = theForm.cs1_ContSupRef.value;
	if ((mailBox == "") ||
		(mailBox.indexOf("@") < 0) ||
		(mailBox.indexOf(".") < 0)) {
		alert("Please enter your E-mail Address");
		theForm.cs1_ContSupRef.focus();
		return (false);
	}
	if(checkComma(mailBox)) {
		theForm.cs1_ContSupRef.focus();
		return(false);
	}
   
	var tfPhone1 = theForm.Phone1.value;
	if (tfPhone1 == "") {
		alert("Please enter your phone number.");
		theForm.Phone1.focus();
		return (false);
	}
	if(checkComma(tfPhone1)) {
		theForm.Phone1.focus();
		return(false);
	}

	var tfkey3 = theForm.key3.value;
	if (tfkey3 == "") {
		alert("Please select a company type.");
		theForm.key3.focus();
		return (false);
	}

	var tfuinforeq = theForm.uinforeq.value;
	if (tfuinforeq == "") {
		alert("Please select the desired information type.");
		theForm.uinforeq.focus();
		return (false);
	}
   
   return (true);
   theForm.submit.type = "submit";
  }
 
function checkComma(s)
{
	if (s.indexOf(",") >= 0) {
		alert("Sorry, you cannot use commas in this field.")
		return(true);
	}
	return(false);
}
