
function doClickItem( )
{
	if ( !document.getElementById )
		return;

	_target = document.getElementById( arguments[ 0 ] ) ;

	if ( window.event )
	{
		if ( event.srcElement.tagName == "TD" )
		{
			_target.children.tags("A")[0].click( ) ;
		}
	}
	else
	{
		location.href = _target.getElementsByTagName("A")[0].href;
	}
}

function doHighlightItem( )
{
	var BG_COLOR  = "#eeeeee";
	var targetObj = null ;

	if ( !document.getElementById )
	{
		return;
	}

	for ( var i=0; i<arguments.length; i++ )
	{
		targetObj = document.getElementById( arguments[ i ] ) ;

		if ( document.all ) 
		{
			if ( !targetObj.contains(event.fromElement) )
			{
				targetObj.style.cursor = "hand" ;
				targetObj.style.backgroundColor = BG_COLOR ;
			}
		}
		else
		{
			targetObj.style.cursor = "pointer" ;
			targetObj.style.backgroundColor = BG_COLOR ;
		}
	}
}

function doResetItem( )
{
	var BG_COLOR  = "#FAFAFA";
	var targetObj = null ;

	if ( !document.getElementById )
	{
		return;
	}

	for ( var i=0; i<arguments.length; i++ )
	{
		targetObj = document.getElementById( arguments[ i ] ) ;

		if ( document.all )
		{
			if ( !targetObj.contains(event.toElement) )
			{
				targetObj.style.cursor = "default" ;
				targetObj.style.backgroundColor = BG_COLOR ;
			}
		}
		else
		{
			targetObj.style.cursor = "default" ;
			targetObj.style.backgroundColor = BG_COLOR ;
		}
	}
}