hs.graphicsDir = 'http://radumicu.info/blog/wp-radumicu/highslide/graphics/';
hs.creditsPosition = 'bottom right';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.fadeInOut = true;
hs.dimmingOpacity = 0.75;
hs.outlineType = 'custom';
hs.wrapperClassName = 'controls-in-heading';
hs.fadeInOut = true;
hs.marginBottom = 70;
hs.marginLeft = 100;
hs.numberPosition = 'caption';
hs.easing = 'linearTween';

// This line will put the title of the pictures (from nextgen) into the caption field in highslide.
hs.captionEval = 'this.a.title';
hs.headingText = 'radumicu.info';
//hs.headingEval = 'this.thumb.title';
//hs.captionOverlay.position = 'above';
//hs.headingOverlay.position = 'below';

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 controlbar
if (hs.addSlideshow) hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: false,
	overlayOptions: {
		className: 'text-controls',
		opacity: '1',
		position: 'bottom center',
		offsetX: '50',
		offsetY: '-10',
		relativeTo: 'viewport',
		hideOnMouseOut: false
	},
	thumbstrip: {
		mode: 'vertical',
		position: 'middle left',
		relativeTo: 'viewport'
	}
});