anchor.diff:  
       String match_text = (String) request.getSession().getAttribute("matchText");
       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:      %>
      <tr valign="top" align="left">
        <td align="left" class="textbody" colspan="2">
          <input type="radio" name="searchTarget" value="names" alt="Names" <%=check_n%>>Name/Code&nbsp;
          <input type="radio" name="searchTarget" value="properties" alt="Properties" <%=check_p%>>Property&nbsp;
          <input type="radio" name="searchTarget" value="relationships" alt="Relationships" <%=check_r%>>Relationship
          
        </td>
      </tr>
      <tr><td height="5px;"></td></tr>
  
negative.code:             </h:outputLabel>
  
     <%
  
     if (!MetadataUtils.isMetadataAvailable()) {
         MetadataUtils.initialize();
     }
  
     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 isLicensed = DataUtils.checkIsLicensed(selectedSource);
        boolean licenseAgreementAccepted = false;
        String formal_name = MetadataUtils.getSABFormalName(selectedSource);
        String view_source_hierarchy_label = "View " + selectedSource + " Hierarchy";
  
        LicenseBean licenseBean = (LicenseBean) request.getSession().getAttribute("licenseBean");
        if (licenseBean == null) {
            licenseBean = new LicenseBean();
            request.getSession().setAttribute("licenseBean", licenseBean);
        }
  
        licenseAgreementAccepted = licenseBean.licenseAgreementAccepted(formal_name);
  
        if (!isLicensed || licenseAgreementAccepted) {
  
      %>
              <a class="icon_blue" 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');">
                <img src="<%=basePath%>/images/visualize.gif" width="16px" height="16px" alt="<%=view_source_hierarchy_label%>" title="<%=view_source_hierarchy_label%>" border="0"/>
              </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>
      <%
              }
      }
     }
     %>
  
  