﻿// JavaScript Document
function CheckFormLogin(theForm)
{
if(!theForm.username.value){
		alert("您需要输入用户名.");
		theForm.username.focus();
		return(false);
		}

if(!theForm.userpass.value){
		alert("您需要输入密码.");
		theForm.userpass.focus();
		return(false);
		}

  return true;
}
