rem:   var treeitem = event.target.parentNode.parentNode.parentNode.parentNode; 
add:  var treeitem = event.target.parentNode.parentNode.parentNode; 
context: function OnClick(event){    debug('OnClick()\n');    // This'll be set to 'twisty' on the twisty icon, and 'filename'    // if they're over the filename link.    var targetclass = event.target.getAttribute('class');    debug('targetclass = ' + targetclass + '\n');    if (targetclass == 'twisty') {        // The twisty is nested three below the treeitem:        // <treeitem>        //   <treerow>        //     <treecell>        //       <box> <!-- anonymous -->        //         <titledbutton class="twisty"> <!-- anonymous -->        var treeitem = event.target.parentNode.parentNode.parentNode.parentNode;        ToggleOpenState(treeitem);    }    else {        // The click'll have hit a cell, which is nested two below the        // treeitem.        var treeitem = event.target.parentNode.parentNode;        // This'll be set to 'FILE' for files and 'DIRECTORY' for        // directories.        var type = treeitem.getAttribute('type');        if (targetclass == 'filename') {            var url = treeitem.getAttribute('id');            debug('navigating to ' + url + '\n');            window.content.location.href = url;        }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fd88805c52f504bd2e9f5896196631790cbea9c6/directory.js/clean/suite/common/directory/directory.js