/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = '../highslide/graphics/';
hs.showCredits = false;
// hs.anchor = 'top left'
hs.transitions = ['expand', 'crossfade'];
hs.minWidth = 490;
hs.minHeight = 289;
hs.maxWidth = 800;
hs.maxHeight = 525;
hs.height = 525;
hs.width = 800;
hs.align = 'center';
hs.targetX = 'anchor 0px';
hs.targetY = 'anchor 0px';	
hs.preserveContent = false;
hs.objectLoadTime = 'after'; // solves a few problems with safari browers
hs.headingEval = 'this.a.title'; // Use the text from the anchors title as heading text for the popup
// hs.marginLeft = 230;
//hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'in-page text_controls';
hs.captionOverlay = {
   position: 'bottom',
   //opacity: 0.66,
   hideOnMouseOut: false,
   width: '100%'
   }	
hs.registerOverlay({
   html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
   position: 'top right',
   useOnHtml: true,
   fade: 2 // fading the semi-transparent overlay looks bad in IE
   });
// Add the slideshow controller
hs.addSlideshow({
   //slideshowGroup: 'group1',
   interval: 5000,
   repeat: false,
   useControls: true,
   fixedControls: 'fit',
   overlayOptions: {
		opacity: '1',
		position: 'top center',
		hideOnMouseOut: false
	}
});

// gallery config object
var config1 = {
	slideshowGroup: 'group1',
	thumbnailId: 'gallery-opener',
	transitions: ['expand', 'crossfade']
};

