/************************************************/
/* Fonction pour affichage des lights box */
/** ********************************************* */

$( function() {

	// * Les {.bt_lb_} sont à jour, les autres restent à traiter *
	tab = [ '.bt_lb_identification', '.bt_lb_oubli_mdp',
			'.bt_lb_contacter_fabricant',
			'.bt_lb_faire_suivre',
			'.bt_lb_classeur_renommer', '.bt_lb_classeur_partager', '.bt_lb_classeur_supprimer', '.bt_lb_demande_doc_supprimer',
			'.bt_lb_icone_photo', '.bt_lb_icone_video', '.bt_lb_icone_cao', 
			'.bt_demande_doc', '.lien_recommander', '.lien_memoriser' ];

	for (i = 0; i < tab.length; i++) {
		$(tab[i]).lightBox( {
			fixedNavigation :false,
			overlayOpacity :0.7,
			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'
		});
	}
});
