anchor.diff:  		function closePopup() {
   			win.close();
   		}
  +
  +		function takeSubjectOffStudy(registartionId){
  +			win = new Window({title: "Take subject off study", 
  +				zIndex:100, width:500, height:200 ,
  +				recenterAuto:true, className :"mac_os_x",
  +				url: "<c:url value='/pages/registration/takeSubjectOffStudy?decorator=noheaderDecorator&registartionId='/>" + registartionId, 
  +				showEffectOptions: {duration:1.5}
  +					}
  +				) 
  +			win.showCenter(true)
  +		}
       </script>
   </head>
   <body>
  
positive.code:     <input type="button" value="update consent version" onClick="updateConsentVersion(${command.studySubject.id});"/>
      <csmauthz:accesscontrol domainObject="${command.studySubject}" hasPrivileges="UPDATE" authorizationCheckName="domainObjectAuthorizationCheck">
  	    <c:if test="${command.studySubject.regWorkflowStatus.code=='Enrolled' && command.studySubject.scheduledEpoch.scEpochWorkflowStatus=='REGISTERED'}">
  	        <input type="button" value="Take subject off study" onclick="new Effect.SlideDown('OffStudyStatus')">
  	    </c:if>
      </csmauthz:accesscontrol>
  </div>
  
negative.code:         formName="'viewDetails'" params="dontSave=true"/>
          }
  
          paramString="<tags:identifierParameterString identifier='${command.studySubject.systemAssignedIdentifiers[0] }'/>";
          
        function doSendMessageToESB() {
            $('broadcastResponse').innerHTML = 'Sending Message...';
  
  