/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = 'http://layout.doctorwhonews.net/css/highslide/graphics/';
hs.outlineType = 'custom';
hs.dimmingOpacity = 0.5;
hs.fadeInOut = true;
hs.align = 'center';
hs.captionEval = 'this.a.title';

// Add the slideshow controller
hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'large-dark',
		opacity: '0.6',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-15',
		hideOnMouseOut: true
	}
});

// Add the slideshow controller
hs.addSlideshow({
	slideshowGroup: 'single',
	interval: 5000,
	repeat: false,
	useControls: false,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'large-dark',
		opacity: '0.6',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-15',
		hideOnMouseOut: true
	}
});


function makehsconfig(id) {
    var nconfig = { transitions: ['expand', 'crossfade'] }
    if (!id) ourid = current_post.urllink
    else ourid = id
    nconfig.slideshowGroup = escape(ourid) 
    return nconfig

};


