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

			//store titles and text
			$$('a.tip').each(function(element,index) {
				var content = element.get('title').split('::');
				var contenthref = element.get('href');
				element.store('tip:title', '<a href="' + contenthref + '" class="hidden">' + content[0] + '</a>');
				element.store('tip:text', '');
			});
			
			//create the tooltips
			var tipz = new Tips('.tip',{
				className: 'tipz',
				fixed: true,
				hideDelay: 500,
				showDelay: 500,
   				offsets: {
                     			'x': 10,
                     			'y': 10
        			},
				fixed: true,
        			onShow: function(tip){
			       	   tip.fade(1);
			          tip.setStyle('z-index', '13000');
			    	},
			    	onHide: function(tip){
			      	  tip.fade(0);
			    	}
			});




/*
var Tips3 = new Tips($$('.tip'), {
	showDelay: 400,
	hideDelay: 400,
   	offsets		: {
                     'x': 10,
                     'y': 10
        },
	fixed: true,
        onShow		: function(tip){
          tip.fade(1);
          tip.setStyle('z-index', '13000');
    	},
    	onHide: function(tip){
      	  tip.fade(0);
    	}
});

*/

/*
  var myTips = new Tips($$('area'), {
    timeOut		: 700,
    maxTitleChars	: 50,
    showDelay		: 0,
    hideDelay		: 0,
    offsets		: {
                     'x': 10,
                     'y': 10
    },
    fixed		: false, 
    onShow		: function(tip){
      tip.fade(1);
      tip.setStyle('z-index', '13000');
    },
    onHide: function(tip){
      tip.fade(0);
    }
  });


  var myTips = new Tips($$('img.change'), {
    timeOut		: 700,
    maxTitleChars	: 50,
    showDelay		: 0,
    hideDelay		: 0,
    offsets		: {
                     'x': 10,
                     'y': 10
    },
    fixed		: false, 
    onShow		: function(tip){
      tip.fade(1);
      tip.setStyle('z-index', '13000');
    },
    onHide: function(tip){
      tip.fade(0);
    }
  });
*/


});
