   // check confirmation password
    function confirmPassword(action) {

          var msg_key = action + "_error";
          var pw1 = document.getElementById("signup_pass").value;
          var pw2 = document.getElementById("pass_again").value;
          //alert(pw1)
          if (pw1 != pw2) {
              document.getElementById(msg_key).innerHTML = "Password not match";
              return false;
          }
          document.getElementById(msg_key).innerHTML = "";
          return true;
    }

   