rem: var boxobj = document.getElementById("calendarTree").treeBoxObject; 
add: var calTree = document.getElementById("calendarTree") 
context: function removeCalendarFromTree(aCalendar){    var boxobj = document.getElementById("calendarTree").treeBoxObject;    // Special trick to compare interface pointers, since normal, ==    // comparison can fail due to javascript wrapping.    var sip = Components.classes["@mozilla.org/supports-interface-pointer;1"]                         .createInstance(Components.interfaces.nsISupportsInterfacePointer);    sip.data = aCalendar;    sip.dataIID = Components.interfaces.calICalendar;    boxobj.rowCountChanged(getCalendars().indexOf(sip.data), -1);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1c265747bf597662806eae4e4c9d76f30963b489/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js