rem: if (!isLeaf) { var plusMinusImage= document.createElement("IMG"); plusMinusImage.className = "expander"; setImage(plusMinusImage, "plus"); container.appendChild(plusMinusImage); 
add: var plusMinusImage= document.createElement("IMG"); plusMinusImage.className = "expander"; setImage(plusMinusImage, "plus"); if (isLeaf) { plusMinusImage.className = "h"; plusMinusImage.alt = ""; 
context: function mergeChild(treeItem, id, name, href, image, isLeaf) {      var children = treeItem.childNodes;    if (children !== null) {        for (var i = 0; i < children.length; i++) {            if (children[i].nodeid == id ) {                return children[i];            }        }    }            var childItem = document.createElement("div");    // roots should have an id of "tree_root" to prevent indentation    if (treeItem.id == "tree_root") {        childItem.className = "root";    } else {        childItem.className = "visible";     }    childItem.nodeid = id;    treeItem.appendChild(childItem);        // If this is not a leaf create a span to prevent line breaking    var container;    if (isLeaf) {        container = childItem;    } else {        container = document.createElement("SPAN");        container.className = "item";        childItem.appendChild(container);    }       var topicImage = document.createElement("IMG");    setImage(topicImage, image);    var topicName=document.createTextNode(name);        if (!isLeaf) {        var plusMinusImage= document.createElement("IMG");        plusMinusImage.className = "expander";        setImage(plusMinusImage, "plus");        container.appendChild(plusMinusImage);    }          var anchor = document.createElement("a");    if (href === null) {        anchor.href = "about:blank";        // anchor.className = "nolink";    } else {        anchor.href = href;    }    anchor.title = name;        anchor.appendChild(topicImage);    anchor.appendChild(topicName);    container.appendChild(anchor);        if (!isLeaf) {        var innerDiv = document.createElement("DIV");          innerDiv.className = "unopened";        childItem.appendChild(innerDiv);    }    return childItem;}
meta: 10107	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10107/62b1d8d0b347f910809e25dcfb161ac644838df8/helptreechildren.js/clean/org.eclipse.help.webapp/advanced/helptreechildren.js