/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = 'http://www.chicagonewscoop.org/chicago/wp-content/plugins/highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'custom';
hs.fadeInOut = true;
hs.align = 'center';
hs.allowSizeReduction = true;

//Image size
hs.minWidth = 660;
hs.minHeight = 350;

//Bounding box size
//hs.useBox = true;
//hs.width = 660;
//hs.height = 350;
hs.dimmingOpacity = 0.85;
hs.allowMultipleInstances = false;
hs.dragByHeading = false;

hs.headingEval = 'this.a.title';


// Close button
hs.registerOverlay({
	html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
	position: 'top right',
	useOnHtml: true,
	offsetX: '0',
	fade: 2 // fading the semi-transparent overlay looks bad in IE
});

// NextGen Gallery Mod - Wordpress
hs.numberPosition = 'caption';
hs.transitions = ['expand', 'crossfade'];

//Image Click Override
    // Cancel the default action for image click and do next instead
    hs.Expander.prototype.onImageClick = function() {
       return hs.next();
    };
    hs.lang.restoreTitle = 'Next Image';
	hs.restoreCursor = null;

// Add the slideshow controller
hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		//className: 'controls-in-heading',
		className: 'large-dark',
		opacity: '0.5',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-20',
		hideOnMouseOut: true
	},
	thumbstrip: {
		mode: 'horizontal',
		position: 'below',
		relativeTo: 'image',
		zIndex: 6
		//width: '665px'
		//offsetY: '-100'
	}

});

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


