add:   window.setTimeout(doneIniting, 500); 
context: function onLoad() {    // Set global variables.    printProgress = window.arguments[0];    if (window.arguments[1])    {      progressParams = window.arguments[1].QueryInterface(Components.interfaces.nsIPrintProgressParams)      if (progressParams)      {        docTitle = progressParams.docTitle;        docURL = progressParams.docURL;      }    }    if ( !printProgress ) {        dump( "Invalid argument to downloadProgress.xul\n" );        window.close()        return;    }    dialog = new Object;    dialog.strings = new Array;    dialog.status       = document.getElementById("dialog.status");    dialog.progress     = document.getElementById("dialog.progress");    dialog.progressText = document.getElementById("dialog.progressText");    dialog.cancel       = document.getElementById("cancel");    dialog.status.value = docTitle;    // 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    printProgress.registerListener(progressListener);    moveToAlertPosition();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0a08c632e835cdf2d5a8f294ba55bf908bc10664/printProgress.js/buggy/xpfe/global/resources/content/printProgress.js