rem: window.alert ("Current view cannot be deleted."); 
add: window.alert (getMsg("deleteToolbuttonMsg")); 
context: function deleteToolbutton (tb){    var i, key = Number(tb.getAttribute("viewKey"));        if (!isNaN(key))    {        if (!client.viewsArray[key].source.isPermanent)        {            /* re-index higher toolbuttons */            for (i = key + 1; i < client.viewsArray.length; i++)            {                client.viewsArray[i].tb.setAttribute ("viewKey", i - 1);            }            arrayRemoveAt(client.viewsArray, key);            var tbinner = document.getElementById("views-tbar-inner");            tbinner.removeChild(tb);        }        else        {            window.alert ("Current view cannot be deleted.");            return -1;        }                }    else        dd  ("*** INVALID OBJECT passed to deleteToolButton (" + tb + ") " +             "no viewKey attribute. (" + key + ")");    return key;}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/aebbcdfc7af50a3119b02b13b24ac8edb1d64dbb/static.js/clean/xul/content/static.js