$(function(){         
	$('#slideshow').crossSlide({           
		sleep: 3,           
		fade: 1         
		}, [           
		{ src: '1.jpg' },           
		{ src: '2.jpg' },           
		{ src: '3.jpg' },
		{ src: '4.jpg' }   
		]);     
	});

hs.graphicsDir = 'highslide/graphics/';   
    hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.5;

	// Add the controlbar
	hs.addSlideshow({
		slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .75,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
	
	
	function show_lang_div () {
	$("#languages").animate({"top": "200px", "opacity": 1}, 750);
	return false;
	};
	
	function hide_lang_div () {
	$("#languages").animate({"top": "-200px", "opacity": 0}, 750);
	return false;
	};
