function checkMe(form) {
   var i = 0
   var txt = "Please correct the following before proceeding: \n"
   var frmArray = new Array()
   var nArray = new Array()
   var myTest
   
   //Make sure they entered the company name
   if (!isEmpty(document.form1.company.value)) {
   	  frmArray[i] = document.form1.company;
	  nArray[i] = "          You must enter your company name.";
	  i = i + 1
	  }
   
   //Make sure they entered their address
   if (!isEmpty(document.form1.address.value)) {
   	  frmArray[i] = document.form1.address;
	  nArray[i] = "          You must enter your address.";
	  i = i + 1
	  }
   
   //Make sure they entered the city
   if (!isEmpty(document.form1.city.value)) {
   	  frmArray[i] = document.form1.city;
	  nArray[i] = "          You must enter your city.";
	  i = i + 1
	  }
   
   //Make sure they have selected a state
   if (!validDrop(document.form1.state)) {
   	  frmArray[i] = document.form1.state;
	  nArray[i] = "          You must choose your state.";
	  i = i + 1
	  }

   //Make sure they entered a zip code and that it is valid
   if (!isEmpty(document.form1.zip.value)) {
   	  frmArray[i] = document.form1.zip;
	  nArray[i] = "          You must enter your zip code.";
	  i = i + 1
	  } else {
	  	if (!validZip(document.form1.zip.value)) {
		   frmArray[i] = document.form1.zip;
		   nArray[i] = "          The zip code you entered is invalid - please re-enter as XXXXX or XXXXX-XXXX.";
		   i = i + 1
		   }
	  }

   //Make sure they enter their phone number and that it is valid
   if (!isEmpty(document.form1.phone.value)) {
   	  frmArray[i] = document.form1.phone;
	  nArray[i] = "          You must enter a phone number.";
	  i = i + 1
	  } else {
	  	if (!validPhone(document.form1.phone.value)) {
		   frmArray[i] = document.form1.phone;
		   nArray[i] = "          The phone number you entered is invalid - please re-enter as XXX-XXX-XXXX.";
		   i = i + 1
		   }
	  }
				 
   //If they entered a fax number make sure it is valid
   if (isEmpty(document.form1.fax.value)) {
   	  if (!validPhone(document.form1.fax.value)) {
	  	 frmArray[i] = document.form1.fax;
	  	 nArray[i] = "          The fax number you entered is invalid - please re-enter as XXX-XXX-XXXX.";
	  	 i = i + 1
	  	 }
	  }
	
   //Make sure they enter their email address			
   if (!isEmpty(document.form1.email.value)) {
  	  frmArray[i] = document.form1.email;
	  nArray[i] = "          You must enter your email address.";
	  i = i + 1
	  } else {
	  	if (!validEmail(document.form1.email.value)) {
		   frmArray[i] = document.form1.email;
		   nArray[i] = "          Your email address you entered is invalid.";
		   i = i + 1
		   }		
	   }	

   //Make sure they enter information for at least one Principal
   if (!isEmpty(document.form1.prinname1.value)) {
  	  frmArray[i] = document.form1.prinname1;
	  nArray[i] = "          You must enter the name of your first principal.";
	  i = i + 1
	  }
   
   if (!isEmpty(document.form1.printitle1.value)) {
  	  frmArray[i] = document.form1.printitle1;
	  nArray[i] = "          You must enter the title for your first principal.";
	  i = i + 1
	  }
	  
  if (!isEmpty(document.form1.prinssn1.value)) {
   	  frmArray[i] = document.form1.prinssn1;
	  nArray[i] = "          You must enter the Social Security Number for your first principal.";
	  i = i + 1
	  }
	  
   //If they choose OTHER for type of business, make sure they specify
   if (document.form1.biztype.value == 'other') {
  	  if (!isEmpty(document.form1.biztypeother.value)) {
	  	 frmArray[i] = document.form1.biztypeother;
	  	 nArray[i] = "          You have chosen OTHER for your business type but did not specify your type of business.";
	  	 i = i + 1
	  	 }
   	  }
	  
   //If they choose "Other" for manufacturing, make sure they specify
   if (document.form1.manufacturing.value == 'other') {
  	  if (!isEmpty(document.form1.manfother.value)) {
	  	 frmArray[i] = document.form1.manfother;
	  	 nArray[i] = "          You have chosen OTHER for manufacturing but did not specify your type of manufacturing.";
	  	 i = i + 1
	  	 }
  	  }

   //Make sure they enter their number of employees and that it is numeric
   if (!isEmpty(document.form1.numemployees.value)) {
  	  frmArray[i] = document.form1.numemployees;
	  nArray[i] = "          You must enter your current number of employees.";
	  i = i + 1
	  } else {
	  	if (!isNumber(document.form1.numemployees.value)) {
		   frmArray[i] = document.form1.numemployees;
		   nArray[i] = "          Please enter a NUMBER for the number of employees at your business.";
		   i = i + 1
		   }
	  }   	  
	  
   for (var x = 0; x < frmArray.length; x++) {
   	   txt = txt + "          \n" + nArray[x];
	   }

   if (frmArray.length > 0) {
   	  alert(txt + "\n" );
	  txt = "Please correct the following before proceeding: \n"
	  i = 0;
	  if (frmArray[0] == document.form1.state) {
	  	 frmArray[0].focus();
		 } else {
		   frmArray[0].focus();
		   frmArray[0].select();
		   }
		   return false;
		 }
   }
