rem:  var ThisBox = this.dayBoxItemByDateArray[ this.calendarWindow.getSelectedDate().getDate() ]; 
add: var IndexInView = this.indexOfDate(this.calendarWindow.getSelectedDate()); var ThisBox = this.dayBoxItemArray[ IndexInView ]; 
context: MonthView.prototype.hiliteSelectedDate = function monthView_hiliteSelectedDate( ){   // Clear the old selection if there was one   this.clearSelectedDate();   this.clearSelectedBoxes();   // Set the background for selection      var ThisBox = this.dayBoxItemByDateArray[ this.calendarWindow.getSelectedDate().getDate() ];      if( ThisBox )      ThisBox.setAttribute( "monthselected" , "true" );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/235c23f4c260a3b352bcb75cc04b9fb132f9e921/monthView.js/clean/calendar/resources/content/monthView.js