Event.addBehavior.reassignAfterAjax = true;

Event.addBehavior({
  '#errorExplanation' : function(e) {
    $('new_response').scrollTo();
  },
  '#response_label:click' : function(e) {
    Form.Element.activate('response_response');
  },
  '.clearable:focus' : function(e) {
    if (this.getValue() == this.readAttribute('title')) {
      this.clear();
    }
  },
  '.clearable:blur' : function(e) {
    if (this.getValue().blank()) {
      this.value = this.readAttribute('title');
    }
  }
});

