function checkForm()
{
	if (!checkFilled("username", "password"))
		{return false}
		
	return true;
}
function AttSubmit()
{
	var poi=checkForm()
	if (poi == true) 
	{
		document.login.submit();
	} 	
}