	hs.graphicsDir = '/js/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = true;
	hs.outlineType = 'glossy-dark';
	hs.wrapperClassName = 'dark';
	hs.captionEval = 'this.a.title';
	hs.numberPosition = 'caption';
	hs.useBox = true;
	hs.width = 600;
	hs.height = 400;
	//hs.dimmingOpacity = 0.8;
	
	// Lang settings
	hs.lang = {
		cssDirection: 'ltr',
		loadingText : 'Loading...',
		loadingTitle : 'Click to cancel',
		focusTitle : 'Click to bring to front',
		fullExpandTitle : 'Expand to actual size (f)',
		creditsText : ' ',
		creditsTitle : 'Go to the Highslide JS homepage',
		previousText : 'Previous',
		nextText : 'Next', 
		moveText : 'Move',
		closeText : 'Close', 
		closeTitle : 'Close (esc)', 
		resizeTitle : 'Resize',
		playText : 'Play',
		playTitle : 'Play slideshow (spacebar)',
		pauseText : 'Pause',
		pauseTitle : 'Pause slideshow (spacebar)',
		previousTitle : 'Previous (arrow left)',
		nextTitle : 'Next (arrow right)',
		moveTitle : 'Move',
		fullExpandText : '1:1',
		number: 'Изображение %1 из %2',
		restoreTitle : 'Click to close image, click and drag to move. Use arrow keys for next and previous.'
	}	
	

	// Add the slideshow providing the controlbar and the thumbstrip
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			position: 'bottom center',
			opacity: .75,
			hideOnMouseOut: true
		},
		thumbstrip: {
			position: 'above',
			mode: 'horizontal',
			relativeTo: 'expander'
		}
	});
	
	hs.Expander.prototype.onBeforeClose = function (sender) {
		return document.getElementById('SoulSpa_flash').style.visibility = 'visible';
	}	

	var miniGalleryOptions1 = {
		//slideshowGroup: 'group1',
		outlineType: null,
		allowSizeReduction: false,
		wrapperClassName: 'dark',
		useBox: true,
		width: 600,
		height: 400,
		targetX: 'gallery-area 10px',
		targetY: 'gallery-area',
		captionEval: 'this.thumb.alt',
		numberPosition: 'caption'
	}

	function showGallery(group){
		document.getElementById('SoulSpa_flash').style.visibility = 'hidden';
		document.getElementById('thumb'+group).onclick();
	}
