/*------------------------------------------------------------------------------

	BABYLONE GALLERY

------------------------------------------------------------------------------*/
//on met en opacité 0 les grandes images (opacité 0-> 1) 
function opacitemaxiimages(id){
	$nomptte="maxi"+id;
	//Pour IE 6 et 7
	document.getElementById($nomptte).style.filter = "alpha(opacity=50)";
	// Pour mozilla firefox
	document.getElementById($nomptte).style.opacity=0.5;
};
function netmaxiimages(id){
	$nompte="maxi"+id;
	//Pour IE 6 et 7
	document.getElementById($nompte).style.filter = "alpha(opacity=100)";
	// Pour mozilla firefox
	document.getElementById($nompte).style.opacity=1;
};
/*------------------------------------------------------------------------------

	BABYLONE GALLERY LIGHTBOX PLUGIN
	uses jquery.lightbox plugin

--------------------------------------------------------------------------------
jQuery lightBox plugin has some configurations that you can define when call it.
With that configurations you can customize your jQuery lightBox plugin.

The configurations available are:
    * overlayBgColor - Used to define the overlay background color. #000 (black) is default.
    * overlayOpacity - Used to define the overlay opacity. 0.8 is default.
    * imageLoading - The loading gif animator. images/lightbox-ico-loading.gif is default.
    * imageBtnClose - The close image button. images/lightbox-btn-close.gif is default.

Configurations added in 0.3 version:
    * imageBtnPrev - The previous image button. images/lightbox-btn-prev.gif is default.
    * imageBtnNext - The next image button. images/lightbox-btn-next.gif is default.
    * containerBorderSize - The padding CSS information used in the container image box. 10 is default.
    * containerResizeSpeed - The duration of resize effect in the container image box. 400 is default.
    * txtImage - Text "Image" used in the image caption.
    * txtOf - Text "of" used in the image caption.

Configurations added in 0.4 version:
    * imageBlank - The image blank for trick Internet Explorer into showing hover. images/lightbox-blank.gif is default.
    * keyToClose - The key to close the lightBox. Letter c (close) is default.
    * keyToPrev - The key to show the previous image. Letter p (previous) is default.
    * keyToNext - The key to show the next image. Letter n (next) is default.
*/
$(function() {
	$('.bab-gallery a.lightbox').lightBox({
		imageBlank:		'/img/px.gif',
		imageLoading:	'/js/ajax-load.gif',
		imageBtnClose:	'/js/jquery/lightbox/fr/close-666.gif',
		imageBtnPrev:	'/js/jquery/lightbox/fr/prev-666.gif',
		imageBtnNext:	'/js/jquery/lightbox/fr/next-666.gif',
		txtImage: 'Photo',
		txtOf: 'de'
	});
});