rem: else if ("properNick" in view) name = view.properNick; 
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;    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 if ("properNick" in view)        name = view.properNick;    else        name = view.name;    splash.appendChild(document.createTextNode(name));    setTimeout(initHeader, 500);    initialized = true;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/4cd3ec76af2e3a9922c2d114bf4267b40b388ac2/output-window.js/buggy/extensions/irc/xul/content/output-window.js