function checkForm()
{
	var username=document.frm.username.value;
	var password=document.frm.password.value;
	//var password2=document.frm.password2.value;
	
	
	if(username=="")
	{
		alert("用户名不能为空！");
		return false;
	}
	
	if(password=="")
	{
		alert("密码不能为空！");
		return false;
	}
	
	//if(password!=password2)
	//{
		//alert("密码不一致！");
		//return false;
	//}
	
	return true;
	
}
