anchor.diff:  	<input type="hidden" name="epoch" id="edit_epoch_companion"/>
   	<input type="hidden" name="studySubject.scheduledEpoch.offEpochDate" id="tc_offEpochDate"/>
   	<input type="hidden" name="studySubject.scheduledEpoch.offEpochReasonText" id="tc_offEpochReasonText"/>
  +	<input type="hidden" name="studySubject.scheduledEpoch.startDate" id="tc_scheduledEpochStartDate"/>
  +	<input type="hidden" name="studySubject.startDate" id="tc_registrationStartDate"/>
   </form>
   <chrome:box title="Change Epoch">
   <chrome:division title="Select Epoch">
  
positive.code: </table>
  </chrome:division>
  
  <chrome:division title="Off Epoch Details">
  
  <table border="0" cellspacing="5px" cellpadding="5"  width="80%">
  	<tr>
  		<td><b>Off ${command.studySubject.scheduledEpoch.epoch.name } reason text:</b></td>
  		<td><textarea name="offEpochReasonText" id="offEpochReasonText" rows="2" cols="30" class="required validate-notEmpty&&maxlength1024"></textarea>
  	            	<tags:hoverHint keyProp="scheduledEpoch.offEpochReasonText"/>
  	    </td>
  		
  		<td><b>Off ${command.studySubject.scheduledEpoch.epoch.name } date:</b></td>
  		<td>
  			<tags:dateInput path="command.studySubject.scheduledEpoch.offEpochDate" validateDate="true" cssClass='validate-Date'/>
  			<tags:hoverHint keyProp="scheduledEpoch.offEpochDate"/>
  
negative.code: 		$("edit_epoch").value=transferEpochId;
  		document.getElementById("t_offEpochDate").value=document.getElementById('command.studySubject.scheduledEpoch.offEpochDate').value;
  		document.getElementById("t_offEpochReasonText").value=document.getElementById('offEpochReasonText').value;
  		document.getElementById("t_scheduledEpochStartDate").value=document.getElementById('command.studySubject.scheduledEpoch.startDate').value;
  		document.getElementById("t_registrationStartDate").value=document.getElementById('command.studySubject.startDate').value;
  		$("transferEpoch").submit();
  	}else if(transferToStatus == 'flow' && (parentStudySubject != null || parentStudySubject != '')){
  		$("edit_epoch_companion").value=transferEpochId;
  		$("tc_offEpochDate").value=document.getElementById('command.studySubject.scheduledEpoch.offEpochDate').value;
  		$("tc_offEpochReasonText").value=document.getElementById('offEpochReasonText').value;
  		document.getElementById("tc_scheduledEpochStartDate").value=document.getElementById('command.studySubject.scheduledEpoch.startDate').value;
  		document.getElementById("tc_registrationStartDate").value=document.getElementById('command.studySubject.startDate').value;
  		$("transferCompanionEpoch").submit();
  	}else{
  		$("m_manage_epoch").value=transferEpochId;
  		$("m_offEpochDate").value=document.getElementById('command.studySubject.scheduledEpoch.offEpochDate').value;
  		$("m_offEpochReasonText").value=document.getElementById('offEpochReasonText').value;
  		document.getElementById("m_scheduledEpochStartDate").value=document.getElementById('command.studySubject.scheduledEpoch.startDate').value;
  		document.getElementById("m_registrationStartDate").value=document.getElementById('command.studySubject.startDate').value;
  		$("manageTransferEpoch").submit();
  	}
  }
  function cancelChangeEpochPopup() {
  	win.close();
  	$('registrationStartDate').style.display='none';
  	$('epochStartDate').style.display='none';
  }
  </script>
  <style>
  