add:  var prefs = Components.classes[prefContractID].getService(Components.interfaces.nsIPref); if (prefs) keepProgressWindowUpBox.checked = prefs.GetBoolPref("browser.download.keepProgressWndAlive");   
context: function loadDialog() {  var sourceUrlValue = {};  var initialDownloadTimeValue = {};  var targetFile =  helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue);  var sourceUrl = sourceUrlValue.value;  startTime = initialDownloadTimeValue.value / 1000;  // set the elapsed time on the first pass...  var now = ( new Date() ).getTime();  var elapsed = now - startTime;  // Update elapsed time display.  dialog.timeElapsed.setAttribute("value", formatSeconds( elapsed / 1000 ));  dialog.timeLeft.setAttribute("value", formatSeconds( 0 ));  dialog.location.setAttribute("value", sourceUrlValue.value.spec );  dialog.fileName.setAttribute( "value", targetFile.unicodePath );}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f1b6589d77faaa99e5dac766426541493fff33c9/helperAppDldProgress.js/clean/xpfe/components/ucth/resources/helperAppDldProgress.js