anchor.diff:  <%
   	}
   }
  +}
   %>
  +
   	<html:hidden property="method"/>
   	<html:hidden property="queryKey" />
   	</html:form>
   	<br/>
   </div>
  +
  +<script type="text/javascript">
  +
  +	var regularQ = null;
  +	var compoundQ = <bean:write name="foobar" filter="false"/>;
  +	
  +	function switchToRegular(){
  +		var query = document.getElementById("querySection");
  +		if (regularQ == null)
  +			regularQ = query.innerHTML;
  +		else
  +			query.innerHTML = regularQ;
  +	}
  +	
  +	function switchToCompound(){
  +		var query = document.getElementById("querySection");
  +		if (regularQ == null)
  +			regularQ = query.innerHTML;
  +		query.innerHTML = compoundQ;
  +	}
  +</script>
   
   <!------------------ lists -------------------->
   <div id="sidebar">
  
positive.code: 	}
  </style>
  <!--  end lists related -->
  
  <div width="100%">
  <h3>Queries</h3>
  <html:form action ="delete_Query.do">
  <script type="text/javascript">
  	var method;
  	var queryKey; 
  	function setMode(method, queryKey){   
  		document.deleteQueryForm.method.value = method;
  		document.deleteQueryForm.queryKey.value = queryKey;  
  	}
  </script>
  				 
  <%
  RembrandtPresentationTierCache presentationTierCache = ApplicationFactory.getPresentationTierCache();
  String  query = "";	
  int j = 0;	
  String queryKey = null;
  	
  
negative.code: 			</tr>
  		</table>
  <%
  	}
  %>
  </div>
  <%
  if(j !=0 && j>=2)	{
  	if(pageStr != null && (pageStr2 ==null ||(pageStr2 != null && pageStr2.equals("1"))))	{
  %>
  