context: function openTopWin( url ){  /* note that this chrome url should probably change to not have all of the navigator controls,     but if we do this we need to have the option for chrome controls because goClickThrobber()     needs to use this function with chrome controls */  /* also, do we want to limit the number of help windows that can be spawned? */    if ((url == null) || (url == "")) return;        // xlate the URL if necessary    if (url.indexOf("urn:") == 0)    {        url = xlateURL(url);        // does RDF urn expansion    }        // avoid loading "", since this loads a directory listing    if (url == "") {        url = "about:blank";    }        var windowManager = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService();    var windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);     var topWindowOfType = windowManagerInterface.getMostRecentWindow( "navigator:browser" );    if ( topWindowOfType )    {        topWindowOfType.focus();		topWindowOfType._content.location.href = url;    }    else    {        window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url );    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/utilityOverlay.js/buggy/xpfe/communicator/resources/content/utilityOverlay.js