hs.showCredits = false;
        hs.graphicsDir = 'templates/nemesis/images/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.8;
	hs.outlineType = 'rounded-white';
	hs.captionEval = 'this.thumb.alt';
	hs.marginBottom = 105 // make room for the thumbstrip and the controls
	hs.numberPosition = 'caption';
        
        hs.lang = {
	    loadingText     : 'ЗАГРУЗКА...',
	    fullExpandTitle : 'Развернуть до полного размера',
	    restoreTitle    : 'Кликните для закрытия картинки, нажмите и удерживайте для перемещения',
	    focusTitle      : 'Сфокусировать',
	    loadingTitle    : 'Нажмите для отмены',
            number          : 'Картинка %1 из %2',
            previousText    : 'Предыдущая',
	    nextText        : 'Следующая', 
	    previousTitle   : 'Предыдущая ( стрелка влево <- )',
	    nextTitle       : 'Следующая ( стрелка вправо -> )',
            moveText        : 'Двигать',
	    closeText       : 'Закрыть', 
	    closeTitle      : 'Закрыть ( esc )', 
	    resizeTitle     : 'Изменить размер',
	    playText        : 'Проиграть',
	    playTitle       : 'Демонстрация слайдов ( spacebar )',
	    pauseText       : 'Пауза'
	};
	
        // Add the slideshow providing the controlbar and the thumbstrip
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		overlayOptions: {
			className: 'text-controls',
			position: 'bottom center',
			relativeTo: 'viewport',
			offsetY: -60

		},
		thumbstrip: {
			position: 'bottom center',
			mode: 'horizontal',
			relativeTo: 'viewport'
		}
	});
