// Setup the tooltip.
// possible params are:
//   maxTitleChars
//   offsets needs an array in the format: array('x'=>20, 'y'=>30)
//   showDelay
//   hideDelay
//   className
//   fixed
//   onShow
//   onHide
window.addEvent('domready', function(){
   var zoomTip = new Tips($$('.hasTip'), {
      className: 'custom1', //this is the prefix for the CSS class
			maxTitleChars: 300,
      offsets: {
                'x': -300,       //default is 16
                'y': 26        //default is 16
      },
      initialize:function(){
         this.fx = new Fx.Style(this.toolTip, 'opacity', 
                         {duration: 300, wait: false}).set(0);
      },
      onShow: function(toolTip) {
         this.fx.start(0,1);
      },
      onHide: function(toolTip) {
         this.fx.start(.9,0);
      }
   });
});
