function StartUp() {
  document.myForm.First.focus();
}

function SubmitSelected() {
  if (document.myForm.First.value.length < 1) {
    alert("Please enter your first name before continuing.")
    document.myForm.First.focus();
    return;
  }
  if (document.myForm.Last.value.length < 1) {
    alert("Please enter your last name before continuing.")
    document.myForm.Last.focus();
    return;
  }
  if (document.myForm.Email.value.length < 6) {
    alert("Please enter a valid email address before continuing.")
    document.myForm.Email.focus();
    return;
  }
  var Test = document.myForm.Email.value;
  if ((Test.indexOf("@") == -1) || (Test.indexOf(".") == -1) || (Test.indexOf("'") > -1) || (Test.indexOf("\"") > -1) || (Test.indexOf(" ") > -1)
     || (Test.indexOf("+") > -1) || (Test.indexOf(":") > -1) || (Test.indexOf(",") > -1) || (Test.indexOf("(") > -1) || (Test.indexOf(")") > -1)
     || (Test.indexOf(";") > -1) || (Test.indexOf("[") > -1) || (Test.indexOf("]") > -1) || (Test.indexOf("#") > -1) || (Test.indexOf("/") > -1)
     || (Test.indexOf("\\") > -1) || (Test.indexOf("&") > -1) || (Test.indexOf("<") > -1) || (Test.indexOf(">") > -1) || (Test.indexOf("?") > -1)
     || (Test.indexOf("|") > -1) || (Test.indexOf("!") > -1) || (Test.indexOf("$") > -1) || (Test.indexOf("%") > -1) || (Test.indexOf("^") > -1)
     || (Test.indexOf("{") > -1) || (Test.indexOf("}") > -1) || (Test.indexOf("=") > -1)) {
    alert("Please enter a valid email address before continuing.")
    document.myForm.Email.focus();
    return;
  }
  if (document.myForm.Password.value.length < 1) {
    alert("Please create a password before continuing.")
    document.myForm.Password.focus();
    return;
  }
  if (document.myForm.Password.value.length < 4) {
    alert("The password needs to be at least four characters.")
    document.myForm.Password.focus();
    return;
  }
  myForm.submit();
}

function ChangeDesignTheme(DesignID) {
  document.myForm2.DesignThemeID.value = DesignID.value;
  document.myForm2.submit();
}

