rem: for ( j = 0; j < EventBoxes.length; j++ ) 
add: for (var j = 0; j < EventBoxes.length; j++ ) 
context:       onSelectionChanged : function( EventSelectionArray )      {          if( EventSelectionArray.length > 0 )         {            setTimeout( "gCalendarWindow.multiweekView.clearSelectedDate();", 1 );            var i = 0;                        for( i = 0; i < EventSelectionArray.length; i++ )            {               var EventBoxes;               if( EventSelectionArray[i].due ) 		 {		   EventBoxes = document.getElementsByAttribute( "name", "multiweek-view-todo-box-"+EventSelectionArray[i].id );		   		 }	       else		 {		   EventBoxes = document.getElementsByAttribute( "name", "multiweek-view-event-box-"+EventSelectionArray[i].id );		 }               for ( j = 0; j < EventBoxes.length; j++ )                {                  EventBoxes[j].setAttribute( "eventselected", "true" );               }            }         }         else         {            //select the proper day            gCalendarWindow.multiweekView.hiliteSelectedDate();         }      }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4d83c28abdf92a3318a9c1ab5072e58054a2f6e1/multiweekView.js/clean/calendar/resources/content/multiweekView.js