anchor.diff:        } else if (ratio > 10) {
             ratio = 10;
         }
  -      if (jQuery("#proteinAtlasDisplayer").hasClass('ape')) {
  -          jQuery("#proteinAtlasDisplayer").attr('class', 'ape scale-' + ratio);
  +      if (jQuery("#protein-atlas-displayer").hasClass('ape')) {
  +          jQuery("#protein-atlas-displayer").attr('class', 'ape scale-' + ratio);
         } else {
  -          jQuery("#proteinAtlasDisplayer").attr('class', 'staining scale-' + ratio);
  +          jQuery("#protein-atlas-displayer").attr('class', 'staining scale-' + ratio);
         }
       };
       sizeChart();
  
positive.code:     });
  
      <%-- table "sorting" --%>
      jQuery("#proteinAtlasDisplayer table th.sortable").click(function() {
        var order = jQuery(this).attr('title');
        jQuery("#proteinAtlasDisplayer div.table.active").removeClass('active').addClass('inactive');
        jQuery("#proteinAtlasDisplayer div.table."+order).removeClass('inactive').addClass('active');
      });
  
      <%-- determine the viewport size and 'resize' the chart --%>
  
negative.code:         sizeChart();
        }, 500);
      });
      
      // switcher between tables this displayer haz
      jQuery("#protein-atlas-displayer div.sidebar div.collection-of-collections div.switchers a").each(function(i) {
        jQuery(this).bind(
          "click",
          function(e) {
              // hide anyone (!) that is shown
              jQuery("#protein-atlas-displayer div.sidebar div.collection-of-collections div.pane:visible").each(function(j) {
                jQuery(this).hide();
              });
  
              // show the one we want
              jQuery("#protein-atlas-displayer div.sidebar div.collection-of-collections div." + jQuery(this).attr('title') + ".pane").show();
  
              // switchers all off
              jQuery("#protein-atlas-displayer div.sidebar div.collection-of-collections div.switchers a.active").each(function(j) {
                jQuery(this).toggleClass('active');
              });
  
           	// init Dragdealers?
              if (jQuery(this).attr('title') == 'controls') {
              	geneExpressionAtlasDisplayer.dragdealers.pValue.init();
              	geneExpressionAtlasDisplayer.dragdealers.tStatistic.init();
              }
              
              // we are active
              jQuery(this).toggleClass('active');
  
              // no linking on my turf
              e.preventDefault();
          }
        );
      });    
    })();
    </script>
  </c:when>
  