rem: var spacer = client.viewsArray[key].spacer; 
context: function deleteTab (tb){    var i, key = Number(tb.getAttribute("viewKey"));        if (!isNaN(key))    {        if ("isPermanent" in client.viewsArray[key].source &&            client.viewsArray[key].source.isPermanent)        {            window.alert (getMsg("deleteTabMsg"));            return -1;        }        else        {            /* re-index higher toolbuttons */            for (i = key + 1; i < client.viewsArray.length; i++)            {                client.viewsArray[i].tb.setAttribute ("viewKey", i - 1);                client.viewsArray[i].spacer.setAttribute ("index", i - 1);            }            var spacer = client.viewsArray[key].spacer;            arrayRemoveAt(client.viewsArray, key);            var tbinner = document.getElementById("views-tbar-inner");            tbinner.removeChild(tb);            tbinner.removeChild(spacer);        }    }    else        dd  ("*** INVALID OBJECT passed to deleteTab (" + tb + ") " +             "no viewKey attribute. (" + key + ")");    return key;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ea43b0eeae8110c500524d188edb3de2efcdc5cb/static.js/buggy/extensions/irc/xul/content/static.js