anchor.diff:          }
           return ret;
       }
  +    
  +    function formatCancerStudyInfo() {
  +        return "<a href=\"study.do?cancer_study_id="+cancerStudyId+"\"><b>"+cancerStudyName+"</b></a>";
  +    }
  +
  +    function formatNav() {
  +        if (!CaseNavigation.hasNavCaseIds()) return "";
  +        return "Viewing "+(CaseNavigation.currPosition()+1)+" of "+CaseNavigation.numOfNavCases()+" samples" 
  +                    + "&nbsp;&nbsp;<button id='case-navigate-first'>&nbsp;&lt;&lt;&nbsp;</button>"
  +                    + "&nbsp;&nbsp;<button id='case-navigate-previous'>&nbsp;&lt;&nbsp;</button>"
  +                    + "&nbsp;&nbsp;<button id='case-navigate-next'>&nbsp;&gt;&nbsp;</button>"
  +                    + "&nbsp;&nbsp;<button id='case-navigate-last'>&nbsp;&gt;&gt;&nbsp;</button>";
  +    }
  +    
  +    function initNav() {
  +        if (!CaseNavigation.hasNavCaseIds()) return;
  +        if (!CaseNavigation.hasPrevious()) {
  +            $("#case-navigate-first").attr("disabled",true);
  +            $("#case-navigate-previous").attr("disabled",true);
  +        } else {
  +            $("#case-navigate-first").click(CaseNavigation.navToFirst);
  +            $("#case-navigate-previous").click(CaseNavigation.navToPrevious);
  +        }
  +        if (!CaseNavigation.hasNext()) {
  +            $("#case-navigate-last").attr("disabled",true);
  +            $("#case-navigate-next").attr("disabled",true);
  +        } else {
  +            $("#case-navigate-last").click(CaseNavigation.navToLast);
  +            $("#case-navigate-next").click(CaseNavigation.navToNext);
  +        }
  +    }
   
       function formatDiseaseInfo(clinicalData) {
           var diseaseInfo = [];
  -        diseaseInfo.push("<a href=\"study.do?cancer_study_id="+
  -                cancerStudyId+"\">"+cancerStudyName+"</a>");
           
  -        var typeOfCancer = guessClinicalData(clinicalData,["TYPE_OF_CANCER"]);
  +        var typeOfCancer = guessClinicalData(clinicalData,["TYPE_OF_CANCER", "CANCER_TYPE"]);
           if (typeOfCancer!==null) {
               diseaseInfo.push(typeOfCancer);
           }
  
positive.code:         return hasNext ? navCaseIds[currPosition+1] : null;
      }
      
      function navToNext() {
          navTo(nextCaseId());
      }
      
      return {
          hasNavCaseIds : hasNavCaseIds,
          hasPrevious : hasPrevious,
          hasNext : hasNext,
          navToPrevious : navToPrevious,
          navToNext : navToNext
      };
  })(caseIds[0]);
  
  function setUpNavgationButtons() {
      if (!CaseNavigation.hasPrevious()) {
          $("#patient-navigate-previous").hide();
      } else {
          $("#patient-navigate-previous").click(CaseNavigation.navToPrevious);
      }
      if (!CaseNavigation.hasNext()) {
          $("#patient-navigate-next").hide();
      } else {
          $("#patient-navigate-next").click(CaseNavigation.navToNext);
      }
  }
  
  window["<%=PatientView.CANCER_STUDY_META_DATA_KEY_STRING%>"]
          = <%=jsonMapper.writeValueAsString(request.getAttribute(PatientView.CANCER_STUDY_META_DATA_KEY_STRING))%>;
  
  
negative.code:             if (dfsm!==null && dfsm!=='NA') {
                  patientStatus += " (" + Math.round(dfsm) + " months)";
              }
              ret.push(patientStatus);
          }
          return ret;
      }
  
      function getCaseColor(caseType) {
  