function checkForm(theForm) {

      if (theForm.name.value == " name" || theForm.name.value == "" || theForm.name.value == null || theForm.name.value.charAt(0) == ' ') {
        alert("B-Active || please enter your name")
        theForm.name.focus()
        return false;
      }

	  <!-- EMAIL Check for EMPTY Cell -->
      if (theForm.email.value == " email" || theForm.email.value == "" || theForm.email.value == null || theForm.email.value.charAt(0) == ' ') {
        alert("B-Active || please enter your e-mail address")
        theForm.email.focus()
        return false;
      }
      <!-- Check if EMAIL is Valid -->
      validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;
      // search email text for regular exp matches
      if (theForm.email.value.search(validRegExp) == -1) {
        alert("B-Active || please enter a valid e-mail address");
        theForm.email.focus()
        return false;
      }
	  if (theForm.comments.value == "" || theForm.comments.value == null || theForm.comments.value.charAt(0) == ' ') {
        alert("B-Active || please enter your message")
        theForm.comments.focus()
        return false;
      }
      return true;
    }