function checklog(){
if (toplogin.UsernameGet.value==""){
		window.alert("【系统提示】\n\n请输入登录名！");
		toplogin.UsernameGet.focus();
		return false;
	}

if (toplogin.UsernameGet.value!=""){
	if (toplogin.UsernameGet.value.length<4||toplogin.UsernameGet.value.length>20){
		window.alert("【系统提示】\n\n您输入的用户名必需是在4-20位之间字付！");
		toplogin.UsernameGet.focus();
		toplogin.UsernameGet.select();
		return false;
	}
	
	if (toplogin.qp[1].checked !=true && toplogin.qp[0].checked !=true){
		window.alert("【系统提示】\n\n请选择登录类型！");
		//toplogin.qp.focus();
		return false;
	}	

	 toplogin.action="http://www.eyeworld.cn/aaass/UserLogin.aspx"
	 toplogin.submit(); 
}
}
