anchor.diff:          var pos = id.indexOf("|");
           if ( typeof(respObj.nodes) != "undefined") {
   
  -	    if (pos == -1) {
  -		      for (var i=0; i < respObj.nodes.length; i++) {
  -			var name = respObj.nodes[i].ontology_node_name;
  -			var nodeDetails = "javascript:onClickTreeNode('" + respObj.nodes[i].ontology_node_id + "');";
  -			var newNodeData = { label:name, id:respObj.nodes[i].ontology_node_id, href:nodeDetails };
  -			var newNode = new YAHOO.widget.TextNode(newNodeData, node, false);
  -			if (respObj.nodes[i].ontology_node_child_count > 0) {
  -			    newNode.setDynamicLoad(loadNodeData);
  -			}
  -		      }
  -
  -	    } else {
  -		var parent = node.parent;
  -		var parent_label = parent.label;
  -		if (parent_label == undefined) {
  -		    parent = tree.getRoot();
  -		}
  -		for (var i=0; i < respObj.nodes.length; i++) {
  -		    var name = respObj.nodes[i].ontology_node_name;
  -		    var nodeDetails = "javascript:onClickTreeNode('" + respObj.nodes[i].ontology_node_id + "');";
  -		    var newNodeData = { label:name, id:respObj.nodes[i].ontology_node_id, href:nodeDetails };
  -		    var newNode = new YAHOO.widget.TextNode(newNodeData, parent, true);
  -		    if (respObj.nodes[i].ontology_node_child_count > 0) {
  -			newNode.setDynamicLoad(loadNodeData);
  -		    }
  -		}
  -		tree.removeNode(node,true);
  -		if (parent_label == undefined) {
  -		    tree.draw();
  -		}		
  -	    }
  +      if (pos == -1) {
  +          for (var i=0; i < respObj.nodes.length; i++) {
  +      var name = respObj.nodes[i].ontology_node_name;
  +      var nodeDetails = "javascript:onClickTreeNode('" + respObj.nodes[i].ontology_node_id + "');";
  +      var newNodeData = { label:name, id:respObj.nodes[i].ontology_node_id, href:nodeDetails };
  +      var newNode = new YAHOO.widget.TextNode(newNodeData, node, false);
  +      if (respObj.nodes[i].ontology_node_child_count > 0) {
  +          newNode.setDynamicLoad(loadNodeData);
  +      }
  +          }
  +
  +      } else {
  +    var parent = node.parent;
  +    var parent_label = parent.label;
  +    if (parent_label == undefined) {
  +        parent = tree.getRoot();
  +    }
  +    for (var i=0; i < respObj.nodes.length; i++) {
  +        var name = respObj.nodes[i].ontology_node_name;
  +        var nodeDetails = "javascript:onClickTreeNode('" + respObj.nodes[i].ontology_node_id + "');";
  +        var newNodeData = { label:name, id:respObj.nodes[i].ontology_node_id, href:nodeDetails };
  +        var newNode = new YAHOO.widget.TextNode(newNodeData, parent, true);
  +        if (respObj.nodes[i].ontology_node_child_count > 0) {
  +      newNode.setDynamicLoad(loadNodeData);
  +        }
  +    }
  +    tree.removeNode(node,true);
  +    if (parent_label == undefined) {
  +        tree.draw();
  +    }
  +      }
           }
           fnLoadComplete();
         }
  
positive.code:       rootDescDiv.show();
        rootDescDiv.render();
      }
      
      
      function showTreeLoadingStatus() {
        treeStatusDiv.setBody("<img src='<%=basePath%>/images/loading.gif'/> <span class='instruction_text'>Building tree ...</span>");
        treeStatusDiv.show();
        treeStatusDiv.render();
      }
  
      function showSearchingTreeStatus() {
        treeStatusDiv.setBody("<img src='<%=basePath%>/images/loading.gif'/> <span class='instruction_text'>Retrieving data -- please wait ...</span>");
        treeStatusDiv.show();
        treeStatusDiv.render();
      }
  
      function showRenderingTreeStatus() {
        treeStatusDiv.setBody("<img src='<%=basePath%>/images/loading.gif'/> <span class='instruction_text'>Rendering tree -- please wait ...</span>");
        treeStatusDiv.show();
        treeStatusDiv.render();
      }
      
      function loadNodeData(node, fnLoadComplete) {
        var id = node.data.id;
  
  
negative.code:           <td valign="top"><div id="closeWindow"><a href="javascript:window.close();"><img src="<%=basePath%>/images/thesaurus_close_icon.gif" width="10" height="10" border="0" alt="Close Window" />&nbsp;CLOSE WINDOW</a></div></td>
          </tr>
          </table>
  
  <%
  String ontology_sab = null;
  String ontology_formalname = null;
  