anchor.diff:  <script>
   function activateAndSaveStudy(){
   	if (${fn:length(errors)} > 0){
  -		var d = $('errorsDiv');
  +		var d = $('errorsOpenDiv');
   		Dialog.alert(d.innerHTML, 
   		{width:500, height:200, okLabel: "close", ok:function(win) {debug("validate alert panel"); return true;}});
   	} else {
  
positive.code: 		</div>
  	</c:forEach>
  </div>
  </form:form>
  </body>
  </html>
  
negative.code: 
  function createStudy(){
  	if (${fn:length(errors)} > 0){
  		var d = $('errorsCreateDiv');
  		Dialog.alert(d.innerHTML, 
  		{width:500, height:200, okLabel: "close", ok:function(win) {debug("validate alert panel"); return true;}});
  	} else {
  