anchor.diff:  	}
   %>
   <script language="JavaScript">
  +function newConsentTab(levelId)
  +{
  +
  +	var cprId = document.getElementsByName("cprId")[0].value;
  +	var cpId = document.getElementsByName("cpId")[0].value;
  +	var action="FetchConsents.do?consentLevelId="+cprId+"&consentLevel=participant&reportId=<%=reportId%>&pageof=<%=pageOf%>&participantEntityId=${particiapntRecordEntryEntityId}&participantId=${participantId}&cpId="+cpId;
  +	document.forms[0].action=action;
  +	document.forms[0].submit();
  +	//switchToNewTab("newConsentTab");
  +}
   
   		function setSubmittedForParticipanteMPIGenerate(submittedFor,forwardTo){
   			var noOfreg = '<%=noOrRowsCollectionProtocolRegistration%>';
  
positive.code: 
  						<td valign="middle" class="black_ar align_left_style" height="100%"> 
  							<html:text property="registrationDate" styleClass="black_ar"
  							   styleId="registrationDate" size="10" onclick="doInitCalendar('birthDate',false);"/>	
  							   <span class="grey_ar_s capitalized"> [<bean:message key="date.pattern" />]</span>&nbsp;
  						</td>
  						
  
negative.code: 				<tr>
  					<td class="td_tab_bg"><img src="images/uIEnhancementImages/spacer.gif" alt="spacer" width="50" height="1"></td>
  					<td valign="bottom"><img src="images/uIEnhancementImages/tab_edit_participant2.gif" alt="Edit Participant" width="116" height="22" border="0"></td>
  					<td valign="bottom"><a href="#" onClick="viewSPR('<%=reportId%>','<%=pageOf%>','<%=form.getCpId()%>','<%=form.getCprId()%>')" id="viewSPR"><img src="images/uIEnhancementImages/tab_view_surgical2.gif" alt="View Surgical Pathology Report" width="216" height="22" border="0"></a></td>
  					<td valign="bottom" ><a href="#" onclick="showAnnotations('<%=form.getCpId()%>','<%=form.getCprId()%>')"><img src="images/uIEnhancementImages/tab_view_annotation2.gif" alt="View Annotation" width="116" height="22"  border="0"></a></td>
  					<td valign="bottom"><a id="consentViewTab" href="#" onClick="newConsentTab('${participantId}')"><img src="images/uIEnhancementImages/tab_consents2.gif" alt="Consents" width="76" border="0" height="22" ></a></td>
  					<td width="90%" valign="bottom" class="td_tab_bg">&nbsp;</td>
  					</tr></table>
  			</logic:equal>
  		<table width="100%" border="0" cellpadding="3" cellspacing="0"
  				class="whitetable_bg" >
  