rem: var ArrayOfElements = document.getElementById( "taskitem-context-menu" ).getElementsByAttribute( "checked", "true" );  for( var i = 0; i < ArrayOfElements.length; i++ ) ArrayOfElements[i].removeAttribute( "checked" ); 
add: var liveList = document.getElementById( "taskitem-context-menu" ).getElementsByAttribute( "checked", "true" );    for (var i = liveList.length - 1; i >= 0; i-- ) { liveList.item(i).removeAttribute( "checked" ); } 
context: function changeContextMenuForToDo( event ){   var toDoItem = getToDoFromEvent( event );      if( toDoItem )   {      var ArrayOfElements = document.getElementById( "taskitem-context-menu" ).getElementsByAttribute( "checked", "true" );      for( var i = 0; i < ArrayOfElements.length; i++ )         ArrayOfElements[i].removeAttribute( "checked" );      if( document.getElementById( "percent-"+toDoItem.percent+"-menuitem" ) )      {         document.getElementById( "percent-"+toDoItem.percent+"-menuitem" ).setAttribute( "checked", "true" );      }         if( document.getElementById( "priority-"+toDoItem.priority+"-menuitem" ) )      {         document.getElementById( "priority-"+toDoItem.priority+"-menuitem" ).setAttribute( "checked", "true" );      }   }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/38c2eee92ee99cdbf47697d896e01bd5598e7f5a/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js