// JavaScript Document

function chkLogin(theform)
{
	if(theform.UserName.value=="")
	{
		alert("请输入用户名");
		theform.UserName.focus();
		return false;
	}
	if(theform.TxtPwd.value=="")
	{
		alert("请输入密码");
		theform.TxtPwd.focus();
		return false;
	}
	return true;
}