anchor.diff:    HashMap hmap = MetadataUtils.getSAB2FormalNameHashMap();
     String entry_type_syn = type;
     String available_hierarchies = NCImBrowserProperties.getSourceHierarchies();
  +  
  +  System.out.println("available_hierarchies: " + available_hierarchies);
  +  
   
     String nciterm_browser_url = NCImBrowserProperties.getTermBrowserURL();
     String secured_vocabularies = NCImBrowserProperties.getSecuredVocabularies();
  
positive.code:                 && term_source_code.compareTo("null") != 0
                  && hmap.containsKey(term_source)) {
                  term_browser_formalname = (String) hmap.get(term_source);
              }
  
              String rowColor = (n%2 == 0) ? "dataRowDark" : "dataRowLight";
          %>
              <tr class="<%=rowColor%>">
                <td class="dataCellText" width=675><%=term_name%></td>
                <td class="dataCellText" width=100><%=term_source%></td>
                <td class="dataCellText" width=100><%=term_type%></td>
  
                <%
                
                if (term_browser_formalname == null) {
                %>
                <td class="dataCellText" width=125><%=term_source_code%></td>
                <%
                } else {
                %>
  
                    <td class="dataCellText" width=100>
  
  <%
  boolean licenseAgreementAccepted = false;
  String formal_name = null;
  boolean isLicensed = DataUtils.checkIsLicensed(term_source);
  String cs_name = Constants.CODING_SCHEME_NAME;
  String view_in_source_hierarchy_label = "View In Source Hierarchy";
  if (term_source != null) {
      view_in_source_hierarchy_label = "View In " + term_source + " Hierarchy";
  }
  
  if (term_source != null && isLicensed ) {
       formal_name = MetadataUtils.getSABFormalName(term_source);
       licenseAgreementAccepted = licenseBean.licenseAgreementAccepted(formal_name);
       if (licenseAgreementAccepted) {
  %>     
  	  <a href="#" onclick="javascript:window.open('<%=nciterm_browser_url%>/ncitbrowser/pages/concept_details.jsf?dictionary=<%=term_browser_formalname%>&code=<%=term_source_code%>',
  	  '_blank','top=100, left=100, height=740, width=780, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
  	      <%=term_source_code%>
  	  </a>  
  	  
  <%
  	      if (available_hierarchies != null && available_hierarchies.indexOf("|" + term_source + "|") != -1) {
  %>		      
  		      <a class="icon_blue" href="#" onclick="javascript:window.open('<%=request.getContextPath() %>/pages/source_hierarchy.jsf?dictionary=<%=cs_name%>&code=<%=id%>&sab=<%=term_source%>&type=hierarchy', '_blank','top=100, left=100, height=740, width=680, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
  		      <img src="<%=basePath%>/images/visualize.gif" width="16px" height="16px" alt="View In Source Hierarchy" border="0"/>
  		      </a>
  <%		      
  	      }
  %>	  
  	  
  <%     
       } else {
  %> 
  
  	  <a href="#" onclick="javascript:window.open('<%= request.getContextPath() %>/pages/accept_license.jsf?dictionary=<%=formal_name%>&code=<%=term_source_code%>',
  	  '_blank','top=100, left=100, height=740, width=780, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
  	      <%=term_source_code%>
  	  </a>  
  
  <%
  	      if (available_hierarchies != null && available_hierarchies.indexOf("|" + term_source + "|") != -1) {
  %>		      
  		      <a class="icon_blue" href="#" onclick="javascript:window.open('<%=request.getContextPath() %>/pages/accept_license.jsf?dictionary=<%=formal_name%>&code=<%=id%>&sab=<%=term_source%>&type=hierarchy', '_blank','top=100, left=100, height=740, width=680, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
  		      <img src="<%=basePath%>/images/visualize.gif" width="16px" height="16px" title="<%=view_in_source_hierarchy_label%>" alt="<%=view_in_source_hierarchy_label%>" border="0"/>
  		      </a>
  <%		      
  	      }
  %>	      
            
  <%          
       }
  } else {
  
  %>
                    <a href="#" onclick="javascript:window.open('<%=nciterm_browser_url%>/ncitbrowser/pages/concept_details.jsf?dictionary=<%=term_browser_formalname%>&code=<%=term_source_code%>',
                    '_blank','top=100, left=100, height=740, width=780, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
                        <%=term_source_code%>
                    </a>
                    
  <%                  
  	      if (available_hierarchies != null && available_hierarchies.indexOf("|" + term_source + "|") != -1) {
  %>		      
  		      <a class="icon_blue" href="#" onclick="javascript:window.open('<%=request.getContextPath() %>/pages/source_hierarchy.jsf?dictionary=<%=cs_name%>&code=<%=id%>&sab=<%=term_source%>&type=hierarchy', '_blank','top=100, left=100, height=740, width=680, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
  		      <img src="<%=basePath%>/images/visualize.gif" width="16px" height="16px" alt="<%=view_in_source_hierarchy_label%>" title="<%=view_in_source_hierarchy_label%>" border="0"/>
  		      </a>
  <%		      
  	      }    
  %>	      
                    
  <% 
  } 
  %>
  
                    </td>
                <%
                }
                %>
  
              </tr>
          <%
  
negative.code:             String term_name = (String) synonym_data.elementAt(0);
              String term_type = (String) synonym_data.elementAt(1);
              String term_source = (String) synonym_data.elementAt(2);
              
              
   System.out.println(term_source);
   
              
              String term_browser_formalname = null;
              String term_source_code = (String) synonym_data.elementAt(3);
  
  