rem: }; 
add: } 
context: qx.Proto.openWindow = function() {  if (this._logWindowOpened) {    // The window is already open -> Nothing to do    return;  }  // Open the logger window  this._logWindowOpened = true;  var winWidth = 600;  var winHeight = 350;  var winLeft = window.screen.width - winWidth;  var winTop = window.screen.height - winHeight;  var params = "toolbar=no,scrollbars=yes,resizable=yes,"    + "width=" + winWidth + ",height=" + winHeight    + ",left=" + winLeft + ",top=" + winTop;  // NOTE: In window.open the browser will process the event queue.  //     Which means that other log events may arrive during this time.  //     The log window is then in an inconsistent state, because the  //     this._logElem is not created yet. These events will be added to the  //     this._logEventQueue and logged after this._logElem is created.  this._logWindow = window.open("", this._name, params);  if (this.getPopUnder()) {    this._logWindow.blur();    window.focus();  }  var logDocument = this._logWindow.document;  // NOTE: We have to use a static onunload handler, because an onunload  //     that is set later using DOM is ignored completely.  //     (at least in Firefox, but maybe in IE, too)  logDocument.open();  logDocument.write("<html><head><title>" + this._name + "</title></head>"    + '<body onload="qx = opener.qx;" onunload="qx.dev.log.WindowAppender._registeredAppenders[' + this._id + '].closeWindow()">'    + '<pre id="log" wrap="wrap" style="font-size:11"></pre></body></html>');  logDocument.close();  this._logElem = logDocument.getElementById("log");  // Log the events from the queue  if (this._logEventQueue != null) {    for (var i = 0; i < this._logEventQueue.length; i++) {      this.appendLogEvent(this._logEventQueue[i]);    }    this._logEventQueue = null;  }};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/WindowAppender.js/clean/qooxdoo/source/script/qx/dev/log/WindowAppender.js