rem: var d = qx.core.Init.getInstance().getComponent().getClientWindow().getClientDocument(); 
add: var d = qx.ui.core.ClientDocument.getInstance(); 
context: qx.Proto.centerToBrowser = function(){  var d = qx.core.Init.getInstance().getComponent().getClientWindow().getClientDocument();  var left = (d.getClientWidth() - this.getBoxWidth()) / 2;  var top = (d.getClientHeight() - this.getBoxHeight()) / 2;  this.setLeft(left < 0 ? 0 : left);  this.setTop(top < 0 ? 0 : top);}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/98758a15e456780adf70acba294780f45bbbe9f6/Popup.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/popup/Popup.js