// JavaScript Document
function checkform()
{
if(document.getElementById('username').value=='')
{
alert("User name can not be empty!(用户名不能为空！)");
return false;
}
if(document.getElementById('password').value=='')
{
alert('Password can not be empty!(密码不能为空！)');
return false;
}
}



