anchor.diff:  
   	int IDCount = 0;
   	%>
  -	<%if(dataList != null && dataList.size() != 0)
  -	{
  -	%>
  -	
  -	<script>
  -		var myData = [<%int xx;%><%for (xx=0;xx<(dataList.size()-1);xx++){%>
  -	<%
  -		List row = (List)dataList.get(xx);
  -  		int j;
  -  		//Bug 700: changed the variable name for the map values as it was same in both AdvanceSearchForm and SimpleQueryInterfaceForm
  -		String chkName = "value1(CHK_" + xx + ")";
  -	%>
  -		["<INPUT TYPE='RADIO' NAME='chkName' onclick='onParticipantClick(<%=row.get(8)%>)' id='<%=xx%>'>",<%for (j=0;j < (row.size()-1);j++){%>"<%=Utility.toGridFormat(row.get(j))%>",<%}%>"<%=Utility.toGridFormat(row.get(j))%>","1"],<%}%>
  -	<%
  -		List row = (List)dataList.get(xx);
  -  		int j;
  -  		//Bug 700: changed the variable name for the map values as it was same in both AdvanceSearchForm and SimpleQueryInterfaceForm
  -		String chkName = "value1(CHK_" + xx + ")";
  -	%>
  -		["<INPUT TYPE='RADIO' NAME='chkName' onclick='onParticipantClick(<%=row.get(8)%>)' id='<%=xx%>'>",<%for (j=0;j < (row.size()-1);j++){%>"<%=Utility.toGridFormat(row.get(j))%>",<%}%>"<%=Utility.toGridFormat(row.get(j))%>","1"]
  -		];
  -		
  -		var columns = ["",<%int k;%><%for (k=0;k < (columnList.size()-1);k++){if (columnList.get(k).toString().trim().equals("ID")){IDCount++;}%>"<%=columnList.get(k)%>",<%}if (columnList.get(k).toString().trim().equals("ID")){IDCount++;}%>"<%=columnList.get(k)%>"];
  -	</script>
  -
  -<% }%>
   	
   	<script language="JavaScript">
   		//function to insert a row in the inner block
  
positive.code:        		    </tr>				
  	  			<tr height=110 valign=top>
  					<td valign=top class="formFieldAllBorders">
  						<div STYLE="overflow: auto; width:100%; height:100%; padding:px; margin: 1px; border: 0px solid">
  						<script>
  						//	create ActiveWidgets Grid javascript object.
  						var obj = new Active.Controls.Grid;
  						
  						//	set number of rows/columns.
  						obj.setRowProperty("count", <%=dataList.size()%>);
  						obj.setColumnProperty("count", <%=(columnList.size()-IDCount) + 1%>);
  					
  						//	provide cells and headers text
  						obj.setDataProperty("text", function(i, j){return myData[i][j]});
  						obj.setColumnProperty("text", function(i){return columns[i]});
  						
  						//	set headers width/height.
  						obj.setRowHeaderWidth("28px");
  						obj.setColumnHeaderHeight("20px");
  										    
  					    //double click events
  					    var row = new Active.Templates.Row;
  						row.setEvent("ondblclick", function(){this.action("myAction")}); 
  
  						obj.setTemplate("row", row);
  		   				obj.setAction("myAction", 
  						function(src){window.location.href = 'ParticipantSelect.do?pageOf=<%=pageOf%>&operation=add&participantId='+myData[this.getSelectionProperty("index")][10]}); 
  
  						//	write grid html to the page.
  						document.write(obj);
  						</script>
  						</div>
  					</td>
  				  </tr>
  				  <tr>
  
negative.code: 		
  		function setSubmittedForParticipant(submittedFor,forwardTo)
  		{
  
  			document.forms[0].submittedFor.value = submittedFor;
  			document.forms[0].forwardTo.value    = forwardTo;
  			<%if(request.getAttribute(Constants.SUBMITTED_FOR)!=null && request.getAttribute(Constants.SUBMITTED_FOR).equals("AddNew")){%>
  