rem: if (item.calendar == aCalendar ) { 
add: if (item.calendar && item.calendar.uri.equals(aCalendar.uri)) { 
context: function getListItem(aCalendar) {    var calendarList = document.getElementById("list-calendars-listbox");    for (item = calendarList.firstChild;         item;         item = item.nextSibling) {        if (item.calendar == aCalendar ) {            return item;        }    }    return false;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5406a9f97cc774597ac27d3fb343d093b6612ef9/calendarManagement.js/clean/calendar/resources/content/calendarManagement.js