anchor.diff:  </c:forEach>
   
   <c:if test="${gffeat == 'true'}">
  -<%--
  -<h3>Find nearby genes:</h3>
  -    <table>
  -        <tbody>
  -            <tr>
  -                <td>
  -                <html:form action="/submissionOverlapsAction" method="post">
  -                    <html:hidden property="submissionTitle" value="${object.title}" />
  -                    <html:hidden property="submissionId" value="${object.id}" />
  -                    <html:hidden property="submissionDCCid" value="${object.dCCid}" />
  -                    <html:hidden property="overlapFindType" value="Gene" />
  -                      Find Genes that have
  -                      <html:select styleId="typeSelector" property="overlapFeatureType">
  -                        <c:forEach items="${featureCounts}" var="fc" varStatus="status">
  -                        <c:if test="${fn:endsWith(fc.key, 'Site') || fn:contains(fc.key, 'Prime')
  -                            || fc.key == 'CopyNumberVariation' || fc.key == 'TSS'
  -                            || fc.key == 'PolyASignalSequence'}">
  -                             <html:option value="${fc.key}">${fc.key}</html:option>
  -                          </c:if>
  -                        </c:forEach>
  -                      </html:select>
  -                      features generated by this submission located within
  -                      <html:select styleId="typeSelector" property="distance">
  -                         <html:option value="0.5kb">.5kb</html:option>
  -                         <html:option value="1.0kb">1kb</html:option>
  -                         <html:option value="2.0kb">2kb</html:option>
  -                         <html:option value="5.0kb">5kb</html:option>
  -                         <html:option value="10.0kb">10kb</html:option>
  -                      </html:select>
  -
  -                       <html:select styleId="typeSelector" property="direction">
  -                       <html:option value="downstream">downstream</html:option>
  -                         <html:option value="upstream">upstream</html:option>
  -                         <html:option value="bothways">both ways</html:option>
  -                       </html:select>
  -                    <html:submit property="overlaps" styleClass="query">Show Results</html:submit>
  -                </html:form>
  -                </td>
  -            </tr>
  -        </tbody>
  -    </table>
  -
  ---%>
   
   
       <h3>Find overlapping or nearby features</h3>
  
positive.code: 
          </c:forEach>
  
  
        <!-- end submission loop -->
    </table>
  
    <%--
  <h3>
  Find overlapping features:
  </h3>
    <table >
  <tbody>
  <tr><td>
      <html:form action="/submissionOverlapsAction" method="post">
          <html:hidden property="submissionTitle" value="${object.title}" />
          <html:hidden property="submissionId" value="${object.id}" />
          <html:hidden property="submissionDCCid" value="${object.dCCid}" />
          <html:hidden property="distance" value="0" />
          <html:hidden property="direction" value="bothways" />
  
              Find
                  <html:select styleId="typeSelector" property="overlapFindType">
                            <html:option value="Gene">Genes</html:option>
                            <html:option value="Exon">Exons</html:option>
                            <html:option value="Intron">Introns</html:option>
                            <html:option value="IntergenicRegion">IntergenicRegions</html:option>
                          </html:select>
              which overlap the
                  <html:select styleId="typeSelector" property="overlapFeatureType">
                     <c:forEach items="${featureCounts}" var="fc" varStatus="status">
                       <c:if test='${fc.key != "Chromosome"}'>
                          <html:option value="${fc.key}">${fc.key}</html:option>
                       </c:if>
                     </c:forEach>
                  </html:select>
              features generated by this submission.
  
              <html:submit property="overlaps" styleClass="query">Show Results</html:submit>
      </html:form>
  </td></tr>
  </tbody>
  </table>
  
  --%>
  
  <%-- OVERLAPPING GENES
  
  
negative.code:                             <html:option value="Intron">Introns</html:option>
                              <html:option value="IntergenicRegion">IntergenicRegions</html:option>
                            </html:select>
  
                   with a flanking region of
  
  
                <html:select styleId="typeSelector" property="distance">
                <html:option value="0">0</html:option>
  