  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <form action="controllers/inputController.php" method="post" name="userform" id="userform">
  <input name="user_pkey" id="user_pkey" type="hidden" value="<?=$pubuserpkey;?>">
  <tr valign=top>
  <td valign=top width=760 colspan=2 class=formvalue>
  Please enter your current Password, followed by your new Password. Then, enter the new Password again.
  </td>
  </tr>
  <tr valign=top>
  <td valign=top width=200 class=formlabel>Current Password</td>
  <td valign=top width=560 class=formvalue>
  <input type="password" name="pwd_current" id="pwd_current" value="">
  </td>
  </tr>
  <tr valign=top>
  <td valign=top width=200 class=formlabel>New Password</td>
  <td valign=top width=560 class=formvalue>
  <input type="password" name="pwd_new" id="pwd_new" value="" onkeypress="alphanumericOnly();">
  </td>
  </tr>
  <tr valign=top>
  <td valign=top width=200 class=formlabel>Confirm New Password</td>
  <td valign=top width=560 class=formvalue>
  <input type="password" name="pwd_confirm" id="pwd_confirm" value="" onkeypress="alphanumericOnly();">
  </td>
  </tr>
  <tr valign=top>
  <td valign=top width=760 colspan=2 class=formvalue>
  <br>
  <i>* Passwords must consist of the letters a-z (lowercase) and numbers only</i><br><br>
  </td>
  </tr>
  <input name="job" type="hidden" id="job" value="user_changepwd">
  </form>
  </table>

  <script type="text/javascript">

  function validateForm() {

    var isvalid=true;
    var errmsg="";
    var currentpwd=document.getElementById('pwd_current');
    var newpwd=document.getElementById('pwd_new');
    var confirmpwd=document.getElementById('pwd_confirm');

    if ((currentpwd.value=="")||(newpwd.value=="")||(confirmpwd.value=="")) {
      errmsg='Current Password, New Password and Confirmation must all be specified!\n';
      isvalid=false;
    }
    if (isvalid==false) alert('Error:\n'+errmsg);
    return isvalid;

  }

  </script>
