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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ceec982693f480d05572eb3bf52115a849696646/tasksOverlay.js/buggy/suite/common/tasksOverlay.js