anchor.diff:  			else
   			{
   				document.forms[0].action="ParticipantSelect.do?operation=add&systemIdentifier="+document.forms[0].participantId.value;
  +				alert("3");
  +				alert(document.forms[0].action);
   				document.forms[0].submit();
   				//window.location.href="ParticipantSelect.do?operation=add&participantId="+document.forms[0].participantId.value+"&submittedFor="+document.forms[0].submittedFor.value+"&forwardTo="+document.forms[0].forwardTo.value;
   			}
   			
   		}
  -
  +		
  +		function CreateNewClick()
  +		{
  +			document.forms[0].submitPage.disabled=false;
  +			<%if(request.getAttribute(Constants.SUBMITTED_FOR)!=null && request.getAttribute(Constants.SUBMITTED_FOR).equals("AddNew")){%>
  +				document.forms[0].submitPage.disabled=true;
  +			<%}%>
  +			
  +			document.forms[0].radioValue.value="Add";
  +			document.forms[0].action="<%=Constants.PARTICIPANT_ADD_ACTION%>";
  +			
  +		}
   	
  +		function LookupAgain()
  +		{
  +			
  +			document.forms[0].submitPage.disabled=false;
  +			<%if(request.getAttribute(Constants.SUBMITTED_FOR)!=null && request.getAttribute(Constants.SUBMITTED_FOR).equals("AddNew")){%>
  +				document.forms[0].submitPage.disabled=true;
  +			<%}%>
  +			document.forms[0].radioValue.value="Lookup";
  +		}
  +		
  +		function setSubmittedForParticipant(submittedFor,forwardTo)
  +		{
  +			document.forms[0].submittedFor.value = submittedFor;
  +			document.forms[0].forwardTo.value    = forwardTo;
  +			<%if(request.getAttribute(Constants.SUBMITTED_FOR)!=null && request.getAttribute(Constants.SUBMITTED_FOR).equals("AddNew")){%>
  +			document.forms[0].submittedFor.value = "AddNew";
  +			<%}%>			
  +			<%if(request.getAttribute(Constants.SPREADSHEET_DATA_LIST)!=null && dataList.size()>0){%>	
  +
  +			if(document.forms[0].radioValue.value=="Add")
  +			{
  +				document.forms[0].action="<%=Constants.PARTICIPANT_ADD_ACTION%>";
  +				document.forms[0].submit();
  +			}
  +			else
  +			{
  +				if(document.forms[0].radioValue.value=="Lookup")
  +				{
  +					document.forms[0].action="<%=Constants.PARTICIPANT_LOOKUP_ACTION%>";
  +					document.forms[0].submit();
  +				}
  +			}		
  +					<%}%>	
  +			document.forms[0].submit();		
  +		}
   	</script>
   </head>
   
  
positive.code: 				}
  				%>
  				 </tbody>
  				
  				  <!-- Medical Identifiers End here -->
  				
  				 <%@ include file="ParticipantPageButtons.jsp" %>
  				 
  				<!--	extra </logic:notEqual>-->
  				
  				 <!-- end --> 
  				  <!---Following is the code for Data Grid. Participant Lookup Data is displayed-->
  				<%if(request.getAttribute(Constants.SPREADSHEET_DATA_LIST)!=null && dataList.size()>0){%>	
  
  				<tr>
  				     <td class="formTitle" height="20" colspan="2">
  				     	<bean:message key="participant.lookup"/>
  				     </td>
  				     <td class="formButtonField">
  						<html:button styleClass="actionButton"  property="useSelectedParticipant" onclick="UseSelectedParticipant();">
  						<bean:message key="buttons.useSelectedParticipant"/> 
  						</html:button>
  
negative.code: </html:messages>
  
  <html:form action="<%=formName%>">
  	<%
  	if(pageView.equals("edit"))
  	{
  