rem: var tree = document.getElementById(gUnifinderTreeName); 
add: var tree = document.getElementById("unifinder-search-results-tree"); 
context: function unifinderOnSelect(event) {    if (event.target.view.selection.getRangeCount() == 0) {        return;    }    var arrayOfEvents = new Array();    gCalendarEventTreeClicked = true;    var calendarEvent;    // Get the selected events from the tree    var tree = document.getElementById(gUnifinderTreeName);    var start = new Object();    var end = new Object();    var numRanges = tree.view.selection.getRangeCount();    for (var t = 0; t < numRanges; t++){        tree.view.selection.getRangeAt(t, start, end);        for (var v = start.value; v <= end.value; v++){            try {                calendarEvent = tree.eventView.getCalendarEventAtRow(v);            } catch (e) {               dump("Error getting Event from row: " + e + "\n");               return;            }            if (calendarEvent) {                arrayOfEvents.push(calendarEvent);            }        }    }    if (arrayOfEvents.length == 1) {        currentView().goToDay(arrayOfEvents[0].startDate);    }    // Pass in true, so we don't end up in a circular loop    currentView().setSelectedItems(arrayOfEvents.length, arrayOfEvents, true);    onSelectionChanged({detail: arrayOfEvents});}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/caae7cfe1ba6ba5c6c5b566ba81e180b15567544/calendar-unifinder.js/clean/calendar/base/content/calendar-unifinder.js