<!--//

// -->		

/* HELP FUNCTIONS
 ******************************/
var GetElementById = GetElementById_Initialize;

function GetElementById_Initialize( id )
{
	if( null != document.getElementById )
	{
		GetElementById = function( id ) 
		{ 
			return document.getElementById( id ); 
		}
	}
	else if( null != document.all )	
	{
		GetElementById = function( id )
		{
			return document.all[ id ];
		}
	}
	else if( null != document.layers )
	{
		GetElementById = function( id )
		{
			return GetElementById_Netscape4( id );
		}
	}
	else
	{
		GetElementById = function( id )
		{
			return null;
		}
	}
	return GetElementById( id );
}

function GetElementById_Netscape4( id )
{
	var i;
	for( i = 0; i < document.forms[ 0 ].length; i ++ )
	{
		var e = document.forms[ 0 ].elements[ i ];
		if( e.name && id == e.name )
			return e;
	}
	return document.layers[ id ];
}



function showHelp(helpID, e) {
  if ( typeof RollTip == "undefined" || !RollTip.ready ) return;
  
  divHelp = GetElementById(helpID);
  
  RollTip.reveal(divHelp.innerHTML, e);
}

function hideHelp() {
  if ( typeof RollTip == "undefined" || !RollTip.ready ) return;
  RollTip.conceal();
}
