rem: dialog.pause       = document.getElementById("pause") 
add: dialog.pause       = document.getElementById("pause"); dialog.resume      = document.getElementById("resume"); dialog.pauseResumeDeck = document.getElementById("pauseResumeDeck"); 
context: function onLoad() {    // Set global variables.    helperAppLoader = window.arguments[0].QueryInterface( Components.interfaces.nsIHelperAppLauncher );    if ( !helperAppLoader ) {        dump( "Invalid argument to downloadProgress.xul\n" );        window.close()        return;    }    dialog = new Object;    dialog.strings = new Array;    dialog.location    = document.getElementById("dialog.location");    dialog.contentType = document.getElementById("dialog.contentType");    dialog.fileName    = document.getElementById("dialog.fileName");    dialog.status      = document.getElementById("dialog.status");    dialog.progress    = document.getElementById("dialog.progress");    dialog.progressText = document.getElementById("dialog.progressText");    dialog.timeLeft    = document.getElementById("dialog.timeLeft");    dialog.timeElapsed = document.getElementById("dialog.timeElapsed");    dialog.cancel      = document.getElementById("cancel");    dialog.pause       = document.getElementById("pause")    dialog.request     = 0;    dialog.downloadPaused = false;    keepProgressWindowUpBox = document.getElementById('keepProgressDialogUp');    // Set up dialog button callbacks.    var object = this;    doSetOKCancel("", function () { return object.onCancel();});    // Fill dialog.    loadDialog();    // set our web progress listener on the helper app launcher    helperAppLoader.setWebProgressListener(progressListener);    if ( window.opener ) {        moveToAlertPosition();    } else {        centerWindowOnScreen();    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6d32db3768261df98ee7a8b860e265a7aa8665fe/helperAppDldProgress.js/buggy/xpfe/components/ucth/resources/helperAppDldProgress.js