window.addEvent('domready', function() {

	var tipMe = new Tips($$('.sub_calendar tbody a'), {
		showDelay: 300,
		
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
		},
		onShow: function(toolTip) {
			
			this.fx.start(.8);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});

	 var tipMe2 = new Tips($$('#nav li a.maori_trans'), {
       showDelay: 300,
       offsets: {'x': 0, 'y': -20},
       className: "tip_container",
	   fixed: true,
   
       initialize:function(){
           this.fx2 = new Fx.Style(this.toolTip, 'opacity', {
                                  duration: 500, wait: false
                                  }, this.timer = null).set(0);
       },
      onShow: function(toolTip) {
 this.fx2.start( 1 );
 $clear(this.timer);
 var that = this;
 var me = function(){ that.fx2.start(0);}
 this.timer = me.delay(2500);
},
       onHide: function(toolTip) {
           $clear(this.timer);
var that = this;
var me = function(){ that.fx2.start(0);}
this.timer = me.delay(2500)
       }
   });
});