anchor.diff:  	}
   
   		String iframeSrc="";
  -		String formAction = Constants.SPECIMEN_ADD_ACTION;
  -		String specimenPath ="'NewSpecimenSearch.do?operation=search&tab=specimen&pageOf=pageOfNewSpecimen&id="+specimenIdentifier+"'" ;
  +		String formAction = Constants.VIEW_SPR_ACTION;
  +		String specimenPath ="'NewSpecimenSearch.do?operation=search&pageOf=pageOfNewSpecimen&id="+specimenIdentifier+"'" ;
   		String consentTab="'NewSpecimenSearch.do?operation=search&tab=consent&pageOf=pageOfNewSpecimen&id="+specimenIdentifier+"'" ;
  -		if(pageOf != null && pageOf.equals(Constants.PAGE_OF_LIST_SPECIMEN_EVENT_PARAMETERS_CP_QUERY))
  +		if(pageOf != null && pageOf.equals(Constants.PAGE_OF_SPECIMEN_CP_QUERY))
   		{
   			specimenPath ="'QuerySpecimenSearch.do?operation=search&pageOf=pageOfNewSpecimenCPQuery&id="+specimenIdentifier+"'" ;
  +			consentTab="'QuerySpecimenSearch.do?operation=search&tab=consent&pageOf=pageOfNewSpecimenCPQuery&id="+specimenIdentifier+"'" ;
   		}		
  -		
  -		String staticEntityName=null;
  -		staticEntityName = AnnotationConstants.ENTITY_NAME_SPECIMEN;
   		
   %>
   <script>
  
positive.code: 				{
  					formNameAction = "CPQueryListSpecimenEventParameters.do?pageOf=pageOfListSpecimenEventParametersCPQuery";
  				}%>
  				var formName = "<%=formNameAction%>&specimenId="+id+"&menuSelected=15&consentTierCounter=<%=consentTierCounter%>";		
  				document.forms[0].action=formName;
  				document.forms[0].submit();
  }
  function showConsents()
  {
  	<%
  		if(consentTierCounter.equals("0"))			
  		{
  	%>
  			alert("No consents available for selected Specimen Collection Group");		
  	<%
  		}
  		else
  		{
  	%>
  			addNewAction(<%= consentTab %>)			
  	<%
  		}
  	%>
  }
  </script>
  
  <html:form action="<%=formAction%>">
  <!-- Mandar 05-July-06 Code for tabs start -->
  	 	<table summary="" cellpadding="0" cellspacing="0" border="0" height="100%" class="tabPage" width="87%">  
  			<tr>
  				<td height="20" class="tabMenuItem"  onmouseover="changeMenuStyle(this,'tabMenuItemOver'),showCursor()" onmouseout="changeMenuStyle(this,'tabMenuItem'),hideCursor()" onclick="addNewAction(<%= specimenPath %>)">
  					<bean:message key="tab.specimen.details"/>
  
negative.code: 				<td height="20" class="tabMenuItemSelected"  onClick="">
  					<bean:message key="edit.tab.surgicalpathologyreport"/>
  				</td>
  				
  				<td height="20" class="tabMenuItem" onmouseover="changeMenuStyle(this,'tabMenuItemOver'),showCursor()" onmouseout="changeMenuStyle(this,'tabMenuItem'),hideCursor()" onClick="featureNotSupported()">
  					<%=Constants.CLINICAL_ANNOTATIONS %>
  				</td>
  				</td>
  				   <td height="20" class="tabMenuItem" onmouseover="changeMenuStyle(this,'tabMenuItemOver'),showCursor()" onmouseout="changeMenuStyle(this,'tabMenuItem'),hideCursor()" onClick="addNewAction(<%= consentTab %>)" id="consentTab">
  					<bean:message key="consents.consents"/>            
  				</td>
  
  				<td width="350" class="tabMenuSeparator" colspan="1">&nbsp;</td>
  			</tr>
  			<tr>
  			<td class="tabField" colspan="6">
  				<%@ include file="ViewSurgicalPathologyReport.jsp" %> 			
  			</td>
  		</tr>
  	</table>
  </html:form>