/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = '/images/highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'custom';
hs.dimmingOpacity = 0.75;
hs.fadeInOut = true;
hs.align = 'center';
hs.useBox = true;
hs.width = 800;
hs.height = 600;


// Add the slideshow controller
hs.addSlideshow({
	slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'text-controls',
		opacity: '1',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-15',
		hideOnMouseOut: true
	},
	thumbstrip: {
		mode: 'horizontal',
		position: 'bottom center',
		relativeTo: 'viewport'
	}

});


hs.stripItemFormatter = function(a){
	var url = a.style.backgroundImage;
	
	return '<img src=' + url.replace(/url\(\"?/,'').replace(/\"?\)/,'') + ' />';
}

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

