//<![CDATA[
	hs.graphicsDir = './resources/plugins/highslide/graphics/';

	hs.lang = {
	   loadingText : '',
	   loadingTitle : '',
	   number: ''
	};


    // Open a specific thumbnail based on querystring input.
    hs.addEventListener(window, "load", function() {
       // get the value of the autoload parameter
       var autoload = /[?&]autoload=([^&#]*)/.exec(window.location.href);
       // virtually click the anchor
       if (autoload) document.getElementById(autoload[1]).onclick();
    });

	function closeImage(){
	   return hs.close()
	};

	hs.dynamicallyUpdateAnchors = false;
	hs.showCredits = false;
	hs.outlineType = '';


	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.85;
	hs.onDimmerClick = function() { return true; }

	hs.marginTop = 46;
	hs.marginBottom = 60;

	hs.addSlideshow({
		slideshowGroup: 'images',
		interval: 4000,
		repeat: true,
		useControls: true,

		overlayOptions: {
			position: 'top right',
			relativeTo: 'viewport',
			hideOnMouseOut: false,
			offsetX: -10,
			offsetY: 10
		},

		thumbstrip: {
			position: 'bottom center',
			mode: 'horizontal',
			relativeTo: 'viewport'
		},

		fixedControls: false
	});

	hs.skin.controls = '<div class="highslide-controls"><ul>'+
		'<li class="highslide-previous">'+
			'<a title="{hs.lang.previousTitle}" href="#">'+
				'<span>{hs.lang.previousTitle}</span>'+
			'</a>'+
		'</li>'+
		'<li class="highslide-play">'+
			'<a title="{hs.lang.playTitle}" href="#">'+
				'<span>{hs.lang.playTitle}</span>'+
			'</a>'+
		'</li>'+
		'<li class="highslide-pause" style="display: none;">'+
			'<a title="{hs.lang.pauseTitle}" href="#">'+
				'<span>{hs.lang.pauseTitle}</span>'+
			'</a>'+
		'</li>'+
		'<li class="highslide-next">'+
			'<a title="{hs.lang.nextTitle}" href="#">'+
				'<span>{hs.lang.nextTitle}</span>'+
			'</a>'+
		'</li>'+
		'<li class="highslide-move">'+
			'<a title="{hs.lang.moveTitle}" href="#">'+
				'<span>{hs.lang.moveTitle}</span>'+
			'</a>'+
		'</li>'+
		'<li class="highslide-full-expand">'+
			'<a title="{hs.lang.resizeTitle}" href="#">'+
				'<span>{hs.lang.resizeTitle}</span>'+
			'</a>'+
		'</li>'+
		'<li class="highslide-close">'+
			'<a title="{hs.lang.closeTitle}" href="#">'+
				'<span>{hs.lang.closeTitle}</span>'+
			'</a>'+
		'</li>'+
	'</ul></div>';
	



// Disable Spacebar
//	hs.onKeyDown = function(sender, e) {
//		if (e.keyCode == 32) return false;
//	};


//]]>

