//-----------------------------------------------------------
// Code to make sure user inputs proper info
//-----------------------------------------------------------

         function FormCheck()
         {
         
             if (document.theform.name.value == "")
             {
             alert("Please enter your name in the contact form.");
             return false;
             }

             if (document.theform.email.value == "")
             {
             alert("Please enter your email address in the contact form.");
             return false;
             }

             if (document.theform.email.value.indexOf("@") == -1)
             {
             alert("Sorry, the email address you entered does not appear to be valid.  Please enter a correct email address.");
             return false;
             }


	      	 if (document.theform.message.value == "")
             {
             alert("Please enter a message in the contact form.");
             return false;
             }

			 mt=document.theform.message.value;
             if (mt.length>20000)
             {
             alert("Sorry, your message is too long.  Please shorten your message, or contact us via the email address on the left side of the page.");
             return false;
             }
            
             
         }
