rem:  middle = Bundle.GetStringFromName("titleMailPreHost"); end = identity.email; 
context: function setTitleFromFolder(msgfolder, subject){    if (!msgfolder) return;    var title;    var server = msgfolder.server;    if (null != subject)      title = subject+" - ";    else      title = "";    if (msgfolder.isServer) {            // <hostname>            title += server.hostName;    }    else {        var middle;        var end;        if (server.type == "nntp") {            // <folder> on <hostname>            middle = Bundle.GetStringFromName("titleNewsPreHost");            end = server.hostName;        } else {            var identities = accountManager.GetIdentitiesForServer(server);            var identity = identities.QueryElementAt(0, Components.interfaces.nsIMsgIdentity);                        // <folder> for <email>            middle = Bundle.GetStringFromName("titleMailPreHost");            end = identity.email;        }        title += msgfolder.prettyName + " " + middle + " " + end;    }    title += " - " + BrandBundle.GetStringFromName("brandShortName");    window.title = title;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/30d0836cd54d0ddf4cc5f0efdd361604258cd8e2/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js