
//========================================================================================================================================
// DESC:  showTip Function
// INFO:  Displays A Hidden Layer
// USAGE: Pass Layer ID As Argument
// MISC:  None
//========================================================================================================================================

function showTip( layerId ) {

	if ( document.getElementById && layerId != '' ) {

//		if ( document.all ) {

//			document.getElementById( layerId ).style.filter='blendTrans( duration = .2 )';
//			document.getElementById( layerId ).filters.blendTrans.Apply();

//		}

//		if ( document.all )
//			document.getElementById( layerId ).filters.blendTrans.Play();

		document.getElementById( layerId ).style.visibility = 'visible';

	   // Update Which Layer Is Visible

//	      activeLayer = layerId;

	}

}

//========================================================================================================================================

//========================================================================================================================================
// DESC:  hideTip Function
// INFO:  Hides A Hidden Layer
// USAGE: Pass Layer ID As Argument
// MISC:  None
//========================================================================================================================================

function hideTip( layerId ) {

	if ( document.getElementById && layerId != '' ) {

//		if ( document.all ) {

//			document.getElementById( layerId ).style.filter='blendTrans( duration = .2 )';
//			document.getElementById( layerId ).filters.blendTrans.Apply();

//		}

		document.getElementById( layerId ).style.visibility = 'hidden';

//		if ( document.all )
//			document.getElementById( layerId ).filters.blendTrans.Play();

	}

}

//========================================================================================================================================

//========================================================================================================================================
// DESC:  expand Function
// INFO:  Expands A Hidden Layer
// USAGE: Pass itemId As Argument
// MISC:  None
//========================================================================================================================================

function expand( itemId ) {

	if ( document.getElementById )
		document.getElementById( itemId ).style.display = 'block';

//	window.event.cancelBubble = true;

}

//========================================================================================================================================

//========================================================================================================================================
// DESC:  contract Function
// INFO:  Contracts A Hidden Layer
// USAGE: Pass itemId As Argument
// MISC:  None
//========================================================================================================================================

function contract( itemId ) {

	if ( document.getElementById )
		document.getElementById( itemId ).style.display = 'none';

//	window.event.cancelBubble = true;

}

//========================================================================================================================================