anchor.diff:  			  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
   			    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
   			  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
  -		}	
  +		}
  +		 function registrationDateChange(newOffsetObject)
  +		 {
  +		  var originalDateOfRegistration= <%=registrationMonth.intValue()%> +"/"+<%=registrationDay.intValue()%> +"/"+<%=registrationYear.intValue()%>;
  +		var newRegistrationDate=dateChange(newOffsetObject,<%=form.getOffset()%>,originalDateOfRegistration);
  +		document.getElementById("registrationDate").value=newRegistrationDate;
  +		 }
   		</script>
   	<%}%>
   
  
positive.code: 
  				 	</td>
  				</tr>
  			<tr id="row3">					
  						
  						<td class="formRequiredNotice" width="5">&nbsp;</td>					
  						<td class="formLabel">
  						<label for="name">
  							<bean:message key="subprotocolreg.offset" />
  						</label>
  					</td>
  					<td class="formField">
  					<html:text styleClass="formFieldSized" maxlength="25"  size="5" styleId="offset" property="offset"/>
  					</td>
  				</tr>
  				<!-- activitystatus -->	
  				<logic:equal name="<%=Constants.OPERATION%>" value="<%=Constants.EDIT%>">
  				<tr>
  					<td class="formRequiredNotice" width="5">*</td>
  
negative.code: 					<%
  						 if(currentRegistrationDate.trim().length() > 0)
  						 {
  							
  					%>
  					<ncombo:DateTimeComponent name="registrationDate"
  									  id="registrationDate"
  