rem: FCKeditorAPI = window.parent.FCKeditorAPI ; 
add: FCKeditorAPI = oParentWindow.FCKeditorAPI ; 
context: function InitializeAPI(){	if ( !( FCKeditorAPI = window.parent.FCKeditorAPI ) )	{		// Make the FCKeditorAPI object available in the parent window. Use 		// eval so it is independent from this window and so it will still be 		// available if the editor instance is removed ("Can't execute code		// from a freed script" error).		var sScript = '\			var FCKeditorAPI = {\				Version			: \'2.3.2\',\				VersionBuild	: \'1082\',\				__Instances		: new Object(),\				GetInstance		: function( instanceName )\				{\					return this.__Instances[ instanceName ] ;\				},\				_FunctionQueue	: {\					Functions	: new Array(),\					IsRunning	: false,\					Add			: function( functionToAdd )\					{\						this.Functions.push( functionToAdd ) ;\						if ( !this.IsRunning )\							this.StartNext() ;\					},\					StartNext	: function()\					{\						var aQueue = this.Functions ;\						if ( aQueue.length > 0 )\						{\							this.IsRunning = true ;\							aQueue[0].call() ;\						}\						else\							this.IsRunning = false ;\					},\					Remove		: function( func )\					{\						var aQueue = this.Functions ;\						var i = 0, fFunc ;\						while( fFunc = aQueue[ i ] )\						{\							if ( fFunc == func )\								aQueue.splice( i,1 ) ;\							i++ ;\						}\						this.StartNext() ;\					}\				}\			}' ;				// In IE, the "eval" function is not always available (it works with		// the JavaScript samples, but not with the ASP ones, for example).		// So, let's use the execScript instead.		if ( window.parent.execScript )			window.parent.execScript( sScript, 'JavaScript' ) ;		else		{			if ( FCKBrowserInfo.IsGecko10 )			{				// FF 1.0.4 gives an error with the above request. The				// following seams to work well. It could become to official				// implementation for all browsers, but we need to check it.				eval.call( window.parent, sScript ) ;			}			else				window.parent.eval( sScript ) ;		}				FCKeditorAPI = window.parent.FCKeditorAPI ;	}	// Add the current instance to the FCKeditorAPI's instances collection.	FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/e3f23043ed288727da2247e5542491d451663929/fckeditorapi.js/clean/reference/library/src/webapp/editor/FCKeditor/editor/_source/fckeditorapi.js