rem: var x = parseInt(screen.width / 2.0) - (window.outerWidth / 2.0); var y = parseInt(screen.height / 2.0) - (window.outerHeight / 2.0); 
add: x = parseInt(screen.width / 2.0) - (window.outerWidth / 2.0); y = parseInt(screen.height / 2.0) - (window.outerHeight / 2.0); 
context: 	resizeToContent : function() {		var isMSIE = (navigator.appName == "Microsoft Internet Explorer");		var isOpera = (navigator.userAgent.indexOf("Opera") != -1);		if (isOpera)			return;		if (isMSIE) {			try { window.resizeTo(10, 10); } catch (e) {}			var elm = document.body;			var width = elm.offsetWidth;			var height = elm.offsetHeight;			var dx = (elm.scrollWidth - width) + 4;			var dy = elm.scrollHeight - height;			try { window.resizeBy(dx, dy); } catch (e) {}		} else {			window.scrollBy(1000, 1000);			if (window.scrollX > 0 || window.scrollY > 0) {				window.resizeBy(window.innerWidth * 2, window.innerHeight * 2);				window.sizeToContent();				window.scrollTo(0, 0);				var x = parseInt(screen.width / 2.0) - (window.outerWidth / 2.0);				var y = parseInt(screen.height / 2.0) - (window.outerHeight / 2.0);				window.moveTo(x, y);			}		}	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/e8e3862e104280a24076077196c7b5713720de70/tiny_mce_popup.js/buggy/plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_popup.js