anchor.diff:      <html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=results&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}">${FS.value} </html:link>
   
       &nbsp;&nbsp;export:
  -        <html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=tab">TAB</html:link>
  -        &nbsp;
  -        <html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=csv">CSV</html:link>
  -                <c:set var="isUnloc" value="false"></c:set>
  -                <c:forEach items="${unlocatedFeat}" var="uft" varStatus="uft_status">
  -                  <c:if test="${uft.key == sub.dCCid}">
  -                   <c:forEach items="${uft.value}" var="uftv" varStatus="uftv_status">
  -                    <c:if test="${uftv == fc.key}">
  -                      <c:set var="isUnloc" value="true">
  -                      </c:set>
  -                    </c:if>
  -                  </c:forEach>
  +    <html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=tab">TAB</html:link>
  +    &nbsp;
  +    <html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=csv">CSV</html:link>
  +    <c:set var="isUnloc" value="false"></c:set>
  +    <c:forEach items="${unlocatedFeat}" var="uft" varStatus="uft_status">
  +        <c:if test="${uft.key == sub.dCCid}">
  +            <c:forEach items="${uft.value}" var="uftv" varStatus="uftv_status">
  +                <c:if test="${uftv == fc.key}">
  +                    <c:set var="isUnloc" value="true">
  +                    </c:set>
                   </c:if>
  -               </c:forEach>
  -      <c:choose>
  +            </c:forEach>
  +        </c:if>
  +    </c:forEach>
  +    <c:choose>
         <c:when test="${isUnloc == 'true' }">
  -      <i>&nbsp;GFF3&nbsp;SEQ</i>
  +        <i>&nbsp;GFF3&nbsp;SEQ</i>
         </c:when>
  -      <c:otherwise>
  -
  -      <c:forEach items="${sequencedFeat}" var="sft" varStatus="sft_status">
  +    <c:otherwise>
  +<%-- 
  +    <c:set var="hasSeq" value="false"></c:set>
  +    <c:forEach items="${sequencedFeat}" var="sft" varStatus="sft_status">
         <c:if test="${sft.key == sub.dCCid}">
  -       <c:forEach items="${sft.value}" var="sftv" varStatus="sftv_status">
  +      <c:forEach items="${sft.value}" var="sftv" varStatus="sftv_status">
           <c:if test="${sftv == fc.key}">
  -          <c:set var="hasSeq" value="true">
  -          </c:set>
  +          <c:set var="hasSeq" value="true"></c:set>
           </c:if>
         </c:forEach>
  -    </c:if>
  -   </c:forEach>
  +      </c:if>
  +    </c:forEach>
  +--%>
   
      &nbsp;<html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=gff3">GFF3</html:link>
      &nbsp;(<html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=gff3&UCSC">for UCSC</html:link>)
   
  +   &nbsp;<html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=sequence">SEQ</html:link>
  +
  +   
  +   <%-- 
      <c:choose>
  -      <c:when test="${isUnloc == 'true' }">
  +      <c:when test="${hasSeq == 'true' }">
         &nbsp;<html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=sequence">SEQ</html:link>
         </c:when>
         <c:otherwise>
           <i>&nbsp;SEQ</i>
  -      </c:otherwise>
  -      </c:choose>
  -
  -
  -
  +    </c:otherwise>
  +    </c:choose>
  +--%>
  +
  + 
   
   <%--
         &nbsp;<html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=gff3">GFF3</html:link>
  -         &nbsp;<html:link href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=submission&action=export&submission=${sub.dCCid}&feature=${fc.key}&file=${FS.key}&format=sequence">SEQ</html:link>
   --%>
   
            </c:otherwise>
  
positive.code: <c:set var="proGFF" value="PianoWaterstonCelniker"/>
  <c:set var="ANTIBODY" value="antibody"/>
  
  <%
  // this is used to check if embargo is ended
  java.util.Date now = new java.util.Date();
  // set the variable in this page context
  pageContext.setAttribute("now",now);
  %>
  
  <im:boxarea title="${exp.name}" stylename="gradientbox">
    
  
negative.code:             </td>
              <td align="center">
  
              <html:link
              href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=experiment&action=export&experiment=${exp.name}&feature=${fc.featureType}&format=sequence"
              title="Download the sequences">SEQ</html:link>
  
  <%--            
              <c:choose>
              <c:when test="${fn:contains(exp.unlocated, fc.featureType)}">
  <html:link
              href="/${WEB_PROPERTIES['webapp.path']}/features.do?type=experiment&action=export&experiment=${exp.name}&feature=${fc.featureType}&format=sequence"
              title="Download the sequences">SEQ</html:link>
              </c:when>
              <c:otherwise>
                 <i>SEQ</i>
              </c:otherwise>
              </c:choose>
      --%>        
              </td>
         </c:otherwise>
         </c:choose>
  </tr>
  
        </c:forEach>
        <!-- end submission loop -->
  
  