rem: var win = window.open(url, "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=" + modal + ",minimizable=" + resizable + ",modal=" + modal + ",width=" + width + ",height=" + height + ",resizable=" + resizable); if (win == null) { alert(tinyMCELang['lang_popup_blocked']); 
add: win = window.open(url, "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=" + modal + ",minimizable=" + resizable + ",modal=" + modal + ",width=" + width + ",height=" + height + ",resizable=" + resizable); if (win === null) { alert(tinyMCELang.lang_popup_blocked); 
context: 	openWindow : function(template, args) {		var html, width, height, x, y, resizable, scrollbars, url;		args = !args ? {} : args;		args['mce_template_file'] = template['file'];		args['mce_width'] = template['width'];		args['mce_height'] = template['height'];		tinyMCE.windowArgs = args;		html = template['html'];		if (!(width = parseInt(template['width'])))			width = 320;		if (!(height = parseInt(template['height'])))			height = 200;		// Add to height in M$ due to SP2 WHY DON'T YOU GUYS IMPLEMENT innerWidth of windows!!		if (tinyMCE.isIE)			height += 40;		else			height += 20;		x = parseInt(screen.width / 2.0) - (width / 2.0);		y = parseInt(screen.height / 2.0) - (height / 2.0);		resizable = (args && args['resizable']) ? args['resizable'] : "no";		scrollbars = (args && args['scrollbars']) ? args['scrollbars'] : "no";		if (template['file'].charAt(0) != '/' && template['file'].indexOf('://') == -1)			url = tinyMCE.baseURL + "/themes/" + tinyMCE.getParam("theme") + "/" + template['file'];		else			url = template['file'];		// Replace all args as variables in URL		for (var name in args) {			if (typeof(args[name]) == 'function')				continue;			url = tinyMCE.replaceVar(url, name, escape(args[name]));		}		if (html) {			html = tinyMCE.replaceVar(html, "css", this.settings['popups_css']);			html = tinyMCE.applyTemplate(html, args);			var win = window.open("", "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=yes,minimizable=" + resizable + ",modal=yes,width=" + width + ",height=" + height + ",resizable=" + resizable);			if (win == null) {				alert(tinyMCELang['lang_popup_blocked']);				return;			}			win.document.write(html);			win.document.close();			win.resizeTo(width, height);			win.focus();		} else {			if ((tinyMCE.isRealIE) && resizable != 'yes' && tinyMCE.settings["dialog_type"] == "modal") {				height += 10;				var features = "resizable:" + resizable 					+ ";scroll:"					+ scrollbars + ";status:yes;center:yes;help:no;dialogWidth:"					+ width + "px;dialogHeight:" + height + "px;";				window.showModalDialog(url, window, features);			} else {				var modal = (resizable == "yes") ? "no" : "yes";				if (tinyMCE.isGecko && tinyMCE.isMac)					modal = "no";				if (template['close_previous'] != "no")					try {tinyMCE.lastWindow.close();} catch (ex) {}				var win = window.open(url, "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=" + modal + ",minimizable=" + resizable + ",modal=" + modal + ",width=" + width + ",height=" + height + ",resizable=" + resizable);				if (win == null) {					alert(tinyMCELang['lang_popup_blocked']);					return;				}				if (template['close_previous'] != "no")					tinyMCE.lastWindow = win;				eval('try { win.resizeTo(width, height); } catch(e) { }');				// Make it bigger if statusbar is forced				if (tinyMCE.isGecko) {					if (win.document.defaultView.statusbar.visible)						win.resizeBy(0, tinyMCE.isMac ? 10 : 24);				}				win.focus();			}		}	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/e8e3862e104280a24076077196c7b5713720de70/tiny_mce_src.js/buggy/plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js