var uri = aEvent.target.id; gDownloadManager.pauseDownload(uri); setRDFProperty(uri, "DownloadStatus", aEvent.target.getAttribute("status-internal")); setRDFProperty(uri, "ProgressPercent", aEvent.target.getAttribute("progress")); 
var id = aEvent.target.getAttribute("dlid"); gDownloadManager.pauseDownload(id); 
function onDownloadPause(aEvent){  var selectedIndex = gDownloadsView.selectedIndex;  var uri = aEvent.target.id;  gDownloadManager.pauseDownload(uri);  setRDFProperty(uri, "DownloadStatus", aEvent.target.getAttribute("status-internal"));  setRDFProperty(uri, "ProgressPercent", aEvent.target.getAttribute("progress"));  // now reset the richlistbox  gDownloadsView.clearSelection();  var rowCount = gDownloadsView.getRowCount();  if (selectedIndex >= rowCount)    gDownloadsView.selectedIndex = rowCount - 1;  else    gDownloadsView.selectedIndex = selectedIndex;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/5089b2dda415f7e24f05d326fd9f480edfca8ee5/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js