anchor.diff:  //get the results container from the session with sample as key
   if(session.getAttribute(sample) == null)
   {
  -  logger.debug("not transitional report");	
  +  	
     QueryCollection queryCollection = null;
     if(request.getAttribute(NautilusConstants.QUERY_KEY)==null)	{
  -	links = "<a href=\"jsp/geneViewReportCSV.jsp\">[Download this report for Excel]</a> | <a href=\"javascript:void(window.print())\">[Print Report]</a> | <a href=\"menu.do\">[Back to Menu]</a>\n";	
  +	links = "<a href=\"jsp/geneViewReportCSV.jsp\">[Download this report for Excel]</a> | <a href=\"javascript:void(window.print())\">[Print Report]</a> | <a href=\"#queryInfo\">[Query Info]</a> | <a href=\"menu.do\">[Back to Menu]</a>\n";	
       queryCollection = (QueryCollection) (session.getAttribute(NautilusConstants.QUERY_KEY));
     }
     else	{
       queryCollection = (QueryCollection)(request.getAttribute(NautilusConstants.QUERY_KEY));
  -    links = "<a href=\"javascript:window.close()\">[Close Window]</a> | <a href=\"javascript:void(window.print())\">[Print Report]</a>\n";
  +    links = "<a href=\"javascript:window.close()\">[Close Window]</a> | <a href=\"javascript:void(window.print())\">[Print Report]</a> | <a href=\"#queryInfo\">[Query Info]</a>\n";
     }
   
   	CompoundQuery myCompoundQuery = queryCollection.getCompoundQuery();
  
positive.code: }
  
  else	{
  	logger.debug("Doing transitional");
  	//process the transitional report
  	ResultsContainer resultsContainer = (ResultsContainer) session.getAttribute(sample);
  	String mode =  (String) request.getParameter("report");
  
negative.code: 		
  
      out.println("<Br><Br><Br><a name=\"queryInfo\"></a>\n");	
    
  	if(!myCompoundQuery.toString().equals(""))	{
  		out.println("<B>Compound Query:</b> " + myCompoundQuery.toString() + "<br><br>");
  	}
  	else	{
  		out.println("<B>Single Query:</b> " + queryCollection.getQueryNames() + "<br><br>");
  	}
  /*
   	String  query = "";	
  	int j = 0;	
  	String queryKey = null;
  