/*jslint undef: true, nomen: true, eqeqeq: true */
/*global Event, $$, Tip */
Event.addBehavior({
  '.calendar-filter .view-buttons .list:click' : function () {
  this.addClassName("down");
  $$('.calendar-filter .view-buttons .calendar').first().removeClassName("down");
  },
'.calendar-filter .view-buttons .calendar:click' : function () {
  this.addClassName("down");
  $$('.calendar-filter .view-buttons .list').first().removeClassName("down");
  },
  '.tiny-user-mug' : function () {
    var tip = new Tip(this, this.down('img').alt, {delay: 0, className: "tiny-user-tip"});
  }
});
