hs.graphicsDir = 'http://www.jeffmagder.com/blog/wp-content/plugins/highslide/graphics/';

hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.transitionDuration = 800;
//hs.transitionDuration = 0;

hs.fadeInOut = true;
hs.dimmingOpacity = 0.8;
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'controls-in-heading';
hs.dimmingDuration = 600;
hs.marginBottom = 105; // make room for the thumbstrip and the controls
hs.numberPosition = 'caption';

hs.numberOfImagesToPreload = 5;

// 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 controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
className: 'text-controls',
position: 'bottom center',
relativeTo: 'viewport',
offsetY: -60
},
thumbstrip: {
position: 'bottom center',
mode: 'horizontal',
relativeTo: 'viewport'
}
});