rem: }, 
add: } 
context: function CalendarWindow( ){   // Extension authors can tweak this array to make gCalendarWindow.switchToView    // play nicely with any additional views   this.availableViews = ["day", "week", "multiweek", "month"];   /** This object only exists to keep too many things from breaking during the    *   switch to the new views   **/   this.currentView = {       changeNumberOfWeeks: function(menuitem) {           var mwView = document.getElementById("view-deck").selectedPanel;           mwView.weeksInView = menuitem.value;       },   };   // Get the last view that was shown before shutdown, and switch to it   var SelectedIndex = document.getElementById("view-deck").selectedIndex;      switch( SelectedIndex )   {      case "1":         this.switchToView('week');         break;      case "2":         this.switchToView('multiweek');         break;      case "3":         this.switchToView('month');         break;      case "0":      default:         this.switchToView('day');         break;   }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/5896cd7e33e835041517be19b06d0c7e2f5ac1ee/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js