/**
*	Site-specific configuration settings for Highslide JS
*/

// Ne pas supprimer la ligne suivante
// 895daec5a6b313a093b53f23eb2b4315

hs.marginLeft = 15;
hs.marginRight = 15;
hs.marginTop = 15;
hs.marginBottom = 15;
hs.zIndexCounter = 1001; // adjust to other absolutely positioned elements
hs.loadingOpacity = 0.75;
hs.outlineStartOffset = 3; // ends at 10
hs.padToMinWidth = false; // pad the popup width to make room for wide caption
hs.fullExpandPosition = 'bottom right';
hs.fullExpandOpacity = 1;
hs.enableKeyListener = true;
hs.openerTagNames = ['a', 'area']; // Add more to allow slideshow indexing
hs.transitions = [];
hs.transitionDuration = 250;
hs.allowWidthReduction = false;
hs.allowHeightReduction = true;
hs.preserveContent = true; // Preserve changes made to the content and position of HTML popups.
hs.objectLoadTime = 'before'; // Load iframes 'before' or 'after' expansion.
hs.cacheAjax = true; // Cache ajax popups for instant display. Can be overridden for each popup.
hs.anchor = 'auto'; // where the image expands from
hs.align = 'auto'; // position in the client (overrides anchor)
hs.targetX = null; // the id of a target element
hs.targetY = null;
hs.dragByHeading = true;
hs.minWidth = 200;
hs.minHeight = 200;
hs.skin = {
	controls:
		'<div class="highslide-controls"><ul>'+
			'<li class="highslide-previous">'+
				'<a href="#" title="{hs.lang.previousTitle}">'+
				'<span>{hs.lang.previousText}</span></a>'+
			'</li>'+
			'<li class="highslide-play">'+
				'<a href="#" title="{hs.lang.playTitle}">'+
				'<span>{hs.lang.playText}</span></a>'+
			'</li>'+
			'<li class="highslide-pause">'+
				'<a href="#" title="{hs.lang.pauseTitle}">'+
				'<span>{hs.lang.pauseText}</span></a>'+
			'</li>'+
			'<li class="highslide-next">'+
				'<a href="#" title="{hs.lang.nextTitle}">'+
				'<span>{hs.lang.nextText}</span></a>'+
			'</li>'+
			'<li class="highslide-move">'+
				'<a href="#" title="{hs.lang.moveTitle}">'+
				'<span>{hs.lang.moveText}</span></a>'+
			'</li>'+
			'<li class="highslide-full-expand">'+
				'<a href="#" title="{hs.lang.fullExpandTitle}">'+
				'<span>{hs.lang.fullExpandText}</span></a>'+
			'</li>'+
			'<li class="highslide-close">'+
				'<a href="#" title="{hs.lang.closeTitle}" >'+
				'<span>{hs.lang.closeText}</span></a>'+
			'</li>'+
		'</ul></div>'
	,
	contentWrapper:
		'<div class="highslide-header"><ul>'+
			'<li class="highslide-previous">'+
				'<a href="#" title="{hs.lang.previousTitle}" onclick="return hs.previous(this)">'+
				'<span>{hs.lang.previousText}</span></a>'+
			'</li>'+
			'<li class="highslide-next">'+
				'<a href="#" title="{hs.lang.nextTitle}" onclick="return hs.next(this)">'+
				'<span>{hs.lang.nextText}</span></a>'+
			'</li>'+
			'<li class="highslide-move">'+
				'<a href="#" title="{hs.lang.moveTitle}" onclick="return false">'+
				'<span>{hs.lang.moveText}</span></a>'+
			'</li>'+
			'<li class="highslide-close">'+
				'<a href="#" title="{hs.lang.closeTitle}" onclick="return hs.close(this)">'+
				'<span>{hs.lang.closeText}</span></a>'+
			'</li>'+
		'</ul></div>'+
		'<div class="highslide-body"></div>'+
		'<div class="highslide-footer"><div>'+
			'<span class="highslide-resize" title="{hs.lang.resizeTitle}"><span></span></span>'+
		'</div></div>'
};
hs.graphicsDir = '/114121/scr/hs/graphics/';
hs.showCredits = false;
hs.fadeInOut = false;
hs.expandDuration = 0;
hs.restoreDuration = 0;
hs.outlineWhileAnimating = 0;
hs.creditsPosition = 'bottom left';
hs.outlineType = 'custom';
hs.align = 'center';
hs.allowMultipleInstances = false;
hs.numberOfImagesToPreload = 6;
hs.allowSizeReduction = false;
hs.dimmingOpacity = 0.25; // Lightbox style dimming background
hs.dimmingDuration = 0; // 0 for instant dimming
hs.registerOverlay({
	//html: '<div class="closebutton" onclick="return hs.close(this)" title="Fermer"></div>',
	position: 'top right',
	useOnHtml: true,
	fade: 0 // fading the semi-transparent overlay looks bad in IE
});

// French language strings
hs.lang = {
	cssDirection: 'ltr',
	loadingText: 'Chargement',
	loadingTitle: 'Cliquer pour annuler',
	focusTitle: 'Cliquer pour amener au premier plan',
	fullExpandTitle: 'Afficher à la taille réelle',
	creditsText: '',
	creditsTitle: '',
	previousText: 'Précédente',
	nextText: 'Suivante',
	moveText: 'Déplacer',
	closeText: 'Fermer',
	closeTitle: 'Fermer (esc ou Échappement)',
	resizeTitle: 'Redimensionner',
	playText: 'Lancer',
	playTitle: 'Lancer le diaporama (barre d\'espace)',
	pauseText: 'Pause',
	pauseTitle: 'Suspendre le diaporama (barre d\'espace)',
	previousTitle: 'Précédente (flèche gauche)',
	nextTitle: 'Suivante (flèche droite)',
	moveTitle: 'Déplacer',
	fullExpandText: 'Taille réelle',
	number: 'Image %1 of %2',
	restoreTitle: 'Cliquer pour fermer l\'image, cliquer et faire glisser pour déplacer, utiliser les touches flèches droite et gauche pour suivant et précédent.'
};

hs.onActivate = function()
{
   var theForm = document.forms[0];
   if (theForm) theForm.appendChild(hs.container);
}

// Désactive les raccourcis clavier.
hs.enableKeyListener = false;

hs.Expander.prototype.onBeforeExpand = function (sender)
{
}
    
hs.onDimmerClick = function()
{
	return false;
}
