hs.graphicsDir = "assets/libs/highslide/graphics/";
hs.showCredits = false;
hs.outlineType = "rounded-white";
hs.allowSizeReduction = false;
hs.outlineWhileAnimating = true;
hs.captionEval = "this.a.title";
hs.align = "center";
// russian language
hs.lang = {
   loadingText :     'Currently loading the next picture...',
   loadingTitle :    'Please wait, loading the gallery.',
   focusTitle :      'Focus title',
   fullExpandTitle : 'Full title expanded',
   fullExpandText :  'Full title text',
   creditsText :     'Credits',
   creditsTitle :    'Gallery by JGrant and Highslide JS',
   previousText :    'Previous Picture',
   previousTitle :   'Click to go back a picture.',
   nextText :        'Next Picture',
   nextTitle :       'Click to go onto the next picture.',
   moveTitle :       'Click to move the picture frame',
   moveText :        'Click to move the picture frame',
   closeText :       'X',
   closeTitle :      'Click to close the gallery or press ESC',
   resizeTitle :     'Click to resize the photo',
   playText :        'Play Slideshow',
   playTitle :       'Click to start playing the slideshow',
   pauseText :       'Pause Slideshow',
   pauseTitle :      'Click to pause the slideshow, pressing the play button will resume.',   
   number :          'Showing Picture %1 of %2',
   restoreTitle :    'Click to close the picture'
};
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
	slideshowGroup: 'mygroup',
	interval: 3000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		opacity: .6,
		position: 'bottom center',
		hideOnMouseOut: true
	}
});

