e.display = "none";
        return true;
      }
      document.getElementById("wpakey_invalid").style.display = "";
      break;
  }
  return false;
}
</script>
<script>
function ChangeWiFiMode(mode) {
  var i;
  var len;
  var obj;
  var option;
  obj = document.formu.securitymode;
  len = obj.length;
  switch (mode) {
    case '3':
      for (i=0; i<len; i++) {
        option = obj.options[i];
        if ((option.value == 2) || (option.value == 3)) {
          option.style.color = '#999999';
          op