
hs.addEventListener(window, 'load', function() {
		hs.createElement('div', {
		id: 'closebutton',
		className: 'highslide-overlay closebutton',
		title: hs.lang.closeTitle || 'zurück zur Auswahl (oder ESC)',
		onclick: function() {
			return hs.close(this);
		}
	}, null, hs.container)
	//});
	//hs.registerOverlay({
	//overlayId: 'closebutton',
	//position: 'top left',
	//fade: 2 // fading the semi-transparent overlay looks bad in IE
	});


	hs.graphicsDir = 'highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.wrapperClassName = 'dark borderless floating-caption';
	hs.fadeInOut = false;
	hs.dimmingOpacity = 0.75;

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

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

