 var obs = Components.classes["@mozilla.org/observer-service;1"]. getService(Components.interfaces.nsIObserverService); obs.addObserver(clearDownloadsObserver, "download-manager-clear-history", false); 
function Startup() {  gDownloadsView        = document.getElementById("downloadView");  gDownloadsActiveTitle = document.getElementById("active-downloads-title");  gDownloadsOtherLabel  = document.getElementById("other-downloads");  gDownloadsOtherTitle  = document.getElementById("other-downloads-title");  gDownloadInfoPopup    = document.getElementById("information");  buildDefaultView();  // View event listeners  gDownloadsView.addEventListener("dblclick", onDownloadDblClick, false);  // The DownloadProgressListener (DownloadProgressListener.js) handles progress  // notifications.   gDownloadListener = new DownloadProgressListener();  gDownloadManager.addListener(gDownloadListener);  // downloads can finish before Startup() does, so check if the window should  // close and act accordingly  if (!autoRemoveAndClose())    gDownloadsView.focus();}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/58c7993d4e4725ed6694d7bfd453d72a9b5d9b1b/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js