document.write("
");
function checkbbslogin(){
var username =$.trim($("input[name='username']").val());
var password =$.trim($("input[name='password']").val());
if (username.length<1){alert("请输入用户名");$("input[name='username']").focus();return false;}
if (password.length<1){alert("请输入密码");$("input[name='password']").focus();return false;}
if (username.length>1 && password.length>1){ return true;}
}