anchor.diff:  
   
           function createAutocompleter() {
  +            if (${not empty releasedAndAssignedTemplate}){
               activitiesAutocompleter = new Ajax.RevertableAutocompleter('studies-autocompleter-input','studies-autocompleter-div','<c:url value="/pages/cal/search/releasedTemplates"/>',
               {
                   method: 'get',
  
positive.code:                         $(arrayOfSiblings[i]).style.display = "none";
                      }
                  }
                  $('nextTenStudies').hide()
              }
          }
  
  
negative.code:                 afterUpdateElement:updateActivity,
                  revertOnEsc:true
              });
                  }
          }
  
          function updateActivity(input, li) {
  