hs.graphicsDir = 'js/graphics/';
hs.showCredits=false;
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;
hs.objectLoadTime = 'after';
hs.allowMultipleInstances = false;
hs.allowSizeReduction  = true;
hs.dimmingOpacity = 0.55;
hs.captionEval = 'this.thumb.alt';

//remove when live
hs.flushImgSize = true;

hs.registerOverlay({
	overlayId: 'closebutton',
	position: 'top right',
	fade: 2, // fading the semi-transparent overlay looks bad in IE
	useOnHtml: true
});

window.onload = function() {
	hs.preloadImages(5);
}
