rem: updateColors(); 
add: initCalendarManager();    
context: function calendarInit() {    // XXX remove this eventually    gICalLib = new Object();   // set up the CalendarWindow instance      gCalendarWindow = new CalendarWindow();      //when you switch to a view, it takes care of refreshing the events, so that call is not needed.   gCalendarWindow.currentView.switchTo( gCalendarWindow.currentView );   // set up the checkboxes variables   gOnlyWorkdayChecked = document.getElementById( "only-workday-checkbox-1" ).getAttribute("checked") ;   gDisplayToDoInViewChecked = document.getElementById( "display-todo-inview-checkbox-1" ).getAttribute("checked") ;   // set up the unifinder      prepareCalendarUnifinder();   prepareCalendarToDoUnifinder();      update_date();   	   checkForMailNews();   updateColors();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/efb2bd65d59602ada11898e626b3e77f6d397006/calendar.js/buggy/calendar/resources/content/calendar.js