anchor.diff:            <td class="texttitle-blue"><%=name%> (Code <%=code%>)</td>
   
             <%
  -          	Vector visitedConcepts = (Vector) request.getSession()
  -          					.getAttribute("visitedConcepts");
  -          			if (visitedConcepts == null) {
  -          				visitedConcepts = new Vector();
  -          			}
  -
  -          			String localCodingSchemeName = DataUtils
  -          					.getLocalName(tg_dictionary_0);
  -          			String visitedConceptStr = localCodingSchemeName + "|"
  -          					+ code + "|" + name;
  -          			if (!visitedConcepts.contains(visitedConceptStr)) {
  -          				visitedConcepts.add(visitedConceptStr);
  -          				request.getSession().removeAttribute("visitedConcepts");
  -          				request.getSession().setAttribute("visitedConcepts",
  -          						visitedConcepts);
  -          			}
  -
  -          			if (term_suggestion_application_url != null
  -          					&& term_suggestion_application_url.compareTo("") != 0) {
  +            Vector visitedConcepts = (Vector) request.getSession()
  +                    .getAttribute("visitedConcepts");
  +                if (visitedConcepts == null) {
  +                  visitedConcepts = new Vector();
  +                }
  +
  +                String localCodingSchemeName = DataUtils
  +                    .getLocalName(tg_dictionary_0);
  +                String visitedConceptStr = localCodingSchemeName + "|"
  +                    + code + "|" + name;
  +                if (!visitedConcepts.contains(visitedConceptStr)) {
  +                  visitedConcepts.add(visitedConceptStr);
  +                  request.getSession().removeAttribute("visitedConcepts");
  +                  request.getSession().setAttribute("visitedConcepts",
  +                      visitedConcepts);
  +                }
  +
  +                if (term_suggestion_application_url != null
  +                    && term_suggestion_application_url.compareTo("") != 0) {
             %>
             <td align="right" valign="bottom" class="texttitle-blue-rightJust" nowrap>
                <a href="<%=term_suggestion_application_url%>?dictionary=<%=tg_dictionary%>&code=<%=code%>" target="_blank" alt="Term Suggestion">Suggest changes to this concept</a>
             </td>
             <%
  -          	}
  -          %>
  -
  +            }
  +          %>
           </tr>
         </table>
   
  
positive.code:           <%@ include file="/pages/templates/synonym.jsp" %>
        </div>
            <%
            	} else {
            %>
        <div class="textbody">
            <%=name%>
        </div>
      <%
      	}
      %>
              <%@ include file="/pages/templates/nciFooter.html" %>
            </div>
  
negative.code:       <div id="main-area">
  
            <%
              String code = null;
                String type = null;
                String singleton = gov.nih.nci.evs.browser.utils.HTTPUtils
                    .cleanXSS((String) request.getAttribute("singleton"));
  
                if (singleton != null && singleton.compareTo("true") == 0) {
                  if (dictionary != null
                      && dictionary
                          .compareTo(Constants.CODING_SCHEME_NAME) != 0) {
                    dictionary = DataUtils.getCodingSchemeName(dictionary);
                  }
                }
  
                code = (String) request.getParameter("code");
                if (code == null) {
                  Concept con = (Concept) request.getSession().getAttribute(
                      "concept");
                  if (con != null) {
                    code = con.getEntityCode();
                    request.getSession().setAttribute("code", code);
  
                  } else {
                    code = (String) request.getSession().getAttribute(
                        "code");
                  }
                  if (code == null) {
                    System.out
                        .println("WARNING: concept_details.jsp code: "
                            + code);
                  }
                }
  
                String active_code = (String) request.getSession()
                    .getAttribute("active_code");
                if (active_code == null) {
                  request.getSession().setAttribute("active_code", code);
                } else {
                  if (active_code.compareTo(code) != 0) {
                    request.getSession().removeAttribute(
                        "RelationshipHashMap");
                    request.getSession().setAttribute("active_code", code);
                  }
                }
  
                Boolean new_search = null;
                Object new_search_obj = request.getSession().getAttribute(
                    "new_search");
                if (new_search_obj != null) {
                  new_search = (Boolean) new_search_obj;
                  if (new_search.equals(Boolean.TRUE)) {
                    type = "properties";
                    request.getSession().setAttribute("new_search",
                        Boolean.FALSE);
                    code = (String) request.getSession().getAttribute(
                        "code");
                  }
                }
  
                if (type == null) {
                  type = gov.nih.nci.evs.browser.utils.HTTPUtils
                      .cleanXSS((String) request.getParameter("type"));
  
                  if (type == null) {
                    type = "properties";
                  } else if (type.compareTo("properties") != 0
                      && type.compareTo("relationship") != 0
                      && type.compareTo("synonym") != 0
                      && type.compareTo("all") != 0) {
                    type = "properties";
                  }
                }
  
                String term_suggestion_application_url = new DataUtils()
                    .getTermSuggestionURL();
  
                String yyy = new DataUtils().getTermSuggestionURL();
  
                String name = "";
                Concept c = null;
  
                String vers = null;
                String ltag = null;
  
                c = DataUtils.getConceptByCode(dictionary, vers, ltag, code);
  
  
                if (c != null) {
                  request.getSession().setAttribute("concept", c);
                  request.getSession().setAttribute("code", code);
                  name = c.getEntityDescription().getContent();
  
                } else {
                  //name = "The server encountered an internal error that prevented it from fulfilling this request.";
                  name = "ERROR: Invalid code - " + code + ".";
                }
  
                if (dictionary.compareTo("NCI Thesaurus") == 0
                    || dictionary.compareTo("NCI_Thesaurus") == 0) {
            %>
            <%@ include file="/pages/templates/content-header.jsp" %>
          <%
            } else {
                request.getSession().setAttribute("dictionary", dictionary);
          %>
                  <%@ include file="/pages/templates/content-header-other.jsp" %>
          <%
            }
              String tg_dictionary_0 = dictionary;
              String tg_dictionary = DataUtils.replaceAll(dictionary, " ",
                  "%20");
              if (c != null) {
                request.getSession().setAttribute("type", type);
                request.getSession().setAttribute("singleton", "false");
          %>
  
          <!-- Page content -->
  