hs.graphicsDir = 'http://www.onthecase.biz/wp-content/plugins/highslide/graphics/';  
hs.align = 'center';
hs.showCredits = false;
hs.outlineType = null;
hs.transitions = ['expand', 'crossfade'];  
hs.fadeInOut = true;  
hs.dimmingOpacity = 0.8;   
hs.fadeInOut = true;  
hs.marginBottom = 70; // make room for the thumbstrip and the controls  
hs.marginLeft = 100;
hs.numberPosition = 'heading'
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
});
   
// This line will put the title of the pictures (from nextgen) into the caption field in highslide.  
hs.captionEval = 'this.a.title';//Is the description of the image taken from NextGen  
   
// Add the slideshow controller
hs.addSlideshow({
//    slideshowGroup: 'solar lighting',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: false,
	overlayOptions: {
		className: 'text-controls',
		opacity: '1',
		position: 'bottom center',
		offsetX: '2',
		offsetY: '-5',
		relativeTo: 'image',
		hideOnMouseOut: false
	},
	thumbstrip: {
		mode: 'vertical',
		position: 'middle left',
		relativeTo: 'viewport'
	}

});

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