AfficherInfoBulle = function(e)
{
  var position = jQuery(this).position();
  var text = jQuery(this).next('.infoBulle');
  if (text.attr('class') != 'infoBulle')
	return false;

  text.fadeIn()
	.css('top', position.top-1)
	.css('left', position.left-212);;


  return false;
}
CacherInfoBulle = function(e)
{
  var text = jQuery(this).next('.infoBulle');
  if (text.attr('class') != 'infoBulle')
	return false;

  text.fadeOut();
}

InstallationInfoBulle = function()
{
  jQuery('img.infos')
	.each(function(){
	  jQuery(this)
		.after('<div class="infoBulle"><p class="infoBulle_contenu">'+jQuery(this).attr('title')+'</p><div class="infoBulle_footer"></div></div>')
		.attr('title', '');
	})
	.hover(AfficherInfoBulle, CacherInfoBulle);
}




AfficherInfoBulle2 = function(e)
{
  var position = jQuery(this).position();
  var text = jQuery(this).next('.infoBulleR');
  if (text.attr('class') != 'infoBulleR')
	return false;

  text.fadeIn()
	.css('top', position.top-1)
	.css('left', position.left+25);;


  return false;
}
CacherInfoBulle2 = function(e)
{
  var text = jQuery(this).next('.infoBulleR');
  if (text.attr('class') != 'infoBulleR')
	return false;

  text.fadeOut();
}

InstallationInfoBulle2 = function()
{
  jQuery('img.infos')
	.each(function(){
	  jQuery(this)
		.after('<div class="infoBulleR"><p class="infoBulleR_contenu">'+jQuery(this).attr('title')+'</p><div class="infoBulleR_footer"></div></div>')
		.attr('title', '');
	})
	.hover(AfficherInfoBulle2, CacherInfoBulle2);
}
