//Copyright © 2003 PAULGRANT.CA
//http://actionfigurechecklist.com

function DoLogin(oForm)
{
	if(!oForm)
		return false;

	var oUser		= oForm.txtUsername;
	var oPass		= oForm.txtPassword;

	if((!oUser) || (oUser.value == ""))
	{
		if(oUser)
			oUser.focus();
		return false;
	}

	if((!oPass) || (oPass.value == ""))
	{
		if(oPass)
			oPass.focus();
		return false;
	}

	return true;
}

//End.
