	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;
	hs.dimmingDuration = 0;
	hs.minWidth = 300;
	hs.padToMinWidth = true;
	//hs.spaceForCaption = %CAPTIONSPACE%;

	hs.headingOverlay.position = "bottom";
	hs.headingOverlay.width = "100%";
	hs.headingOverlay.opacity = .75;
	hs.headingOverlay.hideOnMouseOut = true;
	hs.numberOfImagesToPreload = 0;
	
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: true,
		overlayOptions: {
			opacity: .75,
			position: 'top center',
			hideOnMouseOut: true
		}
	});

	hs.Expander.prototype.onAfterExpand = function () {
		sendpictureview(this.a.id);
	}
