/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = '/highslide/graphics/';
hs.showCredits = false;
hs.creditsPosition = 'bottom right';
hs.outlineType = 'custom';
hs.dimmingOpacity = 0.5;
hs.fadeInOut = true;
hs.align = 'center';
hs.allowMultipleInstances = false;
hs.blockRightClick = true;
hs.headingOverlay.position = 'below';
hs.headingEval = 'this.a.title';
hs.dragByHeading = false;
hs.numberOfImagesToPreload = 0;

// Define the restraining box
hs.useBox = true;
hs.width = 720;
hs.height = 400;


// Promtion slideshow controller
hs.addSlideshow({
	slideshowGroup: 'promotionGroup',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: false,
	overlayOptions: {
	    className: 'controls-in-heading',
	    opacity: '0.75',
	    position: 'bottom right',
	    offsetX: '2',
	    offsetY: '22',
	    hideOnMouseOut: false
	}
});

// Promotion config object
var promotionConfig = {
	slideshowGroup: 'promotionGroup',
	thumbnailId: 'promotionThumb',
	numberPosition: 'heading',
	transitions: ['expand', 'crossfade']
};
