$(document).ready(function(){
			
		slideMenu.build('sm',490,20,15,1);
/*		
		$('#diapo_photo').crossSlide({
		  sleep: 4, //in sec
		  fade: 1   //in sec
		}, [
		  { src: '../diapo/accueil/1.jpg'},
		  { src: '../diapo/accueil/2.jpg'},
		  { src: '../diapo/accueil/3.jpg'},
		  { src: '../diapo/accueil/4.jpg'}
		
		]);
		*/
		var trait = 18;
		
		
		$("#accueil").hover(
			function(){
				$("#accueil2").animate( 
				{width:trait});
				
			},
		
			function(){
				$("#accueil2").stop();
				$("#accueil2").animate(
				{width:"8"});
	
			}
		);
		
		$("#chambre").hover(
			function(){
				$("#chambre2").animate( 
				{width:trait});
	
			},
		
			function(){
				$("#chambre2").stop();
				$("#chambre2").animate(
				{width:"8"});
	
			}
		
		);

		$("#tarifs").hover(
			function(){
				$("#tarifs2").animate( 
				{width:trait});
	
			},
		
			function(){
				$("#tarifs2").stop();
				$("#tarifs2").animate(
				{width:"8"});
	
			}
		
		);

		$("#region").hover(
			function(){
				$("#region2").animate( 
				{width:trait}); 
	
			},
		
			function(){
				$("#region2").stop();
				$("#region2").animate(
				{width:"8"});
	
			}
		
		);

		$("#act").hover(
			function(){
				$("#act2").animate( 
				{width:trait}); 
	
			},
		
			function(){
				$("#act2").stop();
				$("#act2").animate(
				{width:"8"});
	
			}
		
		);

		$("#contact").hover(
			function(){
				$("#contact2").animate( 
				{width:trait});
	
			},
		
			function(){
				$("#contact2").stop();
				$("#contact2").animate(
				{width:"8"});
	
			}
		
		);


		$("#phototh").hover(
			function(){
				$("#phototh2").animate( 
				{width:trait});
	
			},
		
			function(){
				$("#phototh2").stop();
				$("#phototh2").animate(
				{width:"8"});
	
			}
		
		);

		$("#liens_menu").hover(
			function(){
				$("#liens_menu2").animate( 
				{width:trait});
	
			},
		
			function(){
				$("#liens_menu2").stop();
				$("#liens_menu2").animate(
				{width:"8"});
	
			}
		
		);


});
