	
// Language strings
hs.lang = {
	cssDirection: 'ltr',
	loadingText : 'Загрузка...',
	loadingTitle : 'Кликните для отмены',
	focusTitle : 'Click to bring to front',
	fullExpandTitle : 'Исходный размер (f)',
	creditsText : 'Powered by <i>Highslide JS</i>',
	creditsTitle : 'Go to the Highslide JS homepage',
	previousText : 'Пред.',
	nextText : 'След.', 
	moveText : 'Перемещать',
	closeText : 'Закрыть', 
	closeTitle : 'Закрыть (esc)', 
	resizeTitle : 'Изменить размер',
	playText : 'Слайд-шоу',
	playTitle : 'Слайд-шоу (клавиша - пробел)',
	pauseText : 'Пауза',
	pauseTitle : 'Пауза (клавиша - пробел)',
	previousTitle : 'Пред. (Стрелка влево)',
	nextTitle : 'След. (Стрелка вправо)',
	moveTitle : 'Перемещение',
	fullExpandText : '1:1',
	number: 'Изображение %1 of %2',
	restoreTitle : 'Кликните, чтобы закрыть. Нажмите левую клавишу, чтобы перетаскивать. Используйте стрелки для навигации.'
};
	
	hs.graphicsDir = '/images/highslide_graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.9;
	hs.wrapperClassName = 'borderless floating-caption';
	hs.captionEval = 'this.thumb.alt';
	hs.marginLeft = 100; // make room for the thumbstrip
	hs.marginBottom = 80 // make room for the controls and the floating caption
	hs.numberPosition = 'caption';
	hs.lang.number = '%1/%2';
	hs.showCredits = false; // you can set this to false if you want
	hs.creditsHref = 'http://highslide.com/';
	hs.allowMultipleInstances = true;

	// Add the slideshow providing the controlbar and the thumbstrip
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 3000,
		repeat: false,
		useControls: true,
		overlayOptions: {
			className: 'text-controls',
			position: 'bottom center',
			relativeTo: 'viewport',
			offsetX: 50,
			offsetY: -5

		},
		thumbstrip: {
			position: 'middle left',
			mode: 'vertical',
			relativeTo: 'viewport'
		}
	});

	// Add the simple close button
	hs.registerOverlay({
		html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
		position: 'top right',
		fade: 2 // fading the semi-transparent overlay looks bad in IE
	});