//	team.js

function initialFocus()
{
	document.frmTeam.txtTeam.focus();
}	// initialFocus()


function goNext(theForm, caller)
{
	var bContinue = true;
	
	var strTeam = TrimString(theForm.txtTeam.value);
	bContinue = strTeam.length > 0;
	
	if (bContinue)
	{
		theForm.txtTeam.value = strTeam;
		if (theForm != caller)
		{
			theForm.submit();
		}
	}
	else
	{
		// blank the input field and start over
		theForm.txtTeam.value = "";
		theForm.txtTeam.focus();
	}
	
	return bContinue;
}	// goNext()
