context: HTMLArea.initEditor = function(editorNumber) {	if(HTMLArea.checkSupportedBrowser()) {		document.getElementById('pleasewait' + editorNumber).style.display = 'block';		document.getElementById('editorWrap' + editorNumber).style.visibility = 'hidden';		if(HTMLArea.initTimer[editorNumber]) window.clearTimeout(HTMLArea.initTimer[editorNumber]);		if(!HTMLArea.is_loaded) {			HTMLArea.initTimer[editorNumber] = window.setTimeout( "HTMLArea.initEditor(" + editorNumber + ");", 150);		} else {			var RTE = RTEarea[editorNumber];			var config = new HTMLArea.Config();				// Get the toolbar config			config.toolbar = RTE["toolbar"];				// create an editor for the textarea			RTE["editor"] = new HTMLArea(RTE["id"], config);			var editor = RTE["editor"];				// Save the editornumber in the object			editor._typo3EditerNumber = editorNumber;			editor._editorNumber = editorNumber;			config = editor.config;			config.buttons = RTE["buttons"];			config.hideTableOperationsInToolbar = RTE["hideTableOperationsInToolbar"] ? RTE["hideTableOperationsInToolbar"] : false;			config.disableLayoutFieldsetInTableOperations = RTE["disableLayoutFieldsetInTableOperations"] ? RTE["disableLayoutFieldsetInTableOperations"] : false;			config.disableAlignmentFieldsetInTableOperations = RTE["disableAlignmentFieldsetInTableOperations"] ? RTE["disableAlignmentFieldsetInTableOperations"] : false;			config.disableSpacingFieldsetInTableOperations = RTE["disableSpacingFieldsetInTableOperations"] ? RTE["disableSpacingFieldsetInTableOperations"] : false;			config.disableBordersFieldsetInTableOperations = RTE["disableBordersFieldsetInTableOperations"] ? RTE["disableBordersFieldsetInTableOperations"] : false;			config.disableColorFieldsetInTableOperations = RTE["disableColorFieldsetInTableOperations"] ? RTE["disableColorFieldsetInTableOperations"] : false;			config.disablePCexamples = RTE["disablePCexamples"] ? RTE["disablePCexamples"] : false;						for (var plugin in RTE.plugin) {				if (RTE.plugin.hasOwnProperty(plugin) && RTE.plugin[plugin]) {					editor.registerPlugin(plugin);				}			}						if(RTE["defaultPageStyle"]) config.defaultPageStyle = RTE["defaultPageStyle"];			if(RTE["pageStyle"]) config.pageStyle = RTE["pageStyle"];			if(RTE["fontname"]) config.FontName = RTE["fontname"];			if(RTE["fontsize"]) config.FontSize = RTE["fontsize"];			if(RTE["colors"]) config.colors = RTE["colors"];			if(RTE["disableColorPicker"]) config.disableColorPicker = RTE["disableColorPicker"];			if(RTE["paragraphs"]) config.FormatBlock = RTE["paragraphs"];			config.width = "auto";			config.height = "auto";			config.sizeIncludesToolbar = true;			config.fullPage = false;			config.useHTTPS = RTE["useHTTPS"] ? RTE["useHTTPS"] : false;			config.disableEnterParagraphs = RTE["disableEnterParagraphs"] ? RTE["disableEnterParagraphs"] : false;			config.removeTrailingBR = RTE["removeTrailingBR"] ? RTE["removeTrailingBR"] : false;			config.keepButtonGroupTogether = (RTE["keepButtonGroupTogether"] && HTMLArea.is_gecko && !HTMLArea.is_wamcom && !HTMLArea.is_opera) ? RTE["keepButtonGroupTogether"] : false;			config.useCSS = RTE["useCSS"] ? RTE["useCSS"] : false;			config.enableMozillaExtension = RTE["enableMozillaExtension"] ? RTE["enableMozillaExtension"] : false;			config.statusBar = RTE["statusBar"] ? RTE["statusBar"] : false;			config.cleanWordOnPaste = RTE["enableWordClean"] ? true : false;			config.htmlRemoveTags = RTE["htmlRemoveTags"] ? RTE["htmlRemoveTags"] : null;			config.htmlRemoveTagsAndContents = RTE["htmlRemoveTagsAndContents"] ? RTE["htmlRemoveTagsAndContents"] : null;			config.htmlRemoveComments = RTE["htmlRemoveComments"] ? true : false;			config.classesUrl = RTE["classesUrl"] ? RTE["classesUrl"] : null;			editor.onGenerate = HTMLArea.onGenerateHandler(editorNumber);			editor.generate();			return false;		} 	} else {		document.getElementById('pleasewait' + editorNumber).style.display = 'none';		document.getElementById('editorWrap' + editorNumber).style.visibility = 'visible';	}};
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/885023da1668965b1042e17b0d3a7b5781846b18/htmlarea.js/clean/typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js