rem: tb.setAttribute ("src", client.CUR_IMG); 
add: if (tb) tb.setAttribute ("src", client.CUR_IMG); 
context: function setCurrentObject (obj){    if (!obj.messages)    {        dd ("** INVALID OBJECT passed to setCurrentObject **");        return false;    }    var tb = getTBForObject(client.currentObject);    tb.setAttribute ("src", client.NACT_IMG);    var output = document.getElementById ("output");    output.removeChild (output.firstChild);    output.appendChild (obj.messages);    var quickList = document.getElementById ("quickList");    if (!obj.list)        obj.list = new CListBox();        quickList.removeChild (quickList.firstChild);    quickList.appendChild (obj.list.listContainer);            client.currentObject = obj;    tb = getTBForObject(obj);    tb.setAttribute ("src", client.CUR_IMG);    }
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/06ab51295f3c6825ba59a5f5aa19804e92f7242b/test3-static.js/clean/xul/tests/test3-static.js