if (pageLanguage == 'en'){
	helpStrings = {
		help: ' \u2190 / P - Previous photo\u00a0\u00a0\u00a0\u00a0\u2192 / N - Next photo\u00a0\u00a0\u00a0\u00a0ESC / X - Close window',
		prevLinkTitle: 'Previous photo',
		nextLinkTitle: 'Next photo',
		prevLinkText:  '&laquo; Previous',
		nextLinkText:  'Next &raquo;',
		closeTitle: 'close window',
		image: 'Image ',
		of: ' of '
	}
} else {
	helpStrings = {
		help: ' \u2190 / P - Photo pr&eacite;c&eacute;dente\u00a0\u00a0\u00a0\u00a0\u2192 / N - Photo suivante\u00a0\u00a0\u00a0\u00a0ESC / X - Fermer la fen&ecirc;tre',
		prevLinkTitle: 'Photo pr&eacute;c&eacute;dente',
		nextLinkTitle: 'Photo suivante',
		prevLinkText:  '&laquo;&nbsp;Pr&eacute;c.',
		nextLinkText:  'Suiv.&nbsp;&raquo;',
		closeTitle: 'Fermer la fen&ecirc;tre',
		image: '',
		of: '&nbsp;de&nbsp;'
	}
}

/*
$.fn.lightbox.defaults = {
	fileLoadingImage : themePath + '/images/lightbox-ico-loading.gif',
	fileBottomNavCloseImage : themePath + '/images/blank.gif',
	overlayOpacity : 0.6,
	borderSize : 12,
	imageArray : new Array,
	activeImage : null,
	inprogress : false,
	resizeSpeed : 250,
	widthCurrent: 250,
	heightCurrent: 250,
	xScale : 1,
	yScale : 1,
	displayTitle: true,
	navbarOnTop: true,
	slideNavBar: true, // slide nav bar up/down between image resizing transitions
	navBarSlideSpeed: 250,
	displayHelp: false,
	strings : helpStrings,
	fitToScreen: false		// resize images if they are bigger than window
};		
*/

$(document).ready(function(){
	$(".lightbox").lightbox({
		fitToScreen: true,
		navbarOnTop: true,
		disableNavbarLinks: false,
		displayTitle: true,
		slideNavBar: true,
		loopImages: true,
		strings: helpStrings
	});
});

