anchor.diff:  </table>
   
   <script>
  -	/*	
  -	function rowClick(id)
  -	{
  -		var colid = <%=identifierFieldIndex.intValue()%>;
  -		var cl = mygrid.cells(id,colid);
  -		var searchId = cl.getValue();
  -		var url = "SearchObject.do?pageOf=<%=pageOf%>&operation=search&id="+searchId;
  -		window.location.href = url;
  -	}
  -	*/
  -
   	// function modified to display distribution array.
   	// problem in query data.
   	function rowClick(id)
   	{
  -		var colid = <%=identifierFieldIndex.intValue()%>;
  -		/*
  -		var x=document.getElementsByName("pageOf");
  -		//alert(x);
  -		if(x[0].value == "pageOfArrayDistribution")
  -		{
  -			colid=0;
  -		}
  -		//alert(colid);
  -		*/
  +		var colid ='${requestScope.identifierFieldIndex}';
   		var cl = mygrid.cells(id,colid);
   		var searchId = cl.getValue();
  -		var url = "SearchObject.do?pageOf=<%=pageOf%>&operation=search&id="+searchId;
  -		if(<%=pageOf.equals("pageOfCollectionProtocol")%>)
  +		var url = "SearchObject.do?pageOf=${requestScope.pageOf}&operation=search&id="+searchId;
  +		var pageOf="${requestScope.pageOf}";
  +		if(pageOf=="pageOfCollectionProtocol")
   		{
   			url = "RetrieveCollectionProtocol.do?&id="+searchId;
   		}
  -		
   		window.location.href = url;
   	}
  -	/**
  -	 * Name : Vijay_Pande
  -	 * Bug ID: Sachin_Lale
  -	 * Patch ID: 4060_1 
  -	 * See also: --
  -	 * Description: Grid was appearindg disordered since it was not refreshed/resized.
  -	 */
  +	
   function init_grid()
   {			
   	var funcName = "rowClick";
  
positive.code: 	function getIDColumns()
  		{
  			var hiddenColumnNumbers = new Array();
  			var i=0;
  			<%
  				int cols = 0;
  				
  				for(col=0;col<columnList.size();col++)
  				{
  					if (columnList.get(col).toString().trim().equals("ID") || columnList.get(col).toString().trim().equals("Status")
  					 || columnList.get(col).toString().trim().equals("Site Name")|| columnList.get(col).toString().trim().equals("Report Collection Date"))
  					{%>
  						hiddenColumnNumbers[i] = <%=col%>;
  						i++;
  					<%}
  				}
  			%>
  			return hiddenColumnNumbers;
  		}
  	
  
negative.code: <script  src="dhtml_comp/js/dhtmlXGridCell.js"></script>	
  <script  src="dhtml_comp/js/dhtmlXGrid_mcol.js"></script>	
  <script>
  	var myData =${requestScope.myData};
  	var columns =${requestScope.columns};
  	var colWidth =${requestScope.colWidth};
  	var colTypes =${requestScope.colTypes};
  </script>
  <table width="100%">
  	<tr>
  		<td>
  