anchor.diff:  
   	 if(top.frames["cpAndParticipantView"] != undefined)
   	 {
  -
   		top.frames["cpAndParticipantView"].refreshCpParticipants(<%=participantId%>);
  -
   	 }
   	</script>
   
   	<%}
   	%>
   
  -	</html:form>+	</html:form>
  
positive.code: <%@ page import="edu.wustl.common.util.global.CommonServiceLocator"%>
  
  <%@ page import="edu.wustl.catissuecore.action.annotations.AnnotationConstants"%>
  
  <%@ include file="/pages/content/common/AutocompleterCommon.jsp" %>
  
  
  <script src="jss/ajax.js"></script>
  <script src="jss/script.js"></script>
  <!-- Mandar 11-Aug-06 : For calendar changes -->
  <script src="jss/calendar.js"></script>
  <script src="jss/calendarComponent.js"></script>
  <script src="jss/titli.js"></script>
  
negative.code: 		noOrRowsCollectionProtocolRegistration =1;
  	}
  		}
  		
  		boolean isGenerateEMPIDisabled=false;
  		boolean isSubmitDisabled=false;
  		String generateeMPIButtonName="";
  		generateeMPIButtonName=org.apache.commons.lang.StringEscapeUtils.escapeHtml((String)request.getAttribute(Constants.GENERATE_EMPI_ID_NAME));
  		String csEMPIStatus = org.apache.commons.lang.StringEscapeUtils.escapeHtml((String)request.getAttribute("csEMPIStatus"));
  		final String isMatchedFromEMPI=org.apache.commons.lang.StringEscapeUtils.escapeHtml((String)request.getAttribute(edu.wustl.common.participant.utility.Constants.MATCHED_PARTICIPANTS_FOUND_FROM_EMPI));
  		String empiGenerationFieldsInsufficient=org.apache.commons.lang.StringEscapeUtils.escapeHtml((String)request.getAttribute(edu.wustl.common.participant.utility.Constants.EMPI_GENERATION_FIELDS_INSUFFICIENT));
  		String isEnableLinkedParticipantButton=org.apache.commons.lang.StringEscapeUtils.escapeHtml((String)request.getAttribute("isEnableLinkedParticipantButton"));
  		String catissueMatchedParticipantFound=org.apache.commons.lang.StringEscapeUtils.escapeHtml((String)request.getAttribute("CaTissueMatchedParticpant"));
  		
  		//amol changes
  		String fromProcessMessage = (String) request
  		.getAttribute(edu.wustl.common.participant.utility.Constants.IS_GENERATE_EMPI_PAGE);
  		if(fromProcessMessage == null){
  			request
  		.setAttribute(edu.wustl.common.participant.utility.Constants.IS_GENERATE_EMPI_PAGE,"false");
  		}
  		
  		//ends
  		String normalSubmitForEMPIGenerate = "setSubmittedForParticipanteMPIGenerate('"
  				+ submittedFor + "','" + Constants.PARTICIPANT_FORWARD_TO_LIST[0][1] + "')";
  		
  
  		if (pageView.equals("edit"))
  		{
  %>
  		<logic:equal name="participantForm" property="empiIdStatus"
  			value="<%=edu.wustl.common.participant.utility.Constants.EMPI_ID_PENDING%>">
  			<%
  				isGenerateEMPIDisabled = true;
  			isSubmitDisabled=true;
  							generateeMPIButtonName = edu.wustl.common.participant.utility.Constants.GENERATE_EMPI_ID;
  			%>
  
  		</logic:equal>
  		<logic:equal name="participantForm" property="empiIdStatus"
  			value="<%=edu.wustl.common.participant.utility.Constants.EMPI_ID_CREATED%>">
  			<%
  				generateeMPIButtonName = edu.wustl.common.participant.utility.Constants.REGENERATE_EMPI_ID;
  			%>
  		</logic:equal>
  	<%} 
  
  %>
  
  <head>
  