<!--
function Validate_Contact() {
  FixThis = "";

  if (document.contact_us.realname.value == "") {
    FixThis = FixThis + "* You have not entered your name. How will we know who you are?     \n"; }

  if (document.contact_us.email.value == "") {
    FixThis = FixThis + "* You have not entered your email address. How will we contact you?     \n"; }

  if (document.contact_us.email.value.length > 0) {
    i   = document.contact_us.email.value.indexOf("@");
    j   = document.contact_us.email.value.indexOf(".",i);
    k   = document.contact_us.email.value.indexOf(",");
    kk  = document.contact_us.email.value.indexOf(" ");
    jj  = document.contact_us.email.value.lastIndexOf(".")+1;
    len = document.contact_us.email.value.length;

    if ((i > 0) && (j > (i+1)) && (k == -1) && (kk == -1) &&
      (len-jj >= 2) && (len-jj <= 3)) {
    } else {
      FixThis = FixThis + "* [" + document.contact_us.email.value + "] is an invalid e-mail address. Please enter a valid one.     \n";
    }
  }

  if (document.contact_us.message.value.length < 10) {
    FixThis = FixThis + "* You did not write a message. How will we know what you want?     \n";
  }

  if (FixThis > "") {
    alert("You tried to send us a message but...\n\n" + FixThis + "\nPlease fill in all the information so that we can get back to you.")
    return false }
  }
// -->