rem: treeitem.setAttribute(" checked", true ); 
add: treeitem.setAttribute( "checked", true ); 
context: function unifinderClickToDo( event ){   // only change checkbox on left mouse-button click   if( event.button != 0)      return;         var tree = document.getElementById( ToDoUnifinderTreeName );   var ThisToDo = getToDoFromEvent( event );      var row = new Object();   var childElt = { };   var colID = { };   tree.treeBoxObject.getCellAt( event.clientX, event.clientY, row, colID, childElt );   if( colID.value == "unifinder-todo-tree-col-completed" && childElt.value == "image" )   {            var treeitem = tree.treeBoxObject.view.getItemAtIndex( row.value );      var isChecked = treeitem.getAttribute( "checked" );      if( isChecked )         treeitem.removeAttribute( "checked" )      else         treeitem.setAttribute(" checked", true );            checkboxClick( ThisToDo, !isChecked )   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d17e41996863006957f43648b6d55e5d9f2c5d6c/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js