
function check_input()  
{   
	
    if (add.uid.value=="")
	{   
		add.uid.focus();
		alert("请输入用户名");
		return false;
	}
	
    
	

   


	
	
	
	document.add.submit();
    return true;
}

function onsub_input()  
{  

	

	document.add.submit();
    return true;
}

function MouseOver_input(obj)  
{  
	obj.style.backgroundColor='#E5F0FF'
}
function MouseOut_input(obj)  
{  
	obj.style.backgroundColor='ffffff'
}

function check_login()  
{  
    if (login.uid.value=="")
	{   
		login.uid.focus();
		alert("请输入用户名");
		return false;
	}
    if (login.pwd.value=="")
	{   
		login.pwd.focus();
		alert("请输入用户名");
		return false;
	}
	document.login.submit();
    return true;
}

