
	hs.graphicsDir = 'scripts/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.numberPosition = 'caption';
	hs.dimmingOpacity = 0.75;
	hs.creditsHref = '';
	hs.lang = {
		creditsText : ''
	}
	
	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .75,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});


	$(document).ready(function() {	
	
		if(document.getElementById("header_right"))
		{
			$('#header_right').cycle();
		}
	
		//    MENU
		$("#header_menu_content ul li").prepend("<span></span>"); //Throws an empty span tag right before the a tag
		
		$("#header_menu_content ul li").each(function() { //For each list item...            
				var linkText = $(this).find("a").html(); //Find the text inside of the a tag
				$(this).find("span").show().html(linkText); //Add the text in the span tag
		}); 
		
		$("#header_menu_content ul li").hover(function() {	//On hover...
				$(this).find("span").stop().animate({ 
						marginTop : "-44" //Find the span tag and move it up 40 pixels
				}, 280);
		} , function() { //On hover out...
				$(this).find("span").stop().animate({
						marginTop: "0" //Move the span back to its original state (0px)
				}, 500);
		});
					
					$("#box_outils ul li").hover(function() {	//On hover...
				$(this).find("span").stop().animate({ 
						paddingLeft : "7" //Find the span tag and move it up 40 pixels
				}, 280);
		} , function() { //On hover out...
				$(this).find("span").stop().animate({
						paddingLeft : "0" //Move the span back to its original state (0px)
				}, 500);
		});
						
	}); 
