rem: window.title = title; 
add: document.title = title; 
context: function setTitleFromFolder(msgfolder, subject){    var title = subject || "";    if (msgfolder)    {      if (title)        title += " - ";      title += msgfolder.prettyName;      if (!msgfolder.isServer)      {        var server = msgfolder.server;        var middle;        var end;        if (server.type == "nntp") {          // <folder> on <hostname>          middle = gMessengerBundle.getString("titleNewsPreHost");          end = server.hostName;        } else {          var identity;          try {            var identities = accountManager.GetIdentitiesForServer(server);            identity = identities.QueryElementAt(0, Components.interfaces.nsIMsgIdentity);            // <folder> for <email>            middle = gMessengerBundle.getString("titleMailPreHost");            end = identity.email;          } catch (ex) {}        }        if (middle) title += " " + middle;        if (end) title += " " + end;      }    }    title += " - " + gBrandBundle.getString("brandShortName");    window.title = title;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1bd74e9b533c0f38350763c98c1572d6b067e953/commandglue.js/clean/mailnews/base/resources/content/commandglue.js