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: }
  
  boolean licenseAgreementAccepted = licenseBean.licenseAgreementAccepted(SABFormalName);
  boolean isLicensed = licenseBean.isLicensed(SABFormalName, null); 
  */
  
          if (ontology_sab.compareTo("NCI") == 0) {
  %>        
             <div><img src="<%=basePath%>/images/thesaurus_popup_banner.gif" width="612" height="56" alt="NCI Thesaurus" title="" border="0" /></div>
  <%
          } else {
          
  %>        
             <div><%=ontology_formalname%></div>
  <%           
          }
  %>        
          
          <div id="popupContentArea">
            <table width="580px" cellpadding="3" cellspacing="0" border="0">
              <tr class="textbody">
                <td class="pageTitle" align="left">
                
  <%              
                    if (ontology_sab.compareTo("NCI") == 0) {
  %>                  
                        NCI Thesaurus Hierarchy
  <%                      
                    } else {
  %>                  
                        <%=ontology_sab%> Hierarchy
  <%                      
                    }
  %>                 
                    
                </td>
                <td class="pageTitle" align="right">
                  <font size="1" color="red" align="right">
  
negative.code:             <input type="hidden" id="ontology_node_id" name="ontology_node_id" value="<%=ontology_node_id%>" />
              <%
                String ontology_display_name = HTTPUtils.cleanXSS((String)request.getParameter("dictionary"));
          if (ontology_display_name == null) ontology_display_name = Constants.CODING_SCHEME_NAME;//"NCI Metathesaurus";
  
          //hidden variables
          //String licenseAgreementAccepted_str = new Boolean(licenseAgreementAccepted).toString();
          //String isLicensed_str = new Boolean(isLicensed).toString();
              %>
  
              <input type="hidden" id="ontology_display_name" name="ontology_display_name" value="<%=ontology_display_name%>" />
              <input type="hidden" id="ontology_sab" name="ontology_sab" value="<%=ontology_sab%>" />
  
            </form>
            <!-- End of Tree control content -->
          </div>
  