window.addEvent('domready', function() {
    var Tips2 = new Tips($$('.tooltip'), {
        showDelay: 200,
        hideDelay: 0,
        onShow: function(tip) {
          if (!tip.infx){
            tip.infx = new Fx.Morph(tip, {duration:500});
          } 
          if (!tip.outfx){
            tip.outfx = new Fx.Morph(tip, {duration:200});
          } 
          tip.outfx.cancel();
					tip.outfx.clearChain();
					tip.infx.start({'opacity': 1});
          //tip.fade('in');
        },
        onHide: function(tip) {
          if (tip.infx){
            tip.infx.cancel();
  					tip.infx.clearChain();
  			  }
          if (tip.outfx){
  					tip.outfx.start({'opacity': 0});
  			  }
          
          //tip.fade('out'); 
        }
    });
});
