/************************************************/
/* Fonction pour affichage des lights box */
/************************************************/

$( function () {

for (i=0;i<10;i++) {
	
  $('.popup'+[i]).lightBox({ 
			fixedNavigation: false,
			overlayOpacity: 1.0,
			caption: 'rel',
			imageLoading: '/materiaux_construction/images/lightbox-image-loader.gif',
			imageBtnClose: '/materiaux_construction/images/bg.btn.fermer.gif',
			navigation: false,
			imagePos: false,
			nonImageContent: true,
			// definir le skin à appliquer : le id par defaut du lightbox est "#jquery-lightbox".Donc, pour ce lightbox, on lui assignera un id "#jquery-lightbox-custom"
			// si on utilise le skin par defaut, alors il n'est pas necessaire de specifier ce parametre
			skin: '-custom' 
			               
		});
 }
});