
//登录名 start
function doUsernameL()
		{		
			$("txtUsernameL").className = "focus";			
			return true;
		}
function doLeaveUsernameL()
		{
			if(doUsernameL())
			{
				
				}
			$("txtUsernameL").className = "tips";
		}			
//登录名 end

//密码 start
function doPasswordL()
		{		
			$("txtPasswordL").className = "focus";			
			return true;
		}
function doLeavePasswordL()
{
	if(doPasswordL())
	{
		
	}
	$("txtPasswordL").className = "tips";
}			
//密码 end

function doCheckLogin(thisform)
		{	
			var txtUsernameL = $("txtUsernameL").value.trim();
			if(txtUsernameL.length<=0)
			{
				alert("请输入用户名！");
					$("txtUsernameL").focus();
					return false;
			}	
			
			var txtPasswordL = $("txtPasswordL").value.trim();
			if(txtPasswordL.length<=0)
			{
				alert("请输入密码！");
					$("txtPasswordL").focus();
					return false;
			}	
			return true;
		}
		
