rem: var SelectedBoxes = document.getElementsByAttribute( "multiweekselected", "true" );  while( SelectedBoxes.item(0) ) { SelectedBoxes[0].removeAttribute( "multiweekselected" ); } 
add: this.removeAttributeFromElements("multiweekselected", "true"); 
context: MultiweekView.prototype.clearSelectedDate = function multiweekView_clearSelectedDate( ){   var SelectedBoxes = document.getElementsByAttribute( "multiweekselected", "true" );      while( SelectedBoxes.item(0) )   {      SelectedBoxes[0].removeAttribute( "multiweekselected" );   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5bc46caa79309e76cbe3752d2c2e9301cfec0995/multiweekView.js/buggy/calendar/resources/content/multiweekView.js