rem: dlmgr.open(window); 
add:  var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(); windowMediator = windowMediator.QueryInterface(nsIWindowMediator);  var dlmgrWindow = windowMediator.getMostRecentWindow("Download:Manager"); if (dlmgrWindow) { dlmgrWindow.focus(); } else { dlmgr.open(window); } 
context: function toDownloadManager(){  var dlmgr = Components.classes['@mozilla.org/download-manager;1'].getService();  dlmgr = dlmgr.QueryInterface(Components.interfaces.nsIDownloadManager);  dlmgr.open(window);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5e0cdbb3d4a63155d6f5bb69b0e3d60ae1277243/tasksOverlay.js/clean/xpfe/communicator/resources/content/tasksOverlay.js