<script language="javascript">
	
	function change_pass(){
	pass=document.form_pass.password.value;
	re=document.form_pass.re_password.value;
	if(pass!=re || pass==""){
		alert("Username and password not match");
		document.form_pass.re_password.value="";
		return false;
		}
	document.form_pass.submit();
	}
	
</script>
<form name="form_pass" action="index.php?postdb=chpass_db" method="post">
<table width="357" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
            <td width="6" height="5"><img src="images/dashboard_01.jpg" width="6" height="5" /></td>
            <td width="340" background="images/dashboard_02.jpg"></td>
            <td width="6" height="5"><img src="images/dashboard_03.jpg" width="6" height="5" /></td>
          </tr>
          <tr>
            <td><img src="images/dashboard_04.jpg" width="6" height="22" /></td>
            <td align="left" background="images/dashboard_05.jpg" class="font">&nbsp;&nbsp;<strong>Change Password</strong></td>
            <td><img src="images/dashboard_06.jpg" width="7" height="22" /></td>
          </tr>
          <tr>
            <td><img src="images/dashboard_07.jpg" width="6" height="4" /></td>
            <td><img src="images/dashboard_08.gif" width="344" height="4" /></td>
            <td><img src="images/dashboard_09.gif" width="7" height="4" /></td>
          </tr>
          <tr>
            <td background="images/dashboard_10.gif"></td>
            <td align="center" valign="top"><table width="340" class="font" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <th colspan="2" scope="col">&nbsp;</th>
  </tr>
  <tr>
    <td><strong>Password</strong></td>
    <td><input type="password" name="password"></td>
  </tr>
  <tr>
    <td><strong>Confirm Password </strong></td>
    <td><input type="password" name="re_password"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="button" value="Edit" onClick="change_pass()"></td>
  </tr>
</table></td>
            <td background="images/dashboard_12.gif"></td>
          </tr>
          <tr>
            <td width="6" height="6" valign="top"><img src="images/dashboard_13.gif" width="6" height="6" /></td>
            <td><img src="images/dashboard_14.gif" width="344" height="6" /></td>
            <td width="7" height="6" valign="top"><img src="images/dashboard_15.gif" width="7" height="6" /></td>
          </tr>
        </table>
</form>
















