rem: ids = ["views-tbox"]; 
add: ids = ["views-tbar"]; 
context: function onToggleVisibility(thing){        var menu = document.getElementById("menu-view-" + thing);    var ids = new Array();        switch (thing)    {        case "toolbar":            ids = ["views-tbox"];            break;                    case "info":            ids = ["user-list-box", "main-splitter"];                        break;                    case "status":            ids = ["status-bar-tbox"];            break;        default:            dd ("** Unknown element '" + menuId +                 "' passed to onToggleVisibility. **");            return;    }    var newState;    var elem = document.getElementById(ids[0]);    var d = elem.getAttribute("collapsed");        if (d == "true")    {        newState = "false";        menu.setAttribute ("checked", "true");        client.uiState[thing] = true;    }    else    {        newState = "true";        menu.setAttribute ("checked", "false");        client.uiState[thing] = false;    }        for (var i in ids)    {        elem = document.getElementById(ids[i]);        elem.setAttribute ("collapsed", newState);    }    updateTitle();}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/a9dacafd205021b0d1ce1dd1f561dffe52b25b89/handlers.js/buggy/xul/content/handlers.js