rem:   /* var tree = document.getElementById( UnifinderTreeName );  var elementsToRemove = document.getElementsByAttribute( "calendarevent", "true" );  for( var i = 0; i < elementsToRemove.length; i++ ) { elementsToRemove[i].parentNode.removeChild( elementsToRemove[i] ); }   for( var index = 0; index < eventArray.length; ++index ) { var calendarEvent = eventArray[ index ];    var treeItem = document.createElement( "treeitem" );  setUnifinderEventTreeItem( treeItem, calendarEvent );  tree.getElementsByTagName( "treechildren" )[0]. appendChild( treeItem ); } */ 
context: function refreshEventTree( eventArray ){   if( eventArray === false )   {      eventArray = getEventTable();   }      document.getElementById(UnifinderTreeName).view = new treeView( eventArray );   document.getElementById( UnifinderTreeName ).eventView = new calendarEventView( eventArray );   // get the old tree children item and remove it   /*   var tree = document.getElementById( UnifinderTreeName );   var elementsToRemove = document.getElementsByAttribute( "calendarevent", "true" );      for( var i = 0; i < elementsToRemove.length; i++ )   {      elementsToRemove[i].parentNode.removeChild( elementsToRemove[i] );   }   // add: tree item, row, cell, box and text items for every event   for( var index = 0; index < eventArray.length; ++index )   {      var calendarEvent = eventArray[ index ];            // make the items            var treeItem = document.createElement( "treeitem" );            setUnifinderEventTreeItem( treeItem, calendarEvent );      tree.getElementsByTagName( "treechildren" )[0]. appendChild( treeItem );   }   */  }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/aac08243cd1670905485f170f736fd4c83464d90/unifinder.js/clean/calendar/resources/content/unifinder.js