/*****************************************************
* Utility functions
* 12/03/2004
*
* a file containing utility functions which could
* be used throughout the application
*
* Revised:
* - 
*
* 
*****************************************************/

function retrievalCheckForSubmit( evt )
{
	var keyCode = null;
	
	if (evt.which)
	{
		keyCode = evt.which;
	}
	else if (evt.keyCode)
	{
		keyCode = evt.keyCode;
	}
	
	if (keyCode == 13)
	{
		document['searchform'].submit();
	}
	return true;
}
