rem: var newMailNotificationAlertUI = document.getElementById("newMailNotificationAlert"); newMailNotificationAlertUI.hidden = !("@mozilla.org/alerts-service;1" in Components.classes); 
add: var downloadDoneNotificationAlertUI = document.getElementById("finishedNotificationAlert"); downloadDoneNotificationAlertUI.hidden = !("@mozilla.org/alerts-service;1" in Components.classes); 
context: function Startup(){  PlaySoundCheck();  // if we don't have the alert service, hide the pref UI for using alerts to notify on new mail  // see bug #158711  var newMailNotificationAlertUI = document.getElementById("newMailNotificationAlert");  newMailNotificationAlertUI.hidden = !("@mozilla.org/alerts-service;1" in Components.classes);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/71fa6591699ef227ac68a8704b3189e4936c3cd5/pref-download.js/clean/suite/common/pref/pref-download.js