window.addEvent(
	'domready',
	function()
	{
		var text = '';
		var TipsNoRel = new Tips($$('.Tips2'), {
			title: function(el)
			{
				var tX = el.title.split('|');
				text = tX[1]; //suppose que le title contient bien un |
				return tX[0];
			},
			text: function(el)
			{
				return text;
			},
			showDelay: 400,
			hideDelay: 0,
			className: 'custom'
		});
				
		/* Tips 1 */
		var Tips1 = new Tips($$('.Tips1'), {
			showDelay: 400,
			hideDelay: 0,
			maxTitleChars: 50,
			className: 'custom'
		});	
	}
);

function switchData(el)
{
	var parent = el.parentNode;
	
	if (parent.className.indexOf('hide_data') > -1)
	{
		parent.className = 'track';
	}
	else
	{
		parent.className = 'track hide_data';
	}
}