context: function FCK_ContextMenu_OnBeforeOpen(){	// Update the UI.	FCK.Events.FireEvent( 'OnSelectionChange' ) ;	// Get the actual selected tag (if any).	var oTag, sTagName ;		// The extra () is to avoid a warning with strict error checking. This is ok.	if ( (oTag = FCKSelection.GetSelectedElement()) )		sTagName = oTag.tagName ;	// Cleanup the current menu items.	var oMenu = FCK.ContextMenu._InnerContextMenu ;	oMenu.RemoveAllItems() ;	// Loop through the listeners.	var aListeners = FCK.ContextMenu.Listeners ;	for ( var i = 0 ; i < aListeners.length ; i++ )		aListeners[i].AddItems( oMenu, oTag, sTagName ) ;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/c3e806dd2e80d30e5028083f65e626da8d5acba4/fck_contextmenu.js/buggy/reference/library/src/webapp/editor/FCKeditor/editor/_source/internals/fck_contextmenu.js