		function checkform1(thisform) {
			if (thisform.username.value.length < 1) { alert('Please input your logid.'); thisform.username.focus(); return false; }
			if (thisform.userpassword.value.length < 1) { alert('Please input your password.'); thisform.userpassword.focus(); return false; }
			return true;
		}
		
		function sendform(thisform) {
			if ( checkform1(thisform) != false )
				thisform.submit();
		}