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


//Getting default div
hs.Expander.prototype.onInit = function() {
   if (this.objectType == 'ajax' && this.custom && this.custom.ajaxDiv) {
      this.a.href += '#'+ this.custom.ajaxDiv;
   }
}

hs.cacheAjax = false;
 
hs.graphicsDir = 'fileadmin/script/highslide/graphics/';

hs.creditsPosition = 'bottom left';

hs.outlineType = 'custom';

hs.dimmingOpacity = 0.5;

hs.captionEval = 'this.a.title';

hs.align = 'center';

hs.transitions = ['expand', 'crossfade'];

hs.outlineType = 'glossy-dark';

hs.wrapperClassName = 'dark';

hs.fadeInOut = true;
hs.showCredits = false;

  if (hs.addSlideshow) hs.addSlideshow({
	interval: 5000,
	repeat: false,
	useControls: false,
	fixedControls: 'fit',
	overlayOptions: {
		opacity: .6,
		position: 'top center',
		hideOnMouseOut: true
	}
  });

// Spanish language strings

hs.lang = {

	cssDirection: 'ltr',

	loadingText: 'Cargando...',

	loadingTitle: 'Click para cancelar',

	focusTitle: 'Click para traer al frente',

	fullExpandTitle: 'Expandir al tamaño actual',

	creditsText: 'Potenciado por <i>Highslide JS</i>',

	creditsTitle: 'Ir al home de Highslide JS',

	previousText: 'Anterior',

	nextText: 'Siguiente',

	moveText: 'Mover',

	closeText: 'Cerrar',

	closeTitle: 'Cerrar (esc)',

	resizeTitle: 'Redimensionar',

	playText: 'Iniciar',

	playTitle: 'Iniciar slideshow (barra espacio)',

	pauseText: 'Pausar',

	pauseTitle: 'Pausar slideshow (barra espacio)',

	previousTitle: 'Anterior (flecha izquierda)',

	nextTitle: 'Siguiente (flecha derecha)',

	moveTitle: 'Mover',

	fullExpandText: 'Tamaño real',

	number: 'Image %1 of %2',

	restoreTitle: 'Pulse para cerrar la imagen, click y arrastrar para mover. Usa las flechas del teclado para avanzar o retroceder.'

};



