anchor.diff:  			readOnlyValue=true;
   			if(pageOf.equals(Constants.QUERY))
   				formName = Constants.QUERY_SPECIMEN_COLLECTION_GROUP_EDIT_ACTION + "?pageOf="+pageOf;
  -			if(pageOf.equals(Constants.PAGE_OF_SCG_CP_QUERY))
  -			{
  -				formName = Constants.CP_QUERY_SPECIMEN_COLLECTION_GROUP_EDIT_ACTION + "?pageOf="+pageOf;
  -			}
  -				
  -
  -		}
  -		else
  +
  +		}
  +		if(operation.equals(Constants.ADD))
   		{
   			formName = Constants.SPECIMEN_COLLECTION_GROUP_ADD_ACTION;
  -			if(pageOf.equals(Constants.PAGE_OF_SCG_CP_QUERY))
  -			{
  -				formName = Constants.CP_QUERY_SPECIMEN_COLLECTION_GROUP_ADD_ACTION + "?pageOf="+pageOf;
  -			}
   			readOnlyValue=false;
   		}
  -		long idToTree = form.getId();
  +		Map map = null;
  +		int noOfRows=0;
  +		if(operation.equals("viewSPR"))
  +		{
  +			
  +			obj = request.getAttribute("viewSurgicalPathologyReportForm");
  +	   		
  +			if(obj != null && obj instanceof ViewSurgicalPathologyReportForm)
  +			{
  +				
  +				formName=Constants.SPR_VIEW_ACTION;
  +				formSPR=(ViewSurgicalPathologyReportForm)obj;
  +				map = formSPR.getValues();
  +				noOfRows = formSPR.getCounter();
  +			}
  +		}
   %>
   <head>
  -
  -	<%if(pageOf.equals(Constants.PAGE_OF_SCG_CP_QUERY))
  -	{
  -		strCheckStatus= "checkActivityStatus(this,'" + Constants.CP_QUERY_BIO_SPECIMEN + "')";
  -	%>
  -		<script language="javascript">
  -			var cpId = window.parent.frames['<%=Constants.CP_AND_PARTICIPANT_VIEW%>'].document.getElementById("cpId").value;
  -			var participantId = window.parent.frames['<%=Constants.CP_AND_PARTICIPANT_VIEW%>'].document.getElementById("participantId").value;
  -			<%if(request.getAttribute(Constants.CP_SEARCH_PARTICIPANT_ID) != null ) {
  -			String cpParticipantId = (String) request.getAttribute(Constants.CP_SEARCH_PARTICIPANT_ID);%>
  -			participantId = <%=cpParticipantId%>;
  -			<%}%>
  -			window.parent.frames['<%=Constants.CP_AND_PARTICIPANT_VIEW%>'].location="showCpAndParticipants.do?cpId="+cpId+"&participantId="+participantId;
  -			window.parent.frames['<%=Constants.CP_TREE_VIEW%>'].location="showTree.do?<%=Constants.CP_SEARCH_CP_ID%>="+cpId+"&<%=Constants.CP_SEARCH_PARTICIPANT_ID%>="+participantId+"&nodeId=SpecimenCollectionGroup_"+<%=idToTree%>;
  -			
  -		</script>
  -	<%}%>
  -
   	<script language="JavaScript" type="text/javascript" src="jss/javaScript.js"></script>
        <script language="JavaScript">
        
  -    	function onRadioButtonClick(element)
  +		function onRadioButtonClick(element)
   		{
   			if(element.value == 1)
   			{
  
positive.code: 			}
  		} 
  		
          function onChangeEvent(element)
  		{
          	var action = "SpecimenCollectionGroup.do?operation=<%=operation%>&pageOf=<%=pageOf%>&" +
          			"isOnChange=true";
          	<%if(pageOf.equals(Constants.PAGE_OF_SCG_CP_QUERY))
  			{%>
  				action = "QuerySpecimenCollectionGroup.do?pageOf=<%=pageOf%>&operation=<%=operation%>&"+
  						"isOnChange=true";
  			<%}%>		
          	changeAction(action);
  		}
          function changeAction(action)
          {
  			document.forms[0].action = action;
  			document.forms[0].submit();
          }
  
  		
  	</script>
  </head>
  
  
negative.code: 	<%=messageKey%>
  </html:messages>
  
  <html:form action="<%=formName%>" >
  	<%
  	if(pageView.equals("add"))
  	{
  	%>
  		<%@ include file="EditSpecimenCollectionGroup.jsp" %>
  	<%
  	}
  	%>
  	<%
  	if(pageView.equals("edit"))
  	{
  