function checkForm() /*检测用户名和密码*/
{ 
    if(txtUserName != null && txtUserName.value=='')
    {
        alert('请您输入用户名');
        txtUserName.focus();
        return false;
    }
    if(txtPassword != null && txtPassword.value=='')
    {
        alert('请您输入密码');
        txtPassword.focus();
        return false;
    }
    if(txtCheckCode != null && (txtCheckCode.value=='' || txtCheckCode.value=='不区分大小写'))
    {
        alert('请您输入验证码');
        txtCheckCode.focus();
        return false;
    }
}

function refreshVerifyImage(){
    document.getElementById("imgVerify").src='/CheckCode.aspx?'+Math.random();
}

function logout()
{
    top.location='/UserLogin.aspx?OperType=logout&Url=' + top.location.href;
}

function jump(sUrl)
{
    top.location=sUrl;
}
