rem: for( i = 0; i < ArrayOfBoxes.length; i++ ) 
add: while( ArrayOfBoxes.item(0) ) 
context: MultiweekView.prototype.clearSelectedEvent = function multiweekView_clearSelectedEvent( ){  debug("clearSelectedEvent");   var ArrayOfBoxes = document.getElementsByAttribute( "eventselected", "true" );   for( i = 0; i < ArrayOfBoxes.length; i++ )   {      ArrayOfBoxes[i].removeAttribute( "eventselected" );      }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7a292c3f2270846f4909263745ca851a85fc3efb/multiweekView.js/buggy/calendar/resources/content/multiweekView.js