<br><br><br><br><br>
<table border="0" align="center" width="60%" cellpadding="0" cellspacing="0">
<tr>
  <td bgcolor=@@@TITLEBAR@@@><font color=@@@TITLEBAR_TEXT@@@ face=@@@FONTFACE@@@ size="3"><B>Change Password</B></FONT></td>
</tr>
<tr>
  <td align="center" bgcolor=@@@WINDOW_LIGHT@@@>
  @@@STARTFORM@@@<br>
    <table align="center" border="0" cellspacing="2" cellpadding="0">
    <tr>
      <td align="right">UserID: </td>
      <td>@@@LOGINNAMEFIELD@@@</td>
    </tr>
    <tr>
      <td align="right">Old Password: </td>
      <td>@@@OLDPASSWORDFIELD@@@</td>
    </tr>
    <tr>
      <td align="right">New Password: </td>
      <td>@@@NEWPASSWORDFIELD@@@</td>
    </tr>
    <tr>
      <td align="right">Confirm New Password: </td>
      <td>@@@CONFIRMNEWPASSWORDFIELD@@@</td>
    </tr>
    <tr>
      <td colspan="2">
        <table width="100%">
        <tr>
          <td align="center">@@@CHANGEBUTTON@@@ @@@ENDFORM@@@ </td>
          <td align="center">@@@CANCELBUTTON@@@</td>
        </tr>
        </table>
      </td>
    </tr>
    </table>
  </td>
</tr>
</table>

<script language="javascript">
   document.passwordform.oldpassword.focus()

   function changecheck() {
      var s;
      s=document.passwordform.newpassword.value;
      if (s.length < @@@PASSWDMINLEN@@@) {
         alert("Password must has at least @@@PASSWDMINLEN@@@ characters.");
         return false;
      }
      if (document.passwordform.newpassword.value != document.passwordform.confirmnewpassword.value) {
         alert("New password confirm mismatch.");
         return false;
      }
      if (document.passwordform.newpassword.value == document.passwordform.oldpassword.value) {
         alert("New password is the same as the old one.");
         return false;
      }
      return true;
   }

</script>
