$(document).ready(function() {
	$('.bloc1, .bloc2').hover(
		function() {$('.bloc1:not(this), .bloc2:not(this)').stop(true, true).fadeTo(0, 1); $(this).fadeTo(200, 0.5);},
		function() {$(this).fadeTo(200, 1);}
	);
	$('.bloc1, .bloc2').bind(
		'click',
		function() {window.location.href = $(this).find('a.linkus').attr('href');}
	);
	$('.lien_diaporama a').hover(
		function() {$('.lien_diaporama a:not(this)').stop(true, true).fadeTo(0, 1); $(this).fadeTo(200, 0.5);},
		function() {$(this).fadeTo(200, 1);}
	)
	$('DIV.lien_diaporama a[rel=gallery]:has(IMG)').fancybox({title : 'Diaporama', cyclic : true});
	$('DIV:not(.lien_diaporama) a[rel=lightbox]:has(IMG)').fancybox({title : ''});
});
