hs.graphicsDir = '/js/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.fadeInOut = true;
hs.dimmingOpacity = 0.7;
hs.outlineType = 'rounded-white';
hs.captionEval = 'this.thumb.alt';
hs.marginBottom = 105; // make room for the thumbstrip and the controls
hs.numberPosition = 'caption';

// Add the slideshow providing the controlbar and the thumbstrip
hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	overlayOptions: {
		className: 'text-controls',
		position: 'bottom center',
		relativeTo: 'viewport',
		offsetY: -60
	},
	thumbstrip: {
		position: 'bottom center',
		mode: 'horizontal',
		relativeTo: 'viewport'
	}
});


jQuery(document).ready(function()
{

		function runEffect() {

			var options = {};

			// run the effect
			$( "#manual" ).show( "clip", options, 500 );
		};

	$("a[name='manual']").click(function()
	{
		var url = $(this).attr("href");

		$("#manual").load(url);
		runEffect();
		return false;
	});

});



jQuery(document).ready(function()
{
	   $(".filtr_list").click(function()
		{
			$("#subsection_2").fadeIn('fast');
		});
		$(".filtr_list").mouseleave(function()
		{
			$("#subsection_2").fadeOut('fast');
		}); 
});



jQuery(document).ready(function()
{
	$("#submit").click(function ()
	{
		$("#submit").hide();
		$("#load_status").show();
	});
});
