/**
 * @version $Id: avertissement.js,v 1.3 2008-09-16 18:03:58 cg Exp $
 * @package gaumont-pathe
 * @copyright Copyright (C) 2007-2008 BROCELIA. All rights reserved.
 */

/*
var mestips;
window.addEvent('domready', function () {
	var l = $$('.bulle_avertissement');
	if(l.length==0) return;
	mestips = new Tips(l,
	{
		initialize:function()
		{
			this.fx = new Fx.Tween(this.toolTip, 'opacity', {duration: 200, wait: false}).set(0);
		},
		
		onShow: function(toolTip) 
		{
			this.fx.start(1);
		},
		
		onHide: function(toolTip) 
		{
			this.fx.start(0);
		}
	});
});
*/

window.addEvent('domready', function () {
	$$('.bulle_avertissement').each(function(e, i) {
		var content = e.get('title').split('::');  
		e.store('tip:title', content[0]);  
		e.store('tip:text', content[1]);  
	});
	var myTips = new Tips('.bulle_avertissement', {
		  className: 'bulle_avertissement'
		, fixed: true
		, hideDelay: 50
		, showDelay: 50
	});
});
