anchor.diff:  </style>
   
   <script>
  -    var gene;
  -    var case_set = [];
  -    var mutations = [];
  -    var copy_no = [];
  -    var mrna = [];
  -    var rppa = [];
  -    var dna_methylation = [];
  -    var extended_mutations = [];
  -    var result_set = new Array(5);
  +    var gene,
  +            case_set = [],
  +            mutations = [],
  +            copy_no = [],
  +            mrna = [],
  +            rppa = [],
  +            dna_methylation = [],
  +            extended_mutations = [],
  +            result_set = new Array(5);
  +
       for ( var i = 0 ; i< result_set.length; i++) {
           result_set[i] = new Array();
       }
  +
       var genetic_profile_mutations = [
  -        "mutations", "Mutations"
  -    ];
  -    var genetic_profile_mrna = [
  -        ["mrna", "mRNA expression (microarray)"],
  -        ["mrna_median", "mRNA expression (all genes)"],
  -        ["mrna_median_Zscores", "mRNA Expression z-Scores (microarray)"],
  -        ["mrna_merged_median_Zscores", "mRNA/miRNA expression Z-scores (all genes)"],
  -        ["mrna_U133", "mRNA expression (U133 microarray only)"],
  -        ["rna_seq_v2_mrna", "mRNA expression (RNA Seq V2 RSEM)"],
  -        ["rna_seq_v2_mrna_median_Zscores", "mRNA Expression z-Scores (RNA Seq V2 RSEM)"],
  -        ["mirna", "microRNA expression"],
  -        ["mirna_median_Zscores", "microRNA expression Z-scores"],
  -        ["mrna_zbynorm", "mRNA Expression Z-Scores vs Normals"],
  -        ["mrna_znormal", "mRNA Z-scores vs normal fat"],
  -        ["mrna_outliers", "mRNA Expression Outliers"],
  -        ["mrna_outlier", "mRNA outliers"]
  -    ];
  -    var genetic_profile_copy_no = [
  -        ["gistic", "Putative copy-number alterations from GISTIC"],
  -        ["log2CNA", "Log2 copy-number values"],
  -        ["cna", "Putative copy-number alterations (RAE)"]
  -    ];
  -    var genetic_profile_rppa = [
  -        "RPPA_protein_level", "RPPA protein/phosphoprotein level"
  -    ];
  -    var genetic_profile_dna_methylation = [
  -        "methylation_hm27", "Methylation (HM27)"
  -    ];
  -    var plot_type_list = [
  -        ["mrna_vs_copy_no", "mRNA vs. Copy Number"],
  -        ["mrna_vs_dna_mythelation", "mRNA vs. DNA Methylation"],
  -        ["rppa_protein_level_vs_mrna", "RPPA Protein Level vs. mRNA"]
  -    ];
  -
  -    var data_type_copy_no;
  -    var data_type_mrna;
  -    var xLegend;
  -    var yLegend;
  +                "mutations", "Mutations"
  +            ],
  +            genetic_profile_mrna = [
  +                ["mrna", "mRNA expression (microarray)"],
  +                ["mrna_median", "mRNA expression (all genes)"],
  +                ["mrna_median_Zscores", "mRNA Expression z-Scores (microarray)"],
  +                ["mrna_merged_median_Zscores", "mRNA/miRNA expression Z-scores (all genes)"],
  +                ["mrna_U133", "mRNA expression (U133 microarray only)"],
  +                ["rna_seq_v2_mrna", "mRNA expression (RNA Seq V2 RSEM)"],
  +                ["rna_seq_v2_mrna_median_Zscores", "mRNA Expression z-Scores (RNA Seq V2 RSEM)"],
  +                ["mirna", "microRNA expression"],
  +                ["mirna_median_Zscores", "microRNA expression Z-scores"],
  +                ["mrna_zbynorm", "mRNA Expression Z-Scores vs Normals"],
  +                ["mrna_znormal", "mRNA Z-scores vs normal fat"],
  +                ["mrna_outliers", "mRNA Expression Outliers"],
  +                ["mrna_outlier", "mRNA outliers"]
  +            ],
  +            genetic_profile_copy_no = [
  +                ["gistic", "Putative copy-number alterations from GISTIC"],
  +                ["log2CNA", "Log2 copy-number values"],
  +                ["cna", "Putative copy-number alterations (RAE)"]
  +            ],
  +            genetic_profile_rppa = [
  +                "RPPA_protein_level", "RPPA protein/phosphoprotein level"
  +            ],
  +            genetic_profile_dna_methylation = [
  +                "methylation_hm27", "Methylation (HM27)"
  +            ],
  +            plot_type_list = [
  +                ["mrna_vs_copy_no", "mRNA vs. Copy Number"],
  +                ["mrna_vs_dna_mythelation", "mRNA vs. DNA Methylation"],
  +                ["rppa_protein_level_vs_mrna", "RPPA Protein Level vs. mRNA"]
  +            ];
  +    var data_type_copy_no, data_type_mrna, xLegend, yLegend;
   </script>
  -
   <%
       String cancer_study_id = (String)request.getParameter("cancer_study_id");
       String case_set_id = (String)request.getParameter("case_set_id");
       String[] gene_list = ((String)request.getParameter("gene_list")).split("\\s+");
   %>
  -
   <div class="section" id="plots">
       <table >
           <tr>
  
positive.code:         url_base + "<% out.print(cancer_study_id); %>_" + genetic_profile_rppa[0], //rppa
          url_base + "<% out.print(cancer_study_id); %>_" + genetic_profile_dna_methylation[0] //dna methylation
      ];
  
      for (var i = 0; i < urls.length; i++) {
          $.ajax({
              url: urls[i],
  
negative.code: </div>
  
  <script>
  function fetchData() {
      gene = document.getElementById("genes").value;
      data_type_copy_no = document.getElementById("data_type_copy_no").value;
      data_type_mrna = document.getElementById("data_type_mrna").value;
      var url_base = "webservice.do?cmd=getProfileData&case_set_id=<% out.print(case_set_id); %>&gene_list=" + gene + "&genetic_profile_id=";
      var urls = [
          url_base + "<% out.print(cancer_study_id); %>_" + genetic_profile_mutations[0], //mutations
  