/**
 * @author Klaus Bader
 * @version 1.0
 * Konfigurationsdatei für die Galeriefunktion. Wird in Seiten eingebunden, in denen die Galeriefunktion gewünscht ist. Die Aktivierung erfolgt durch den Funktionsaufruf.
 */
function initBKELyteBox() {
	var myLytebox = new LyteBox();
	
	/*** Start Global Configuration ***/
	myLytebox.theme					= 'grey'; 	// themes: grey (default), red, green, blue, gold
	myLytebox.hideFlash			= true;			// controls whether or not Flash objects should be hidden
	myLytebox.outerBorder		= true;			// controls whether to show the outer grey (or theme) border
	myLytebox.resizeSpeed		= 5;				// controls the speed of the image resizing (1=slowest and 10=fastest)
	myLytebox.maxOpacity		= 50;				// higher opacity = darker overlay, lower opacity = lighter overlay
	myLytebox.navType				= 1;				// 1 = "Prev/Next" buttons on top left and left (default), 2 = "<< prev | next >>" links next to image number
	myLytebox.autoResize		= true;			// controls whether or not images should be resized if larger than the browser window dimensions
	myLytebox.doAnimations	= true;			// controls whether or not "animate" Lytebox, i.e. resize transition between images, fade in/out effects, etc.
	myLytebox.borderSize		= 12;				// if you adjust the padding in the CSS, you will need to update this variable -- otherwise, leave this alone...
	/*** End Global Configuration ***/

	/*** Configure Slideshow Options ***/
	myLytebox.slideInterval			= 4000;		// Change value (milliseconds) to increase/decrease the time between "slides" (10000 = 10 seconds)
	myLytebox.showNavigation		= true;		// true to display Next/Prev buttons/text during slideshow, false to hide
	myLytebox.showClose					= true;		// true to display the Close button, false to hide
	myLytebox.showDetails				= true;		// true to display image details (caption, count), false to hide
	myLytebox.showPlayPause			= true;		// true to display pause/play buttons next to close button, false to hide
	myLytebox.autoStart					= false;	// true to automatically start the slideshow, false to start manualy
	myLytebox.autoEnd						= false;	// true to automatically close Lytebox after the last image is reached, false to keep open
	myLytebox.autoRepeat				= true;		// true to automatically repeat the slideshow after the last image is reached (only possible if 'this.autoEnd = false'), false to end the slideshow
	myLytebox.pauseOnNextClick	= false;	// true to pause the slideshow when the "Next" button is clicked
	myLytebox.pauseOnPrevClick	= true;		// true to pause the slideshow when the "Prev" button is clicked
	/*** End Slideshow Configuration ***/
	
	myLytebox.initialize();
}
