add: updateMotifSettings();  
context: function stock_initOutputWindow(newClient, newView, newClickHandler){    function initHeader()    {        /* it's better if we wait a half a second before poking at these         * dom nodes. */        setHeaderState(view.prefs["displayHeader"]);        updateHeader();        var div = document.getElementById("messages-outer");        div.removeAttribute("hidden");        window.scrollTo(0, window.document.height);    };    client = newClient;    view = newView;    clickHandler = newClickHandler;    mainWindow = client.mainWindow;        client.messageManager.importBundle(client.defaultBundle, window);    getMsg = mainWindow.getMsg;    getObjectDetails = mainWindow.getObjectDetails;    dd = mainWindow.dd;    // Wheee... localize stuff!    //var nodes = document.getElementsByAttribute("localize", "*");    var nodes = document.getElementsByTagName("*");    for (var i = 0; i < nodes.length; i++)    {        if (nodes[i].hasAttribute("localize"))        {            var msg = nodes[i].getAttribute("localize");            msg = getMsg("msg." + msg);            nodes[i].appendChild(document.createTextNode(msg));        }    }    changeCSS(view.prefs["motif.current"]);        var output = document.getElementById("output");    output.appendChild(view.messages);    if (view.TYPE in headers)    {        header = cacheNodes(headers[view.TYPE].prefix,                            headers[view.TYPE].fields);        header.update = headers[view.TYPE].update;    }    var splash = document.getElementById("splash");    var name;    if ("unicodeName" in view)        name = view.unicodeName;    else        name = view.name;    splash.appendChild(document.createTextNode(name));    setTimeout(initHeader, 500);    initialized = true;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/9034cd27829bd17a44f6f877d0c555b2ccdffb0d/output-window.js/clean/xul/content/output-window.js