rem: var topWindow = windowManagerInterface.getMostRecentWindow( inType );  if ( topWindow ) topWindow.focus(); else window.open(uri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar"); 
add: var topWindow = windowManagerInterface.getMostRecentWindow( inType );  if ( topWindow ) topWindow.focus(); else window.open(uri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar"); 
context: function toOpenWindowByType( inType, uri ){        var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();        var     windowManagerInterface = windowManager.QueryInterface(nsIWindowMediator);        var topWindow = windowManagerInterface.getMostRecentWindow( inType );                if ( topWindow )                topWindow.focus();        else                window.open(uri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cc16beece2ec24c8045da6cb5d801616852dd68f/applicationUtil.js/clean/calendar/resources/content/applicationUtil.js