rem: editor.updateToolbar(true); 
context: function switchEditingMode(contentDivID, editDivID, editor) {	var contentDiv = document.getElementById(contentDivID); // div with page contents	var editDiv = document.getElementById(editDivID);       // div with wysiwyg	if (editDiv.style.display == "none") { // the edit div is hidden		var setDesignMode = true;		// initilise the wysiwyg if this is the first time		// it is being shown - skip this otherwise		if (initialisedEditors[editor._uniqueID] == null) {			initialisedEditors[editor._uniqueID] = true;			editor.generate();			editor.updateToolbar(true);			setDesignMode = false;		} else if (editor._initialised != true) {			return;		}		editDiv.style.display = ""; // show the wysiwyg		// if we are using an iframe for this editor, we set its designMode property if we need to		if (editor._iframe) {			editor._iframe.style.width = editor.config.width;			if (setDesignMode && HTMLArea.is_gecko) { editor._iframe.contentWindow.document.designMode = "on"; }			editor._iframe.style.height = editor.config.height;		}		contentDiv.style.display = "none"; // hide the contents	} else if (editor._initialised == true) {		// the content div is hidden and the		// wysiwyg editor has been initialised		contentDiv.innerHTML = editor.getHTML();		contentDiv.style.display = "";  // show the contents		editDiv.style.display = "none"; // hide the wysiwyg		if (editor._iframe) {			var editCell = document.getElementById(editor._uniqueID + "_cell");			if (editCell) { editCell.style.height = "100%"; }		}	}}//end switchEditingMode()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/cbfe88abedab10980906f23095289314e85ece33/edit.js/clean/core/lib/js/edit.js