alid email address";
             return false;
         }
        }

      // Depreciated: event function for email textbox
      function validateEmail_event(e) {
          if (validateEmail(e.value) == false) {
              //alert("You have entered an invalid email address!")
              document.getElementById('signup_error').innerHTML = "Invalid email address";
          }
          else{
              document.getElementById('signup_error').innerHTML = "";
          }
      }

      // check passw