window.addEvent("domready", function () {
    var customTips = $$('.tooltip');

    var toolTips = new Tips (customTips, {
      initialize: function (a) {

         this.fx_show = new Fx.Tween (this.tip, {
            duration: 500
         });
         this.fx_hide = new Fx.Tween (this.tip, {
            duration: 200
         });

         //hide at start
         this.tip.fade('hide');
         
      },
      
      
      className: 'tooltip_1',
      showDelay: 300,
      
      offsets: {
   		'x': -50,       //default is 16
   		'y': -50        //default is 16
   	},

      
      onShow: function () {
         this.fx_show.start('opacity', .8);
      },
      
      onHide: function () {
         this.fx_hide.start('opacity', 0);
      }

      
    })
    
//    toolTips.attach ('.tooltip2');
});

