/**
*	Site-specific configuration settings for Highslide JS
*/
/* original WP - Nextgen call: 
class="highslide" onclick="return hs.expand(this, config1 )"
/* test autoplay nextgen call: 
class="highslide" onclick="return hs.expand(this, config1, { autoplay:true })"

*/
hs.graphicsDir = 'http://www.niceboy.com/highslide/graphics/';
hs.showCredits = false;
hs.outlineType = null;
hs.dimmingOpacity = 1;
hs.autoplay = false;
hs.fadeInOut = true;
hs.easing = 'easeInBack';
hs.easingClose = 'easeOutBack';
hs.expandDuration = 0;
hs.restoreDuration = 0;
hs.transitionDuration = 800;
hs.outlineWhileAnimating = 1;
hs.align = 'center';
hs.marginTop = 166;
hs.marginRight = 30;
hs.marginBottom = 50;
hs.marginLeft = 30;
hs.allowMultipleInstances = false;
hs.numberOfImagesToPreload = 5;
hs.captionEval = 'this.a.title';
hs.dragByHeading = false;
hs.dragHandler=null;
hs.loadingOpacity= 0;
hs.restoreCursor=null;
hs.expandCursor=null;


// Add the slideshow controller
hs.addSlideshow({
	slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: false,
	overlayOptions: {
		className: 'controls-in-heading',
		opacity: '1',
		position: 'bottom right',
		offsetX: '14',
		offsetY: '24',
		hideOnMouseOut: false
	}
	
});

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

/* advance the image by clicking it */
hs.Expander.prototype.onImageClick = function() {
   return hs.next();
};





