// JavaScript Document

  var hold='';
  var alertstr="You must fill out the following fields:\n";
  function checkform()
       {
	   var illegalChars= /[\(\)\<\>\,\;\:\\\/\"\[\]]/
   	   var emailFilter=/^.+@.+\..{2,3}$/;
       
	   err=1
       if (document.forms.byteIT.email.value.length < 5)
           {
           alertstr=alertstr + "     Your email is too short\n";
           err=0;
           }
	   
	   if (document.forms.byteIT.email.value == "")
           {
           alertstr=alertstr + "     Your email\n";
           err=0;
           }
	    if (document.forms.byteIT.email.value.match(illegalChars)) {
   			alertstr=alertstr + "       The email address contains illegal characters.\n";
			err=0;
		} 		
		
 	   if (document.forms.byteIT.street.value.length < 5)
           {
           alertstr=alertstr + "     Your contact Street\n";
           err=0;
           }
	   if (document.forms.byteIT.city.value.length < 4)
           {	alertstr=alertstr + "     Your City, ST, Zip\n";
           err=0;	}
		if (document.forms.byteIT.zip.value.length < 5)
           {	alertstr=alertstr + "     Your Zip\n";
           err=0;	}   
       return err;
       }
  
  function sendmail()
       {   if (checkform())
                document.forms.byteIT.submit()
            else
            {  alert(alertstr);
               alertstr="You must fill out the following fields:\n";  }
       }
