rem: selectedCalendar = calendarList.currentItem.calendar; 
add: selectedCalendar = calendarList.selectedItem.calendar; 
context: function getCalendar(){   var calendarList = document.getElementById("list-calendars-listbox");   try {       var selectedCalendar = calendarList.currentItem.calendar;       return selectedCalendar;   } catch(e) {       newCalendarDialog();       selectedCalendar = calendarList.currentItem.calendar;       return selectedCalendar;   }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f892c29c0d507cd27262778be93792bf15b08d04/calendar.js/clean/calendar/resources/content/calendar.js