var template = new Array();  template['file']   = '../../plugins/advlink/link.htm'; template['width']  = 480; template['height'] = 400;   template['width']  += tinyMCE.getLang('lang_advlink_delta_width', 0); template['height'] += tinyMCE.getLang('lang_advlink_delta_height', 0);  tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); 
tinyMCE.openWindow({ file : '../../plugins/advlink/link.htm', width : 480 + tinyMCE.getLang('lang_advlink_delta_width', 0), height : 400 + tinyMCE.getLang('lang_advlink_delta_height', 0) }, { editor_id : editor_id, inline : "yes" }); 
	execCommand : function(editor_id, element, command, user_interface, value) {		switch (command) {			case "mceAdvLink":				var anySelection = false;				var inst = tinyMCE.getInstanceById(editor_id);				var focusElm = inst.getFocusElement();				var selectedText = inst.selection.getSelectedText();				if (tinyMCE.selectedElement)					anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (selectedText && selectedText.length > 0);				if (anySelection || (focusElm != null && focusElm.nodeName == "A")) {					var template = new Array();					template['file']   = '../../plugins/advlink/link.htm';					template['width']  = 480;					template['height'] = 400;					// Language specific width and height addons					template['width']  += tinyMCE.getLang('lang_advlink_delta_width', 0);					template['height'] += tinyMCE.getLang('lang_advlink_delta_height', 0);					tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});				}				return true;		}		return false;	},
3623	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3623/32d3515ec5cf941c718954b41f19cc777ee4a50e/editor_plugin_src.js/buggy/ain7-website/ain7/media/js/tiny_mce/plugins/advlink/editor_plugin_src.js