hs.graphicsDir = 'http://almostontop.ch/wp-content/plugins/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.fadeInOut = true;
hs.dimmingOpacity = 0.8;
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'dark';
hs.fadeInOut = true;
hs.marginBottom = 15;
hs.numberPosition = 'caption';
hs.registerOverlay({
	html: '<div class="closebutton" onclick="return hs.close(this)" title="Schliessen"></div>',
	position: 'top right',
	useOnHtml: true,
	fade: 2 // fading the semi-transparent overlay looks bad in IE
});


// This line will put the title of the pictures (from nextgen) into the caption field in highslide.
hs.captionEval = 'this.a.title';

// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
	opacity: 1,
	position: 'bottom center',
	hideOnMouseOut: true
}
});