anchor.diff:          </c:if>
   
           <td style="vertical-align:top; padding-right:20px;">
  -            <c:if test="${ef==null}">
  +            <c:if test="${empty ef}">
                   <div class="geneAnnotHeader"
                        style="width:200px;">${f:escapeXml(atlasProperties.curatedEfs[experimentalFactor.name])}</div>
               </c:if>
               studied in
               <c:forEach var="experiment" items="${experimentalFactor.experiments}" varStatus="i_e">
  -                <c:if test="${(i_e.index<5)||(ef!=null)}">
  +                <c:if test="${(i_e.index<5)||(not empty ef)}">
                       <a href="${pageContext.request.contextPath}/experiment/${experiment}/${atlasGene.geneIdentifier}"
                          title="${experiment}">${experiment}</a><c:if test="${!i_e.last}">, </c:if>
                   </c:if>
                   <c:if test="${i_e.last}">
  -                    <c:if test="${(i_e.count>=5)&&(ef==null)}">
  +                    <c:if test="${(i_e.count>=5)&&(empty ef)}">
                           ... (${i_e.count} experiments)
                       </c:if>
                   </c:if>
               </c:forEach>
   
  -            <c:if test='${experimentalFactor.name=="organism_part" && hasAnatomogram!=null}'>
  +             <!-- Output legend for the first experimental factor only -->
  +             <c:if test="${i.index==0}">
  +                   <table cellspacing="2" cellpadding="0" border="0" width="100%">
  +                        <tr>
  +                            <td style="vertical-align:middle;">
  +                                <div class="sq">
  +                                    <div class="udduo"></div>
  +                                    <div class="uddnval">3</div>
  +                                    <div class="udupval">1</div>
  +                                </div>
  +                            </td>
  +                            <td>
  +                                <div style="padding-left:0px; font-size:12px;">
  +                                    Number of published studies where the gene is <span
  +                                        style="color:red">over</span>/<span
  +                                        style="color:blue">under</span> expressed compared to the gene's overall mean
  +                                    expression level in the study.
  +                                </div>
  +                            </td>
  +                        </tr>
  +                    </table>
  +            </c:if>
  +
  +            <c:if test='${experimentalFactor.name=="organism_part" && hasAnatomogram}'>
                   <br/>
   
  -                <div style="overflow:hidden; <c:if test="${ef==null}">width:300px;</c:if>">
  -                    <img src="${pageContext.request.contextPath}/<c:if test="${ef==null}">web</c:if>anatomogram/${atlasGene.geneIdentifier}.png"
  +                <div style="overflow:hidden; <c:if test="${empty ef}">width:300px;</c:if>">
  +                    <img src="${pageContext.request.contextPath}/<c:if test="${empty ef}">web</c:if>anatomogram/${atlasGene.geneIdentifier}.png"
                            alt="anatomogram" border="none" usemap="#anatomogram"/>
                   </div>
                   <!--
  
positive.code: 
  
                  <div style="padding-left:0px">
                      <c:if test="${(experimentalFactor.moreValuesCount>0)&&(ef==null)}">
                          ${experimentalFactor.moreValuesCount} more value(s).
                      </c:if>
                      <c:if test="${ef==null}">
                          <div style="font-size:10px;">
                              <a href="${pageContext.request.contextPath}/gene/${atlasGene.geneIdentifier}?ef=${experimentalFactor.name}">show
                                  this factor only&gt;&gt;</a>
  
negative.code:         var plot_id = this.id;
          var tokens = plot_id.split('_');
          var eid = tokens[0];
          var eacc = tokens[1];
          var gid = tokens[2];
          atlas.ajaxCall("plot", { gid: gid, eid: eid, eacc: eacc, plot: 'bar' }, function(o) {
              drawPlot(o, plot_id);
          });
      });
  }
  
  function redrawPlotForFactor(eid, eacc, gid, ef, mark, efv) { 
      var plot_id = eid + "_" + eacc + "_" + gid + "_plot";
      atlas.ajaxCall("plot", { gid: gid, eid: eid, eacc: eacc, ef: ef, efv: efv, plot: 'bar' }, function(o) {
          var plot = drawPlot(o, plot_id);
          if (mark) {
              markClicked(eid, eacc, gid, ef, efv, plot, o);
          }
      });
  }
  
  function drawEFpagination(eid, eacc, gid, currentEF, plotType, efv) {
      var panelContent = [];
  
      $("#" + eid + "_EFpagination *").each(function() {
  