anchor.diff:  		//this function is called when participant clicks on radiao button 
   		function onParticipantClick(participant_id)
   		{
  -			document.forms[0].participantId.value=participant_id;
  -			document.forms[0].id.value=participant_id;
  +			//mandar for grid
  +			var cl = mygrid.cells(participant_id,mygrid.getColumnCount()-1);
  +			var pid = cl.getValue();
  +			//alert(pid);
  +			//participant_id = pid;
  +			//------------
  +			//document.forms[0].participantId.value=participant_id;
  +			document.forms[0].participantId.value=pid;
  +			document.forms[0].id.value=pid;
   			document.forms[0].submitPage.disabled=true;
   			document.forms[0].registratioPage.disabled=false;
   		
  
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: 
  	int IDCount = 0;
  	%>
  	
  	<script language="JavaScript">
  		//function to insert a row in the inner block
  