// Apply your highslide slideshow own settings here
// - override the defaults in highslide.js 

hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'drop-shadow'; //rounded-white, drop-shadow, beveled, outer-glow, colored-border
hs.wrapperClassName = 'highslide-white';
hs.outlineType = null;

//hs.outlineWhileAnimating = true;
hs.allowMultipleInstances = false;	//always show one window only
hs.enableKeyListener = true;	// use the previous and next keys
hs.preserveContent = false;	// we want to have it new after close and open again
hs.targetX = 'picturecode 15px';
hs.targetY = 'picturecode 0px';
hs.marginLeft = 0;
hs.marginRight = 0;
//	hs.width = 560;		//650;
//	hs.height = 480;	//488;
hs.expandCursor = null;
hs.anchor='top right';	//'top', 'top right', 'right', 'bottom right', 'bottom', 'bottom left', 
hs.align = 'top';
hs.hideThumbOnExpand = true; // deprecated?
hs.fadeInOut = false;
hs.dimmingOpacity = 0; // 0.50
hs.flushImgSize=false;
hs.dragSensitivity = 0; 

hs.useBox=false; //true: this is important for IE
//hs.captionEval = 'this.a.title';

hs.dragHandler=null;	// cancel dragging options

// Add the controlbar for slideshow
hs.numberPosition='caption'; //caption, heading
hs.lang.number = "%1 /  %2"; 
hs.transitions = ['expand','crossfade'];

hs.showCredits = false;	// do not show credits
hs.creditsText = "";
hs.creditsHref = "";
hs.creditsTitle = "";

hs.lang.fullExpandTitle = '';
hs.lang.restoreTitle = '';
hs.lang.resizeTitle = '';
hs.lang.focusTitle = '';
hs.lang.loadingText = '';
hs.lang.loadingTitle = '';

hs.numberOfImagesToPreload = 5;

if (hs.addSlideshow)hs.addSlideshow({
	interval: 5000,
	repeat: false, //true, false
	useControls: true,
	fixedControls: false,	//false, 'fit'
	overlayOptions: {
		opacity: 100,
		position: 'bottom right',
		hideOnMouseOut: false
	}
});

// Make all images animate to the one visible thumbnail
var galleryOptions = {
	thumbnailId: 'highslidethumb',
	targetX: 'picturecode 15px',
	targetY: 'picturecode 0px',
	useBox : false,
//	width: 560,		//'auto',
//	height: 480,	//'auto',
	expandCursor: null,
	numberPosition: 'caption',
	anchor: 'top right',
	hideThumbOnExpand: true,
	align: 'top'
}

//window.onload = function(){hs.preloadImages();} 