anchor.diff:      $('add-activity').value = "";
   }
   
  +function resetActivityType() {
  +    $('activity-type-filter').options[0].selected=true;
  +}
  +
   function createAutocompleter() {
       activitiesAutocompleter = new Ajax.ResetableAutocompleter('activities-autocompleter-input', 'activities-autocompleter-div', '<c:url value="/pages/search/fragment/activities"/>',
       {
  
positive.code:     registerHoverTip($('delete-drop'), "Drag an activity from the grid to delete it")
  }
  
  //Event.observe(window, "dom:loaded", registerHoverTips)
  
  </script>
  
negative.code:                 </select>
                  <select id="activity-type-filter">
                      <option value="">All types</option>
                      <c:forEach items="${activityTypes}" var="activityType"><option value="${activityType.id}" >${activityType.name}</option></c:forEach>
                  </select>
                  <input id="activities-autocompleter-input" type="text" autocomplete="off"/>
                  <div id="activities-autocompleter-div" class="autocomplete"></div>
  