/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = 'http://www.whyy.se/wp-content/themes/black/highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'custom';
hs.fadeInOut = true;
hs.expandDuration = 175;
hs.restoreDuration = 225;
hs.transitionDuration = 150;
hs.allowMultipleInstances = false;
hs.align = 'auto';
hs.captionEval = 'this.a.title';
hs.registerOverlay({
	html: '<div class="closebutton" onclick="return hs.close(this)" title="St&auml;ng (esc)"></div>',
	position: 'top right',
	useOnHtml: true,
	fade: 2 // fading the semi-transparent overlay looks bad in IE
});

hs.lang = {
   cssDirection:     'ltr',
   loadingText :     'Laddar...',
   loadingTitle :    'Klicka för att avbryta laddningen',
   focusTitle :      '',
   fullExpandTitle : '',
   fullExpandText :  '',
   creditsText :     '',
   creditsTitle :    '',
   previousText :    'F&ouml;reg&aring;ende',
   previousTitle :   'F&ouml;reg&aring;ende (&larr;)',
   nextText :        'N&auml;sta',
   nextTitle :       'N&auml;sta (&rarr;)',
   moveTitle :       'Flytta',
   moveText :        'Flytta',
   closeText :       'St&auml;ng',
   closeTitle :      'St&auml;ng (esc)',
   resizeTitle :     'Ändra storlek',
   playText :        '',
   playTitle :       '',
   pauseText :       '',
   pauseTitle :      '',
   number :          'Bild %1 av %2',
   restoreTitle :    ''
};

// Add the slideshow controller
hs.addSlideshow({
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'large-dark',
		opacity: '0.75',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-15',
		hideOnMouseOut: true
	}
});

// gallery config object

function getSlideConfig(slideshowId)
{
	var config =
	{
		slideshowGroup: slideshowId,
		transitions: ['expand', 'crossfade']
	};
		
	return config;
}
