﻿function login()
        {
            var n = document.getElementById("TextBoxUid").value;
            var p = document.getElementById("TextBoxPwd").value;
            
            if (n == "")
            {
                alert('请输入用户名');
                return;
            }
            else if (p == "")
            {
                alert('请输入密码');
                return;
            }        
            else
            {       
                window.location = 'http://bjs.ht380.com.cn/login2.aspx?url=' + window.location.href + '&n=' + n + "&p=" + p + "&c=MAZZZ&domain=" + window.location.href;        
            }
            
            return false;
        }