rem: calendarListItem.setAttribute( "label", ThisCalendarObject.name ); calendarListItem.setAttribute( "flex", "1" ); 
add:  var calendarListCell = document.createElement( "listcell" ); calendarListCell.setAttribute( "id", "calendar-list-item-"+ThisCalendarObject.serverNumber ); calendarListCell.setAttribute( "class", "calendar-list-item-class" ); calendarListCell.setAttribute( "src", "chrome: calendarListCell.setAttribute( "label", ThisCalendarObject.name ); calendarListCell.setAttribute( "flex", "1" ); calendarListCell.setAttribute( "calendarPath", ThisCalendarObject.path ); calendarListCell.setAttribute( "type", "checkbox" ); calendarListCell.setAttribute( "checked", ThisCalendarObject.active ); 
context: calendarManager.prototype.addCalendarToListBox = function calMan_addCalendarToListBox( ThisCalendarObject ){   var calendarListItem = document.createElement( "listitem" );   calendarListItem.setAttribute( "id", "calendar-list-item-"+ThisCalendarObject.serverNumber );   calendarListItem.setAttribute( "onclick", "switchCalendar( event );" );   calendarListItem.calendarObject = ThisCalendarObject;   calendarListItem.setAttribute( "label", ThisCalendarObject.name );   calendarListItem.setAttribute( "flex", "1" );      calendarListItem.setAttribute( "calendarPath", ThisCalendarObject.path );   calendarListItem.setAttribute( "type", "checkbox" );   calendarListItem.setAttribute( "checked", ThisCalendarObject.active );      document.getElementById( "list-calendars-listbox" ).appendChild( calendarListItem );}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ed8071f89a080a524ee21853244bb920045b6de7/calendarManager.js/clean/calendar/resources/content/calendarManager.js