rem: out.println( "toggleTab" ); 
context: function toggleTab( tab ){	out.println( "toggleTab" );	allisp = document.layers[ "allisp" ];		for ( i = tabIndex( tab ); i < allisp.layers.length; i++ )	{		levelLayer = allisp.layers[ i ];		displayLayer = levelLayer.layers[ "levelDisplay" ];		controls = levelLayer.layers[ "control" ];		showLayer = controls.layers[ "show" ];		hideLayer = controls.layers[ "hide" ];		out.println( "pageY: " + levelLayer.pageY );				if ( tab == levelLayer )		{			// toggleState == false is closed 			if ( levelLayer.toggleState == false )			{				out.println( "OPENING" );				// open "tab"				showLayer.visibility = "hide";				hideLayer.visibility = "show";				hideLayer.moveAbove( showLayer );				levelLayer.toggleState = true;				moveBy = levelLayer.clip.height - controls.clip.height;				displayLayer.visibility = "show";			}			else			{				out.println( "CLOSING" );				// close "tab"				hideLayer.visibility = "hide";				showLayer.visibility = "show";				showLayer.moveAbove( hideLayer );				levelLayer.toggleState = false;				moveBy = -displayLayer.clip.height;				displayLayer.visibility = "hide";			}								}		else			levelLayer.moveBy( 0, moveBy );	}	levelLayer = allisp.layers[ allisp.layers.length - 1 ];	displayLayer = levelLayer.layers[ "levelDisplay" ];	controls = levelLayer.layers[ "control" ];		if ( levelLayer.toggleState == false )	{		displayLayer.visibility = "hide";		allisp.resizeBy( 0, -displayLayer.clip.height );	}	else	{		displayLayer.visibility = "show";		allisp.resizeBy( 0, displayLayer.clip.height );	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/cfc9d1320c61ce41d433f396407dc75bc874ef1c/compare.js/clean/cmd/dialup/as_html/metadata/html/compare.js