<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="../../Content/style.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/lib/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../Scripts/common.js"></script>
    <script src="../../Scripts/msg.js" type="text/javascript"></script>
    <script src="../../Scripts/msgBox.js" type="text/javascript"></script>
    <script type="text/javascript">
//        $(function () {
//            createMimaDialog();

//        })
//        function changeLevelPwd() {
//            var pwd = $(this).val();
//            var level = getLevelPwd(pwd);
//            var msg = ["低", "低", "中", "高"];
//            //    alert(level);
//            if (level == -1 || level == 0) {//如果level大于0 
//                $("table.mima td").css({ "background-image": "url('../../Content/Default/images/mima_02.gif')", "background-repeat": "no-repeat", "background-position": "bottom" });
//            } else {
//                $("table.mima td:lt(" + (level) + ")").css({ "background-image": "url('../../Content/Default/images/mima_01.gif')", "background-repeat": "no-repeat", "background-position": "bottom" });
//                $("table.mima td:gt(" + (level - 1) + ")").css({ "background-image": "url('../../Content/Default/images/mima_02.gif')", "background-repeat": "no-repeat", "background-position": "bottom" });
//            }
//            if (level == -1) {
//                $("#level").text("");
//            } else {
//                $("#level").text(msg[level]);
//            }
//        }

//        //获取密码的强度等级
//        function getLevelPwd(pwd) {
//            var score = 0;
//            if (pwd.length <= 5) {
//                score = 0;
//            } else {
//                if (/[0-9]/.test(pwd)) {
//                    score++;
//                }
//                if (/[a-z]/.test(pwd)) {
//                    score++;
//                }
//                if (/[A-Z]/.test(pwd)) {
//                    score++;
//                }
//                if (/\W/.test(pwd)) {
//                    score++;
//                }
//            }
//            if (!pwd) {
//                score = -1;
//            }
//            if (score >= 3) {
//                return 3;
//            } else {
//                return score;
//            }
//        }
    </script>
</head>
<body>
<!--    <div class="title_bar">
        <div class="topi">
            <div class="column">
                <div id="added">
                </div>
                <div class="dedt">
                </div>
                <div class="clr">
                </div>
            </div>
            <div>
            </div>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="global">
        <ul class="global_sid">
            <li><a href="#" class="active">修改密码</a></li>
             <li><a href="#" class="active" onclick="createMimaDialog()">修改</a></li>
        </ul>
        <div id="idDiv_p0701" class="global_con">
            <ul>
                <li class="con_h2">修改密码:</li>
                <li class="goll_inp">原&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：<input
                    type="password" id="oldPwd" name="oldPwd" onkeypress="return checkValidate(event)"
                    onpaste="return validatePaste()" />
                </li>
                <li class="goll_inp">新&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：<input
                    type="password" id="newPwd" name="newPwd" onkeypress="return checkValidate(event)"
                    onpaste="return validatePaste()" onkeyup="changeLevelPwd.call(this)" /></li>
               
                <li><font color="gray" style="float:left; margin-left:60px;">密码强度：<span id="level"></span></font>
                    <table class="mima" style="width:80px;height:10px; margin:8px 0 0 20px;" >
                        <tr>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                </li>
               <!-- <li>6~16位，字母，数字，特殊字符组合能提高密码安全性。</li>-->
              <li class="goll_inp">再次输入密码：<input type="password" id="newaginPwd" name="newaginPwd"
                    onkeypress="return checkValidate(event)" onpaste="return validatePaste()" />
                </li>
                <li class="con_btn"><a href="#" onclick="UpdatePwd()">保存</a><a href="#">退出</a></li>
                <li class="bor"></li>
            </ul>
        </div>
        <div id="divMimalog"></div>-->
</body>
</html>
