anchor.diff:          window.location.replace(url);
       }
       
  -    function navToPrevious() {
  -        navTo(previousCaseId());
  -    }
  -    
       function hasNext() {
           return hasNavCaseIds() && (currPosition<navCaseIds.length-1);
       }
  
positive.code:     $("#clinical_div").append("<table id='clinical_table' width='100%'></table>");
      var n=caseIds.length;
      if (n>1) initCaseMetaData();
          
      // output
      for (var i=0; i<n; i++) {
          var caseId = caseIds[i];
          var clinicalData = clinicalDataMap[caseId];
          
          var row = "<tr><td><b><u>"+formatPatientLink(caseId, cancerStudyId)+"</b></u>&nbsp;";
          if (n===1) {
              var patientInfo = formatPatientInfo(clinicalData);
              row +="&nbsp;"+patientInfo;
          } else {
              row += "<svg width='12' height='12' class='case-label-header' alt='"+caseId+"'></svg>";
              
              var stateInfo = formatStateInfo(clinicalData);
              if (stateInfo) row +="&nbsp;"+stateInfo;
          }
          row += "</td><td align='right'><a href='#' class='more-clinical-a' alt='"+caseId+"'>More about this tumor</a></td></tr>";
          $("#clinical_table").append(row);
          
          if (n===1) {
              var diseaseInfo = formatDiseaseInfo(clinicalData);
              var patientStatus = formatPatientStatus(clinicalData);
              row = "<tr><td>"+diseaseInfo+"</td><td align='right'>"+patientStatus+"</td></tr-->";
              $("#clinical_table").append(row);
          }
      }
      addMoreClinicalTooltip(".more-clinical-a");
      
      if (n>1) {
          plotCaseLabel('.case-label-header', false, true);
          $("#clinical_table").append("<tr><td><a href=\"study.do?cancer_study_id="+
                  cancerStudyId+"\">"+cancerStudyName+"</a></td><td></td></tr>");
      }
      
      function initCaseMetaData() {
          var n=caseIds.length;
          // set caseMetaData.color
  
negative.code:     if (openTab) {
          switchToTab(openTab[1]);
      }
  });
  
  function setUpPatientTabs() {
  