$(document).ready(function() {
/* Apply fancybox to multiple items */
	$("a[rel=bioderma_groupe], a[rel=bleuvert_groupe], a[rel=bot_groupe], a[rel=ateliers_groupe], a[rel=divers_groupe], a[rel=hexago_groupe], a[rel=teckairport_groupe], a[rel=uess_groupe], a[rel=vins_groupe], a[rel=zeste_groupe], a[rel=ateliersDeco_groupe], a[rel=divers_groupe]").fancybox({
		'transitionIn'		: 'elastic',
		'transitionOut'		: 'elastic',
		'titlePosition' 	: 'outside',
		'overlayColor'		: '#ec6707',
		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
		return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});
});

$(document).ready(function() {
	$('.detailProjets').hide();
	$('#infosBioderma').click(function() {
		$('#bioderma').fadeIn('elastic');
		return false;
	});
	$('#infosBleuvert').click(function() {
		$('#bleuvert').fadeIn('elastic');
		return false;
	});
	$('#infosBot').click(function() {
		$('#bot').fadeIn('elastic');
		return false;
	});
	$('#infosHexago').click(function() {
		$('#hexago').fadeIn('elastic');
		return false;
	});
	$('#infosTeckairport').click(function() {
		$('#teckairport').fadeIn('elastic');
		return false;
	});
	$('#infosUess').click(function() {
		$('#uess').fadeIn('elastic');
		return false;
	});
	$('#infosVins').click(function() {
		$('#vins').fadeIn('elastic');
		return false;
	});
	$('#infosZeste').click(function() {
		$('#zeste').fadeIn('elastic');
		return false;
	});
	$('#infosAteliersDeco').click(function() {
		$('#ateliersCarrementDeco').fadeIn('elastic');
		return false;
	});
	$('#infosDivers').click(function() {
		$('#divers').fadeIn('elastic');
		return false;
	});
	$('.fermer').click(function() {
		$('.detailProjets').fadeOut('elastic');
		return false;
	});
	$('.detailProjets').click(function() {
		$(this).fadeOut('elastic');
	});
});




