window.addEvent('domready', function() {
  
  //tooltips
  $$('a.tooltip-help').each(function(element,index) {
      var content = element.get('title').split('::');
      element.store('tip:title', content[0]);
      element.store('tip:text', content[1]);
  });

  var help_tips = new Tips('.tooltip-help', {
      //fixed: true,
      className: "status_tooltip",
      onShow: function(tip) {
          tip.fade('in');
      },
      onHide: function(tip) {
          tip.fade('out');
      }
  });
  help_tips.tip.set('tween',{duration: 200});

  new iCarousel("club_logo_box_content", {
    animation: {
      type: "scroll",
      direction: "left",
      amount: 1,
      duration: 2000,
      transition: Fx.Transitions.linear,
      rotate: {
        type: "auto",
        interval: 2000,
        onMouseOver: "stop"
      }
    },
    item: {
      klass: "club_logo"
    },
    idPrevious: "undefined",
    idNext: "undefined",
    idToggle: "undefined"
  });

  var myInputs = $$('input');

  var myHilighter = new SL_Hilight({
   inputs: myInputs,
   activeClass: 'active_field',
   initialFocus: true
  });
  

});