rem: var FCKeditorAPI;function InitializeAPI(){var oAPI;if (!(oAPI=FCKeditorAPI=window.parent.FCKeditorAPI)){oAPI=FCKeditorAPI=window.parent.FCKeditorAPI=new Object();oAPI.Version='2.3';oAPI.VersionBuild='1054';oAPI.__Instances=new Object();oAPI.GetInstance=FCKeditorAPI_GetInstance;var oQueue=oAPI._FunctionQueue=new Object();oQueue.Functions=new Array();oQueue.IsRunning=false;oQueue.Add=FCKeditorAPI_FunctionQueue_Add;oQueue.StartNext=FCKeditorAPI_FunctionQueue_StartNext;oQueue.Remove=FCKeditorAPI_FunctionQueue_Remove;};oAPI.__Instances[FCK.Name]=FCK;};function FCKeditorAPI_GetInstance(instanceName){return this.__Instances[instanceName];};function FCKeditorAPI_FunctionQueue_Add(functionToAdd){this.Functions.push(functionToAdd);if (!this.IsRunning) this.StartNext();};function FCKeditorAPI_FunctionQueue_StartNext(){var aQueue=this.Functions;if (aQueue.length>0){this.IsRunning=true;FCKTools.RunFunction(aQueue[0]);}else this.IsRunning=false;};function FCKeditorAPI_FunctionQueue_Remove(func){var aQueue=this.Functions;var i=0,fFunc;while(fFunc=aQueue[i]){if (fFunc==func) aQueue.splice(i,1);i++;};this.StartNext();} 
add: var FCKeditorAPI;function InitializeAPI(){if (!(FCKeditorAPI=window.parent.FCKeditorAPI)){var sScript='\ var FCKeditorAPI={\ Version:\'2.3.1\',\ VersionBuild:\'1062\',\ __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();\}\}\}';if (window.parent.execScript) window.parent.execScript(sScript,'JavaScript');else window.parent.eval(sScript);FCKeditorAPI=window.parent.FCKeditorAPI;};FCKeditorAPI.__Instances[FCK.Name]=FCK;};function FCKeditorAPI_Cleanup(){FCKeditorAPI.__Instances[FCK.Name]=null;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup); 
context: var FCKeditorAPI;function InitializeAPI(){var oAPI;if (!(oAPI=FCKeditorAPI=window.parent.FCKeditorAPI)){oAPI=FCKeditorAPI=window.parent.FCKeditorAPI=new Object();oAPI.Version='2.3';oAPI.VersionBuild='1054';oAPI.__Instances=new Object();oAPI.GetInstance=FCKeditorAPI_GetInstance;var oQueue=oAPI._FunctionQueue=new Object();oQueue.Functions=new Array();oQueue.IsRunning=false;oQueue.Add=FCKeditorAPI_FunctionQueue_Add;oQueue.StartNext=FCKeditorAPI_FunctionQueue_StartNext;oQueue.Remove=FCKeditorAPI_FunctionQueue_Remove;};oAPI.__Instances[FCK.Name]=FCK;};function FCKeditorAPI_GetInstance(instanceName){return this.__Instances[instanceName];};function FCKeditorAPI_FunctionQueue_Add(functionToAdd){this.Functions.push(functionToAdd);if (!this.IsRunning) this.StartNext();};function FCKeditorAPI_FunctionQueue_StartNext(){var aQueue=this.Functions;if (aQueue.length>0){this.IsRunning=true;FCKTools.RunFunction(aQueue[0]);}else this.IsRunning=false;};function FCKeditorAPI_FunctionQueue_Remove(func){var aQueue=this.Functions;var i=0,fFunc;while(fFunc=aQueue[i]){if (fFunc==func) aQueue.splice(i,1);i++;};this.StartNext();}
meta: 8936	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8936/f2a9715c1a74555e436c0f65ef56a38a7fd6c937/fckeditorcode_ie.js/buggy/trunk/3dparty/FCKeditor/editor/js/fckeditorcode_ie.js