anchor.diff:  			</tr>
   		</table>
   <%
  -	}		
  +	}
  +	i = compoundQueryKeys.iterator();
  +	while (i.hasNext()) { 
  +		query = (String)i.next();
  +		CompoundQuery cq = (CompoundQuery)cqs.get(query);
  +		cquery = cq.toStringForSideBar();
  +		j++;
  +		
  +%>
  +		<table border="0" style="font-size:.9em">
  +			<tr>
  +				<td><%=cquery%>
  +
  +<%
  +			if(pageStr != null && (pageStr2 ==null ||(pageStr2 != null && pageStr2.equals("1"))) )	{
  +%>
  +			     <input type="submit" class="sbutton" style="width:50px" value="delete" onclick="setMode('deleteCompoundQuery', '<%=query%>')">	
  +<%
  +			}
  +%>
  +
  +				</td>
  +			</tr>
  +		</table>
  +<%
  +	
  +}
   }	
   
   if(j !=0 && j>=2)	{
  
positive.code: <%
  RembrandtPresentationTierCache presentationTierCache = ApplicationFactory.getPresentationTierCache();
  String  query = "";	
  int j = 0;	
  String queryKey = null;
  	
  
negative.code: 
  	Collection queryColl = queryCollection.getQueries();
  	Collection queryKeys = queryCollection.getQueryNames();
  	Collection compoundQueryKeys = queryCollection.getCompoundQueryNames();
  	Map cqs = queryCollection.getCompoundQueryMap();
  	
  	Iterator i = queryColl.iterator();
  	while (i.hasNext()) { 
  	     j++;
  