                function ValidateForm() {
                FixThis = "";

                if (document.direct.name.value.length < 6)             { FixThis = FixThis + "* Your full name\n"; }

                if (document.direct.email.value.length > 0) {
                  i = document.direct.email.value.indexOf("@");
                  j = document.direct.email.value.indexOf(".",i);
                  k = document.direct.email.value.indexOf(",");
                  kk = document.direct.email.value.indexOf(" ");
                  jj = document.direct.email.value.lastIndexOf(".") + 1;
                  len = document.direct.email.value.length;

                  if ((i > 0) && (j > (i+ 1)) && (k == -1) && (kk == -1) && (len - jj >= 2) && (len - jj <= 3)) {
                  } else {
                    FixThis = FixThis + "* [" + document.direct.email.value + "] is an invalid e-mail address\n";
                  }
                } else {
                  FixThis = FixThis + "* A valid e-mail address\n";
                }

                if (document.direct.passw.value.length < 4)             { FixThis = FixThis + "* Your password\n"; }
                if (document.direct.passw2.value.length < 4)            { FixThis = FixThis + "* Your re-typed password\n"; }
                if (document.direct.passw.value != document.direct.passw2.value) { FixThis = FixThis + "* Your password entries must match each other     \n"; }
                if ((document.direct.night_phone_a.value.length < 3) || (document.direct.night_phone_b.value.length < 3) || (document.direct.night_phone_c.value.length < 3))                                 { FixThis = FixThis + "* A valid phone number\n"; }
                if (!document.direct.terms.checked)                     { FixThis = FixThis + "* Your terms of service agreement\n"; }

                if (FixThis > "") {
                  alert("You did not enter:\n\n" + FixThis)
                  return false }
                }
