add: if (("arguments" in window) && (window.arguments.length) && (typeof(window.arguments[0]) == "object") && ("channel" in window.arguments[0]) ) { gCalendarWindow.calendarManager.checkCalendarURL( window.arguments[0].channel ); }   var value = document.getElementById( 'event-filter-menulist' ).value; document.getElementById( 'event-filter-menulist' ).selectedItem = document.getElementById( 'event-filter-'+value );  var toolbox = document.getElementById("calendar-toolbox"); toolbox.customizeDone = CalendarToolboxCustomizeDone; 
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();   initCalendarManager();   //XXX Reimplement this function so that eventboxes will be colored   //updateColors();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1fc7a1c39475210e492cbfc7640f3a7380c089fa/calendar.js/buggy/calendar/resources/content/calendar.js