/*
 * SCRIPT: tips.js
 * SCRIPT LICENSE: Dual licensed under the MIT and GPL licenses
 * SCRIPT COPYRIGHT: @copyright
 * SCRIPT CREDITS: script based on mootools Tips (http://demos.mootools.net/Tips)
 */

window.addEvent('domready', function(){
	var tips = new Tips($$('.tips'), {
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
		},
		onShow: function(toolTip) {
			this.fx.start(1);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});
});