<!--#include virtual="/show/indexhead.asp"-->

<script language=javascript>
function refreshImage(img)
{
    var imageUrl = '/inc/code/'; 
    img.src = imageUrl + '?' + Math.random();
}

function chkzhaohui()
{
	if(form1.username.value==""){alert("请填写完整");return false;}
	if(form1.code.value==""){alert("请填写右侧的验证码");return false;}
}

function selectptype(str)
{
	if(str=="1")
	{
	nameid.innerHTML = "密码问题";
	namecon.innerHTML = "密码问题";
	}
	else if(str=="2")
	{
	nameid.innerHTML = "电子邮箱：";
	namecon.innerHTML = "请填写电子邮箱";
	}
	else if(str=="3")
	{
	nameid.innerHTML = "手机号：";
	namecon.innerHTML = "请填写手机号";
	}
}

</script>




<div class="mian">
<div class="regbox conter">
<div class="nyclassbt01 conter">找回密码</div>
<form action="/index/pass2" method="post" name="form1" id="form1" onSubmit="return chkzhaohui()">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="280" height="50" class="regtext">找回方式：</td>
    <td width="303">
    	<select name="fangshi" class="reginput" id="fangshi" onChange="selectptype(this.value)">
        <!--
        <option value="1">通过安全问题找回密码</option>
        -->
        <option value="2">通过邮箱找回密码</option>
        <option value="3">通过手机短信找回密码</option>
        </select></td>
    <td width="452"><div class="regts" >请选择一种找回密码的方式</div></td>
  </tr>
  <tr>
    <td height="50" class="regtext"><span id="nameid">电子邮箱：</span></td>
    <td><input name="username" id="username" type="text" class="reginput" maxlength="28"></td>
    <td><div id="namecon" class="regts" >请填写电子邮箱</div></td>
  </tr>
  <tr>
    <td height="50" class="regtext">验证码：</td>
    <td><input name="code" type="text" class="reginput" id="code" maxlength="4"></td>
    <td><img src="/inc/code/" alt="点击刷新验证码" style="cursor:pointer" border=0 onClick="refreshImage(this);"/></td>
  </tr>
  <tr>
    <td height="69" class="regtext">&nbsp;</td>
    <td align="left"><input style="cursor:pointer" name="tijiao" type="submit" class="logindlreg" id="tijiao" value=" 下一步 "></td>
    <td></td>
  </tr>
  </table>
</form>
<br>

</div>
</div>



<!--#include virtual="/show/indexfoot.asp"-->