// JavaScript Document
    hs.graphicsDir = '/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	//hs.outlineWhileAnimating = false;
	hs.dragByHeading = true;
	hs.preserveContent = false;
	hs.fadeInOut = true;
	//hs.numberPosition = 'heading';
	//hs.dimmingOpacity = 0.75;
	hs.blockRightClick = true;
	
	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		slideshowGroup: ['group1', 'group2' ,'media-first-group', 'favorites-first-group'],
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: true,
		overlayOptions: {
			opacity: .75,
			position: 'top right',
			hideOnMouseOut: false
		}
	});
hs.Expander.prototype.printIframe = function () {
	var name = this.iframe.name;
	frames[name].focus();
	frames[name].print();
	return false;
}