anchor.diff:          }
       }
   
  +    function searchStringInArray (str, strArray) {
  +        for (var j=0; j<strArray.length; j++) {
  +            if (strArray[j].match(str)) return j;
  +        }
  +        return -1;
  +    }
  +
  +    window.onload=drawPlots();
  +
   </script>
   
   <%!
  
positive.code:                                     //"mrna_median",
                                      //"mrna_median_Zscores",
                                      //"mrna_merged_median_Zscores",
                                      //"mrna_U133",
                                      //"rna_seq_v2_mrna",
                                      //"rna_seq_v2_mrna_median_Zscores",
                                      //"mirna",
                                      //"mirna_median_Zscores",
                                      //"mrna_zbynorm",
                                      //"mrna_znormal",
                                      //"mrna_outliers",
                                      //"mrna_outlier"
                                  ];
  
      var genetic_profile_types_description = [
                                      "Mutations",
                                      "Putative copy-number alterations from GISTIC",
  
negative.code:                                 case_set[caseSetIndex] = tmp_case_set[caseSetIndex + 2];
                              }
  
                              //Get profile data (Filter the headers)
                              tmp_profile_data = String(tmp_sections[4]).trim().split(/\s+/);
                              for (var profileDataIndex = 0 ; profileDataIndex < tmp_profile_data.length; profileDataIndex ++ ) {
                                  profile_data[profileDataIndex] = tmp_profile_data[profileDataIndex + 2];
  