rem: return window.setTimeout( "SetTitle('" + subject + "');", 0 ); 
add: return window.setTimeout(SetTitle, 0, subject); 
context: function onLoad() {    // Set global variables.    var subject = "";    msgProgress = window.arguments[0];    if (window.arguments[1])    {      var progressParams = window.arguments[1].QueryInterface(Components.interfaces.nsIMsgComposeProgressParams)      if (progressParams)      {        itsASaveOperation = (progressParams.deliveryMode != msgCompDeliverMode.Now);        subject = progressParams.subject;      }    }    if ( !msgProgress ) {        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");    // 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    msgProgress.registerListener(progressListener);    window.moveTo(opener.screenX + 16, opener.screenY + 32);    //We need to delay the set title else dom will overwrite it    return window.setTimeout( "SetTitle('" + subject + "');", 0 );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/10c2af1d4c8487721186798a9bf6a4d99fcac525/sendProgress.js/clean/mailnews/compose/resources/content/sendProgress.js