// JavaScript Document
function docheck()
{ 
if (document.login.UsernameGet.value =="")
{
alert("请填写您的用户名！");
document.login.UsernameGet.focus();
return false;
}
var filter=/^\s*[.A-Za-z0-9_-]{4,15}\s*$/;
if (!filter.test(document.login.UsernameGet.value)) { 
alert("用户名填写不正确,请重新填写！可使用的字符为（A-Z a-z 0-9 _ - .)长度不小于4个字符，不超过15个字符，注意不要使用空格。"); 
document.login.UsernameGet.focus();
document.login.UsernameGet.select();
return false; 
} 
if (document.login.PasswordGet.value =="") 
{
alert("请填写您的密码！");
document.login.PasswordGet.focus();
return false; 
}
var filter=/^\s*[.A-Za-z0-9_-]{4,15}\s*$/;
if (!filter.test(document.login.PasswordGet.value)) { 
alert("密码填写不正确,请重新填写！可使用的字符为（A-Z a-z 0-9 _ - .)长度不小于4个字符，不超过15个字符，注意不要使用空格。"); 
document.login.PasswordGet.focus();
document.login.PasswordGet.select();
return false; 
} 
login.submit();
return true;
}