﻿hs.showCredits = 0;
hs.padToMinWidth = true;
hs.graphicsDir = '/standards/nsks/bilder/highslide/';
hs.cssDirection = 'ltr';
hs.loadingText  = 'Lade...';
hs.loadingTitle  = 'Klick zum Abbrechen';
hs.focusTitle  = 'Element in den Vordergrund';
hs.fullExpandTitle  = 'Orginalgröße anzeigen(f)';
hs.creditsText  = '';
hs.creditsTitle  = '';
hs.previousText  = 'Zurück';
hs.nextText  = 'Vor'; 
hs.moveText  = 'Bewegen';
hs.closeText  = 'Schließen'; 
hs.closeTitle  = 'Schließen (Esc)'; 
hs.resizeTitle  = 'Größen ändern';
hs.playText  = 'Abspielen';
hs.playTitle  = 'Slideshow starten (Leertaste)';
hs.pauseText  = 'Pause';
hs.pauseTitle  = 'Slideshow anhalten (Leertaste)';
hs.previousTitle  = 'Zurück (Pfeil links)';
hs.nextTitle  = 'Next (Pfeil rechts)';
hs.moveTitle  = 'Bewegen';
hs.fullExpandText  = 'Volle Größe';
hs.number = 'Bild %1 von %2';
hs.restoreTitle  = 'Klicken um Bild zu schließen; Klicken und halten um Bild zu bewegen. Pfeiltasten links und rechts zum Navigieren.';
hs.captionOverlay.position = "top";


// ONLY FOR THIS EXAMPLE PAGE!
// Initialize wrapper for rounded-white. The default wrapper (drop-shadow)
// is initialized internally.
if (hs.addEventListener && hs.Outline) hs.addEventListener(window, 'load', function () {
	new hs.Outline('rounded-white');
	var cb = hs.createElement('div', {
	id: 'closebutton',
	className: 'highslide-overlay closebutton',
	title: hs.lang.closeTitle || 'Schließen (Esc)'
	}, null, hs.container);
	cb.setAttribute('onclick', 'return hs.close(this)');
	if(browser.isIE) {
		cb.innerHTML = '<a href="#" onclick="return hs.close(this)" style="padding:15px;text-decoration:none;position:relativ;">&#160;</a>';
	}
});

// The gallery example on the front page
var galleryOptions = {
	slideshowGroup: 'gallery',
	wrapperClassName: 'rounded-white',
	outlineType: 'rounded-white',
	dimmingOpacity: 0.5,
	align: 'center',
	maxHeight: 550,
	transitions: ['expand', 'crossfade'],
	headingEval: 'this.a.title',
	autoplay: true
};

var movieOptions = {
	objectType: 'swf',
	contentId: 'highslide-html-1',
	wrapperClassName: 'rounded-white',
	outlineType: 'rounded-white',
	dimmingOpacity: 0.5,
	align: 'center',
	transitions: ['expand', 'crossfade'],
	headingEval: 'this.a.title',
	minWidth: 700,
	minHeight: 550,
	objectWidth: 640,
	objectHeight: 380,
	allowSizeReduction: false,
	outlineWhileAnimating: true,
	preserveContent: false,
	wmode: 'transparent'
};

if (hs.addSlideshow) hs.addSlideshow({
    slideshowGroup: 'gallery',
    interval: 5000,
    repeat: false,
    useControls: true,
	fixedControls: 'fit',
    overlayOptions: {
        opacity: 1,
        position: 'bottom center',
        hideOnMouseOut: true
	}
});
	hs.registerOverlay({
	overlayId: 'closebutton',
	position: 'top right',
	fade: 2, // fading the semi-transparent overlay looks bad in IE
	useOnHtml: true
	});