anchor.diff:            
         <%
   
  -String resultsPerPage = request.getParameter("resultsPerPage");
  +
  +String resultsPerPage = (String) request.getParameter("resultsPerPage");
   if (resultsPerPage == null) {
  -    resultsPerPage = "50";
  +    resultsPerPage = (String) request.getSession().getAttribute("resultsPerPage");
  +    if (resultsPerPage == null) {
  +        resultsPerPage = "50";
  +    }
  +    
  +}  else {
  +    request.getSession().setAttribute("resultsPerPage", resultsPerPage);
   }
  +
  +
   
   		String selectedResultsPerPage = resultsPerPage;
           
  
positive.code: 		match_size = new Integer(numberRemaining_after).toString();
  	  }
  	  
  	  
  	  
  
        %>
          <table width="700px">
          
        <%  
        if (message != null) {
        %>
        <p class="textbodyred"><%=message%></p>
        <% 
        }
        %>
          
          
            <tr>
              <td>
                <table>
  
negative.code:             </td>
            </tr>
          </table>
  <%        
  if(message != null) {
  %>        
          <%@ include file="/pages/templates/pagination-termbrowser.jsp" %>
  <%       
      
  }  
  %>
         
          <%@ include file="/pages/templates/nciFooter.jsp" %>
        </div>
        <!-- end Page content -->
  