/*  HIGHSLIDE stuff  */
hs.graphicsDir = '/images/highslide/';
hs.align = 'center';
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.allowMultipleInstances = false;
hs.captionEval = 'this.a.title';
hs.dimmingOpacity = 0.75;

hs.registerOverlay({
	html: '<div class="closebutton" onclick="return hs.close(this)"></div>',
	position: 'top right',
	relativeTo: 'expander',
	useOnHtml: true,
	fade: 2 // fading the semi-transparent overlay looks bad in IE
});


hs.captionOverlay.useOnHtml = false;

// Add the slideshow providing the controlbar and the thumbstrip
hs.addSlideshow({
	slideshowGroup: 'group1',
	interval: 5000,
	repeat: true,
	useControls: true,
	overlayOptions: {
		className: 'controls-in-heading',
		position: 'top left',
		offsetY: 70
	}
});

// gallery config object
var config1 = {
	slideshowGroup: 'group1',
	transitions: ['expand', 'crossfade']
};
