anchor.diff:  			}
   		}
   		//function that is called on click of Define View button for the configuration of search results
  -		function onConfigure()
  -		{
  -				action="ConfigureSimpleQueryNonValidate.do";
  +		function onSimpleConfigure()
  +		{
  +				action="ConfigureSimpleQuery.do?pageOf=pageOfSimpleQueryInterface";
   				document.forms[0].action = action;
   				document.forms[0].target = "_parent";
  +				document.forms[0].submit();
  +		}
  +
  +		function onAdvanceConfigure()
  +		{
  +				action="ConfigureSimpleQuery.do?pageOf=pageOfQueryResults";
  +				document.forms[0].action = action;
  +				document.forms[0].target = "myframe1";
   				document.forms[0].submit();
   		}
   		
  
positive.code: 					&nbsp;
  				</td>
  				
  				<%if(isSpecimenData){%>
  				<td width="5%" nowrap align="right">
  					<%--html:button styleClass="actionButton" property="addToCart" onclick="onAddToCart()">
  						<bean:message key="buttons.addToCart"/>
  					</html:button--%>&nbsp;
  				</td>
  				<%}else{%>
  				<td width="5%" nowrap align="right">
  
negative.code: 					&nbsp;
  				</td>
  				
  				<%if(pageOf.equals(Constants.PAGEOF_QUERY_RESULTS)){%>
  				<td width="5%" nowrap align="right">
  					<html:button styleClass="actionButton" property="addToCart" onclick="onAddToCart()">
  						<bean:message key="buttons.addToCart"/>
  					</html:button>&nbsp;
  				</td>
  				<%}else{%>
  				<td width="5%" nowrap align="right">
  