rem: calendarListItem.setAttribute( "id", "calendar-list-item-"+ThisCalendarObject.serverNumber ); 
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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ed8071f89a080a524ee21853244bb920045b6de7/calendarManager.js/buggy/calendar/resources/content/calendarManager.js