anchor.diff:  	$(registrationElement).value=regId;
   	$(formName).submit();
   }
  -function createReg(studySite, participant, parentRegistrationId){
  -	$('create_studySite').value=studySite;
  -	$('create_participant').value=participant;
  -	$('create_parent_id').value=parentRegistrationId;
  +function createReg(studyId,studySiteName, studySiteVersionId){
  +	$('from_reg_confirmation').value=true;
  +	$('create_studyId').value=studyId;
  +	$('create_studySiteName').value= studySiteName;
  +	$('create_studySiteStudyVersionId').value=studySiteVersionId;
   	$('create').submit();
   }
   
  
positive.code: 	</div>
  	<script>
  		function doManage(formName, idParamStr){
  			if(formName=='manage'){
  				document.location="../registration/manageRegistration?"+idParamStr;
  			}else if(formName=='edit'){
  				document.location="../registration/editRegistration?"+idParamStr;
  
negative.code: <tags:controlPanel>
   <c:if test="${command.studySubject.dataEntryStatusString!='Incomplete' }">
  	<form id="manage" name="manage" action="../registration/manageRegistration" method="get" style="display:inline;">
  		<input type="hidden" name="registrationId" value="${command.studySubject.systemAssignedIdentifiers[0] }"/>
  		<tags:oneControlPanelItem imgsrc="/c3pr/templates/mocha/images/controlPanel/controlPanel_pencil.png" linktext="Register another subject" linkhref="javascript:doManage('create',paramString)"/>
  		<c:if test="${command.studySubject.scheduledEpoch.scEpochWorkflowStatus != 'REGISTERED'}">
  			<tags:oneControlPanelItem imgsrc="/c3pr/templates/mocha/images/controlPanel/controlPanel_pencil.png" linktext="Edit registration" linkhref="javascript:doManage('edit',paramString)"/>
  		</c:if>
  