hs.graphicsDir = '/images/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.fadeInOut = true;
hs.dimmingOpacity = 0.8;
hs.outlineType = 'rounded-white';
hs.captionEval = 'this.a.alt'; //this.thumb.alt, this.thumb.title, this.a.title //Given the captionEval option is set to 'this.img.alt', the caption is grabbed from the alt attribute of the thumbnail image.
hs.marginBottom = 105; // make room for the thumbstrip and the controls
//hs.numberPosition = 'caption';
hs.blockRightClick = true;
hs.showCredits = false;


hs.lang = {
		cssDirection: 'ltr',
		loadingText : 'Зарежда се...',
		loadingTitle : 'Кликнете за да се откажете',
		focusTitle : 'Кликнете за да прегледате',
		fullExpandTitle : 'Покажи в актуална големина (клавиш F)',
		previousText : 'Предишна',
		previousTitle : 'Предишна (стрелка наляво)',
		nextText : 'Следваща', 
		nextTitle : 'Следваща (стрелка надясно)',
		moveText : 'Премести',
		moveTitle : 'Премести',
		closeText : 'Затвори', 
		closeTitle : 'Затвори (клавиш ESC)', 
		resizeTitle : 'Оразмери',
		playText : 'Слайдшоу',
		playTitle : 'Стартирай слайдшоу (клавиш Spacebar)',
		pauseText : 'Пауза',
		pauseTitle : 'Пауза на слайдшоу (клавиш Spacebar)',
		fullExpandText : '1:1',
		number: 'Снимка %1 от %2',
		restoreTitle : 'Кликнете за да затворите картинката, кликнете и местете мишката за да преместите. Използвайте стрелките за предишен и следващ.'
	};


// Add the slideshow controller
hs.addSlideshow({
	slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	thumbstrip: {
		mode: 'horizontal',
		position: 'bottom center',
		relativeTo: 'viewport'
	},
	overlayOptions: {
		className: 'text-controls',
		position: 'bottom center',
		relativeTo: 'viewport',
		offsetY: -60
	}


});

// gallery config object
var config1 = {
	slideshowGroup: 'group1',
	transitions: ['expand', 'crossfade']
};
