anchor.diff:  <%
       String match_text = (String) request.getParameter("searchText");
       if (match_text == null || match_text.compareTo("null") == 0) match_text = "";
  -    String displayed_match_text = HTTPUtils.convertJSPString(match_text); 
  +    String displayed_match_text = HTTPUtils.convertJSPString(match_text);
   
   %>
   
  -  <input CLASS="searchbox-input" name="matchText" value="<%=displayed_match_text%>" onFocus="active = true"
  +  <label for="matchText"/><input CLASS="searchbox-input" id="matchText" name="matchText" value="<%=displayed_match_text%>" onFocus="active = true"
       onBlur="active = false" onkeypress="return submitEnter('search',event)" />
       <h:commandButton id="search" value="Search" action="#{userSessionBean.searchAction}"
         onclick="javascript:cursor_wait();"
  
positive.code: <%@ page import="gov.nih.nci.evs.browser.utils.MetadataUtils" %>
  <%@ page import="gov.nih.nci.evs.browser.utils.HTTPUtils" %>
  <%@ page import="gov.nih.nci.evs.browser.bean.LicenseBean" %>
   
  <script type="text/javascript">
    function cursor_wait() {
       document.body.style.cursor = 'wait';
    }
    
    function disableAnchor(){
    
      var obj1 = document.getElementById("a_tpTab");
      if (obj1 != null) obj1.removeAttribute('href');
    
      var obj2 = document.getElementById("a_relTab");
      if (obj2 != null) obj2.removeAttribute('href');
    
      var obj3 = document.getElementById("a_synTab");
      if (obj3 != null) obj3.removeAttribute('href');
    
      var obj4 = document.getElementById("a_srcTab");
      if (obj4 != null) obj4.removeAttribute('href');
    
      var obj5 = document.getElementById("a_allTab");
      if (obj5 != null) obj5.removeAttribute('href');
    
      var obj6 = document.getElementById("a_hierBut");
      if (obj6 != null) obj6.removeAttribute('href');
    
    }
  </script>
  
  
negative.code: <%
  Object obj = request.getSession().getAttribute("selectedSource");
  if (obj != null) {
    String selectedSource = (String) obj;
    String available_hierarchies = NCImBrowserProperties.getSourceHierarchies();
    if (available_hierarchies != null && available_hierarchies.indexOf("|" + selectedSource + "|") != -1) {
  
      boolean licenseAgreementAccepted = false;
      String formal_name = MetadataUtils.getSABFormalName(selectedSource);
      String view_source_hierarchy_label = "View " + selectedSource + " Hierarchy";
  
      boolean isLicensed = DataUtils.checkIsLicensed(selectedSource);
      if (licenseAgreementAccepted) {
  
    %>
          <a href="#" onclick="javascript:window.open('<%=request.getContextPath() %>/pages/source_hierarchy.jsf?sab=<%=selectedSource%>', '_blank','top=100, left=100, height=740, width=680, status=no, menubar=no, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');">
         View Hierarchy
          </a>
    <%
            } else {
          %>
            <a class="icon_blue" href="#" onclick="javascript:window.open('<%=request.getContextPath() %>/pages/accept_license.jsf?dictionary=<%=formal_name%>&sab=<%=selectedSource%>&type=browsehierarchy', '_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_source_hierarchy_label%>" title="<%=view_source_hierarchy_label%>" border="0"/>
            </a>
    <%
            }
    }
  }
  %>
        </td>
      </tr>
  