anchor.diff:  <c:set var="worm" value=""/>
   <c:set var="ncbiftp" value="ftp://ftp.ncbi.nlm.nih.gov"/>
   <c:set var="isPrimer" value="primer"/>
  +<c:set var="wormTracksCounter" value="0"/>
  +<c:set var="flyTracksCounter" value="0"/>
   
     <im:boxarea title="${exp.name}" stylename="gradientbox">
  -
  -<%--NB: We assume that an experiment deals either with one or the other organism.
  -TODO: check if true also with future Henikoff experiments. 
  -TODO: associate organism with experiment (or read tracks) 
  -NBB: for fly freeze, Henikoff has only fly submissions -> the choice
  ---%>
   
     <table cellpadding="0" cellspacing="0" border="0" class="dbsources">
     <tr>
  
positive.code:      <c:choose>
       <c:when test="${!empty tracks[exp.name]}">
       <c:set var="urlabels" value=""/>
  
  All GBrowse tracks generated for this experiment:
  
  
negative.code:      </th>
       <th colspan="7">by chromosome</th>
       <c:forEach items="${tracks[exp.name]}" var="etrack"  varStatus="status">
       <%-- build the url for getting all the labels in this experiment --%> 
       <c:set var="organism" value="${etrack.organism}"/>
  
  <c:choose>
  <c:when test="${fn:startsWith(organism,'worm')}">
  <c:set var="wormTracksCounter" value="${wormTracksCounter +1 }" />
    <c:choose>
    <c:when test="${empty wormlabels}">
       <c:set var="wormlabels" value="${etrack.track}" /> 
    </c:when>
    <c:otherwise>
       <c:set var="wormlabels" value="${wormlabels}-${etrack.track}" /> 
    </c:otherwise>
    </c:choose>
  </c:when>
  <c:when test="${fn:startsWith(organism,'fly')}">
  <c:set var="flyTracksCounter" value="${flyTracksCounter +1}" />
    <c:choose>
    <c:when test="${empty flylabels}">
       <c:set var="flylabels" value="${etrack.track}" /> 
    </c:when>
    <c:otherwise>
       <c:set var="flylabels" value="${flylabels}-${etrack.track}" /> 
    </c:otherwise>
    </c:choose>
  </c:when>
  </c:choose>
  
  </c:forEach>
  
  <tr>
  <td >
  
  <c:if test="${flyTracksCounter > 1 }">
  <b><html:link 
       href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?label=${flylabels}" target="_blank" title="View all the tracks for this experiment">
       All ${flyTracksCounter} tracks
  </html:link></b>     
          <img border="0" class="arrow" src="model/images/f_vvs.png" title="fly"/>
  </c:if>
  
  <c:if test="${ flyTracksCounter== 1}">
  <b><html:link 
       href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?label=${flylabels}" target="_blank" title="View the track generated for this experiment">
       ${flylabels}
  </html:link></b>
          <img border="0" class="arrow" src="model/images/f_vvs.png" title="fly"/>
  </c:if>
  <br></br>
  
  <c:if test="${wormTracksCounter > 1 }">
  <b><html:link 
       href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?label=${wormlabels}" target="_blank" title="View all the tracks for this experiment">
       All ${wormTracksCounter} tracks
  </html:link></b>
          <img border="0" class="arrow" src="model/images/w_vvs.png" title="worm"/>
  </c:if>
  
  <c:if test="${ wormTracksCounter== 1}">
  <b><html:link 
       href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?label=${wormlabels}" target="_blank" title="View the track generated for this experiment">
       ${wormlabels}
  </html:link></b>
          <img border="0" class="arrow" src="model/images/w_vvs.png" title="worm"/>
  </c:if>
  
  
  
  </td>
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=X;label=${flylabels}" target="_blank">X</html:link>
  <br>
  </c:if>
  <c:if test="${wormTracksCounter > 0}">
  <br>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=I;label=${wormlabels}" target="_blank">I</html:link>
  </c:if>
  </td>
  
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=2L;label=${flylabels}" target="_blank">2L</html:link>
  </c:if>
  <c:if test="${wormTracksCounter > 0}">
  <br>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=II;label=${wormlabels}" target="_blank">II</html:link>
  </c:if>
  </td>
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=2R;label=${flylabels}" target="_blank">2R</html:link>
  </c:if>
  <c:if test="${wormTracksCounter > 0}">
  <br>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=III;label=${wormlabels}" target="_blank">III</html:link>
  </c:if>
  </td>
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=3L;label=${flylabels}" target="_blank">3L</html:link>
  </c:if>
  <c:if test="${wormTracksCounter > 0}">
  <br>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=IV;label=${wormlabels}" target="_blank">IV</html:link>
  </c:if>
  </td>
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=3R;label=${flylabels}" target="_blank">3R</html:link>
  </c:if>
  <c:if test="${wormTracksCounter > 0}">
  <br>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=V;label=${wormlabels}" target="_blank">V</html:link>
  </c:if>
  </td>
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=4;label=${flylabels}" target="_blank">4</html:link>
  </c:if>
  <c:if test="${wormTracksCounter > 0}">
  <br>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=X;label=${wormlabels}" target="_blank">X</html:link>
  </c:if>
  </td>
  <td>
  <c:if test="${!empty fly}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=U;label=${flylabels}" target="_blank">U</html:link>
  <c:if test="${wormTracksCounter > 0}">
  <br>-</br>
  </c:if>
  </c:if>
  
  
  <%--
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=2L;label=${flylabels}" target="_blank">2L</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=2R;label=${flylabels}" target="_blank">2R</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=3L;label=${flylabels}" target="_blank">3L</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=3R;label=${flylabels}" target="_blank">3R</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=4;label=${flylabels}" target="_blank">4</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/fly/?ref=U;label=${flylabels}" target="_blank">U</html:link>
  </td>
  <br>
  </c:when>
  
   <c:when test="${!empty worm}">
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=I;label=${wormlabels}" target="_blank">I</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=II;label=${wormlabels}" target="_blank">II</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=III;label=${wormlabels}" target="_blank">III</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=IV;label=${wormlabels}" target="_blank">IV</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=V;label=${wormlabels}" target="_blank">V</html:link>
  <td>
  <html:link href="${WEB_PROPERTIES['gbrowse.prefix']}/worm/?ref=X;label=${wormlabels}" target="_blank">X</html:link>
  </td>
  </tr>
  
  </c:when>
  </c:choose>
  --%>
  </table>    
       </c:when>
       <c:otherwise>
  