var doc = document; var body = doc.body; var oldMargin, wrapper, iframe, nodes, dx, dy; 
doc = document; body = doc.body; 
	resizeToInnerSize : function() {		// Netscape 7.1 workaround		if (this.isWindow && tinyMCE.isNS71) {			window.resizeBy(0, 10);			return;		}		if (this.isWindow) {			var doc = document;			var body = doc.body;			var oldMargin, wrapper, iframe, nodes, dx, dy;			if (body.style.display == 'none')				body.style.display = 'block';			// Remove margin			oldMargin = body.style.margin;			body.style.margin = '0';			// Create wrapper			wrapper = doc.createElement("div");			wrapper.id = 'mcBodyWrapper';			wrapper.style.display = 'none';			wrapper.style.margin = '0';			// Wrap body elements			nodes = doc.body.childNodes;			for (var i=nodes.length-1; i>=0; i--) {				if (wrapper.hasChildNodes())					wrapper.insertBefore(nodes[i].cloneNode(true), wrapper.firstChild);				else					wrapper.appendChild(nodes[i].cloneNode(true));				nodes[i].parentNode.removeChild(nodes[i]);			}			// Add wrapper			doc.body.appendChild(wrapper);			// Create iframe			iframe = document.createElement("iframe");			iframe.id = "mcWinIframe";			iframe.src = document.location.href.toLowerCase().indexOf('https') == -1 ? "about:blank" : tinyMCE.settings['default_document'];			iframe.width = "100%";			iframe.height = "100%";			iframe.style.margin = '0';			// Add iframe			doc.body.appendChild(iframe);			// Measure iframe			iframe = document.getElementById('mcWinIframe');			dx = tinyMCE.getWindowArg('mce_width') - iframe.clientWidth;			dy = tinyMCE.getWindowArg('mce_height') - iframe.clientHeight;			// Resize window			// tinyMCE.debug(tinyMCE.getWindowArg('mce_width') + "," + tinyMCE.getWindowArg('mce_height') + " - " + dx + "," + dy);			window.resizeBy(dx, dy);			// Hide iframe and show wrapper			body.style.margin = oldMargin;			iframe.style.display = 'none';			wrapper.style.display = 'block';		}	},
4999	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4999/5aedce1521db51e0580dc7c394a64ebd1b655534/tiny_mce_popup.js/clean/wp-includes/js/tinymce/tiny_mce_popup.js