function submitChecks()
{
 invalidChars = " /:;%^*()#"; // can't have these chars in an address

	if(document.form2.first_name.value=="")
	{
		alert("Please enter your First Name");
	  document.form2.first_name.focus();
	  return false;
	}
	
	if(document.form2.last_name.value=="")
	{
		alert("Please enter your Last Name");
	  document.form2.last_name.focus();
	  return false;
	}
	
   if (document.form2.address.value == "")
   {
     alert ("Please enter your Address");
     document.form2.address.focus();
     return false;
   }
   
   if (document.form2.city.value == "")
   {
     alert ("Please enter your City");
     document.form2.city.focus();
     return false;
   }
   
   if (document.form2.state.value == "") // data found
   {
      alert ("Please enter your State");
     document.form2.state.focus();
     return false;
   }
   
   // validate Zip (required)
   if (isNaN(document.form2.zip.value)) // ensure numeric
   {
      alert ("Zip code must be entered and numeric");
      document.form2.zip.focus();
      document.form2.zip.select();
      return false;
   }
 
if (document.form2.zip.value.length != 5) // ensure length
   {
     alert ("You must enter a 5 digit zip code");
     document.form2.zip.focus();
     document.form2.zip.select();
     return false;
   }
   
   if (document.form2.country.value == "")
   {
     alert ("Please enter your Country");
     document.form2.country.focus();
     return false;
   }

   if (document.form2.email.value == "") // none specified
   {
      alert("Please enter your Email Address");
	  document.form2.email.focus();
      return false;
   }

   for (i=0;i<invalidChars.length;i++) // loop through each invalid char
   {
      badChar = invalidChars.charAt(i); // pick off the next char to check

      if (document.form2.email.value.indexOf(badChar,0) > -1) // find an occurance?
	  {
	     alert("There is an invalid character in the email address please remove the '"+invalidChars.charAt(i)+"'");
         document.form2.email.focus();
		 return false;
	  }
   }
   
   // at this point only valid chars exist
   atPos = document.form2.email.value.indexOf("@",1); // starting w/2nd char (can't be 1st char)
                                 // where is first atsign
   if (atPos == -1) // no atsign, bummer
   {
      alert("You are missing the @ character in your email address");
      document.form2.email.focus();
	  return false;
   }

   //if (document.form2.submittedName.value.indexOf("@",atPos+1)>-1)  // any more atsigns?
      //return false;

   periodPos = document.form2.email.value.indexOf(".",atPos) // find dot

   if (periodPos == -1) // none found, too bad
   {
      alert("You are missing your .com .net etc.... or it is mispelled");
      document.form2.email.focus();
	  return false;
   }//enf if

   if (periodPos+3 > document.form2.email.value.length) // more than 3 chars for extension
   {
      alert("You are missing your .com .net etc.... or it is misspelled");
	  document.form2.email.focus();
	  return false;
   }//end if
	  
 return true;
 
}//end function submitChecks()