anchor.diff:      setSaveButton();
   
       if( message == '<%=IActionConstants.INVALID_TO_LARGE%>' ){
  -        alert( '<bean:message key="error.date.inFuture"/>' );
  +        alert( "<bean:message key="error.date.inFuture"/>" );
       }else if( message == '<%=IActionConstants.INVALID_TO_SMALL%>' ){
  -        alert( '<bean:message key="error.date.inPast"/>' );
  +        alert( "<bean:message key="error.date.inPast"/>" );
       }
   }
   
  
positive.code: 
  function /*void*/ savePage(){
  	if( samplesHaveBeenAdded() && !sampleAddValid( false )){
  		alert('<%= StringUtil.getMessageForKey("warning.sample.missing.test")%>');
  		return;
  	}
  
  
negative.code: 	if (message == "SAMPLE_FOUND"){
  		setFieldErrorDisplay( $(formField) );
  		setSaveButton();
  		alert("<%=StringUtil.getMessageForKey("errors.may_not_reuse_accession_number")%>");
  		return;
  	}
  	
  