﻿// JScript 文件
function ChkLogin() 
{
    if(document.getElementById("txtUserName").value=="")
    {
        alert('"用户名" 不能为空');
        document.getElementById("txtUserName").focus();
        return false;
    }
    if(document.getElementById("txtPassWord").value=="")
    {
        alert('"密码" 不能为空');
        document.getElementById("txtPassWord").focus();
        return false;
    }
}
function ChkUserLogin() 
{
    if(document.getElementById("txtUserName").value=="")
    {
        alert('"用户名" 不能为空');
        document.getElementById("txtUserName").focus();
        return false;
    }
    if(document.getElementById("txtPassWord").value=="")
    {
        alert('"密码" 不能为空');
        document.getElementById("txtPassWord").focus();
        return false;
    }
    if(document.getElementById("txtYanZM").value=="")
    {
        alert('"验证码" 不能为空');
        document.getElementById("txtYanZM").focus();
        return false;
    }
}
