add: this.selectedBox = null;  
context: function MonthView( calendarWindow ){   // call the super constructor      this.superConstructor( calendarWindow );      // set up, see notes above      this.selectedEventBoxes = new Array();      this.selectedTodayBox = null;      this.showingLastDay = false;     // set up month day box's and day number text items, see notes above      this.dayNumberItemArray = new Array();   this.dayBoxItemArray = new Array();      var dayItemIndex = 0;      for( var weekIndex = 1; weekIndex <= 6; ++weekIndex )   {      for( var dayIndex = 1; dayIndex <= 7; ++dayIndex )      {         // add the day text item to an array[0..41]                  var dayNumberItem = document.getElementById( "month-week-" + weekIndex + "-day-" + dayIndex );         this.dayNumberItemArray[ dayItemIndex ] = dayNumberItem;                  // add the day box to an array[0..41]                  var dayBoxItem = document.getElementById( "month-week-" + weekIndex + "-day-" + dayIndex + "-box" );         this.dayBoxItemArray[ dayItemIndex ] = dayBoxItem;                  // set on click of day boxes                  dayBoxItem.setAttribute( "onclick", "gCalendarWindow.monthView.clickDay( this )" );                  //set the double click of day boxes         dayBoxItem.setAttribute( "ondblclick", "gCalendarWindow.monthView.doubleClickDay( this )" );         // array index                  ++dayItemIndex;      }   }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/30259c282ae3a6d2f4e2343cbf4a8d63f85560ac/monthView.js/clean/calendar/resources/content/monthView.js