                                         
function findqypwd()                                              
{                                              
window.open("/register/findpwd.asp?hylx=ggz","newwind","height=300,width=450,location=no,menubar=no,resize=no,scrollbars=no,status=no,toolbar=no,left=260,top=200");                                              
}
function findyypwd()                                              
{                                              
window.open("/register/findpwd.asp?hylx=wzz","newwind","height=300,width=450,location=no,menubar=no,resize=no,scrollbars=no,status=no,toolbar=no,left=260,top=200");                                              
}                                            
function checkform()
{
if(document.login.login_name.value==""){
 alert("请输入你的用户名！");
 return false ;
 }
 if(document.login.password.value==""){
 alert("请输入你的密码！");
 return false ;
 }
 if(document.login.verifycode.value==""){
 alert("请输入验证码！");
 return false ;
 }
 if(validRadio(document.login.hylx,"请选择用户类型."))
 {}else{return false;}
}

function validRadio(theId,msg)
{
var count=0;
for (ii=0;ii<theId.length;ii++)
{
if (theId[ii].type=="radio" && theId[ii].checked==true)
{
count++;
}
}

if(count==0)
{
	window.alert(msg);
    theId[0].focus();
    return false;
}

 return true;
}

