context:     setTimeout(function() {        var w = self.content.offsetWidth + 4;        var h = self.content.offsetHeight + 4;        // size to content -- that's fuckin' buggy in all fuckin' browsers!!!        // so that we set a larger size for the dialog window and then center        // the element inside... phuck!        // center...        var el = self.content;        var s = el.style;        // s.width = el.offsetWidth + "px";        // s.height = el.offsetHeight + "px";        s.position = "absolute";        s.left = (w - el.offsetWidth) / 2 + "px";        s.top = (h - el.offsetHeight) / 2 + "px";        if (HTMLArea.is_gecko) {            self.window.innerWidth = w;            self.window.innerHeight = h;        } else {            self.window.resizeTo(w + 8, h + 35);        }    }, 25);
meta: 752	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/752/f1e4c519df653e52589c9be8867207391e33c563/popupwin.js/buggy/lib/editor/htmlarea/popupwin.js