/*var index_photo=1;

$(document).ready(function() {
$(".bouton_realisations_suivantes").click(
      function () {
		  montrerRealisationsSuivantes();
		  return false;
      }
    );
$(".bouton_realisations_precedentes").click(
      function () {
		  montrerRealisationsPrecedentes();
		  return false;
      }
    );
});

function montrerRealisationsSuivantes(){
$(".photos li").css("display","none");
var dernier=$(".photos li").index($('.photos li:last'));
for (i=1; i<5; i++) {
index_photo=index_photo+1;
if (index_photo>dernier) {
index_photo=index_photo-1;
}
alert(index_photo);
$(".photos li").eq(index_photo).css("display","block");
}
}

function montrerRealisationsPrecedentes(){
$(".photos li").css("display","none");
var premier=$(".photos li").index($('.photos li:first'));
for (i=1; i<5; i++) {
index_photo=index_photo-1;
if (index_photo<premier) {
index_photo=index_photo+1;
}
alert(index_photo);
$(".photos li").eq(index_photo).css("display","block");
}
}*/

$(document).ready(function() {
jQuery('ul.photos').jcarousel({visible:4,scroll:1,auto: 3,wrap: 'last'});
});
