rem: var seperator = ''; if (getWebguiProperty ("pageURL").match(/\?/)) { seperator = ';' } else { seperator = '?'} template['file'] = "../../../../../.." + getWebguiProperty ("pageURL") + seperator + 'op=richEditPageTree'; 
add: var separator = getWebguiProperty("pageURL").match(/\?/)? ';' : '?'; template['file'] = "../../../../../.." + getWebguiProperty("pageURL") + separator + 'op=richEditPageTree'; 
context: function TinyMCE_pagetree_execCommand(editor_id, element, command, user_interface, value) {	// Handle commands        switch (command) {		case "wgPageTree":			var inst = tinyMCE.getInstanceById(editor_id);                        var focusElm = inst.getFocusElement();                        tinyMceSelectedText = inst.selection.getSelectedText();			var template = new Array();			//Check for proper get delimiter			var seperator = '';			if (getWebguiProperty ("pageURL").match(/\?/)) { seperator = ';' } else { seperator = '?'}			template['file'] = "../../../../../.." + getWebguiProperty ("pageURL") + seperator + 'op=richEditPageTree';			template['width'] = 500;			template['height'] = 500;			tinyMCE.openWindow(template, {editor_id : editor_id, scrollbars : "yes"} );			return true;	}	// Pass to next handler in chain	return false;}
meta: 3515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3515/900ec6f724e6441672dcb4fe7d02e126b90e1469/editor_plugin.js/buggy/www/extras/tinymce2/jscripts/tiny_mce/plugins/pagetree/editor_plugin.js