//Fonction animation menu
/*$(document).ready(function() {
			});*/

// Slide Up texte Aktid

// Effet Home page activation boite

$(document).ready(function() {
		
			$("#slidebox").toggle(function () 
				{
					$("#loginbox").animate({ marginTop : "120px" },800);
					$("#affich").addClass("hover");
					$("#masq").removeClass("hover");
				},
				 function()
   					{
					$("#loginbox").animate({ marginTop : "0px" },800);
					$("#masq").addClass("hover");
					$("#affich").removeClass("hover");
					})  		
			
				$(".closewdA").click(function(){
				$('#boxbashp').fadeOut(1);
				
				
				
		});  	
			
		});

$(document).ready(function() {
$(".closewdB").click(function(){
				$('#bbox').fadeOut(1);
 	}); 
 });  

/* Effet de Hover sur les Menu */
$(document).ready(function() {
	  $('.survolon').click(function(){
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#bbox").fadeIn();
		});  
	  });  



/*Animation page Entreprise */
$(document).ready(function() {
	
		$("#b1").click(function(){
				
				$("#b1").addClass("clic");
				// Ouverture Box 1 & fermeture other
				$("#entboxvideo").addClass("hover");
				$("#bbox").fadeOut(0);
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				$("#b1box").removeClass("hover");
				
				
				
		});  	
		
		$("#b2").click(function(){
				// Fonction Hover sur menu
				
				// Ouverture Box 1 & fermeture other
				$("#entboxvideo").addClass("hover");
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				$("#b2box").removeClass("hover");
		});  
		
		$("#b3").click(function(){
				
				// Ouverture Box 1 & fermeture other
				$("#entboxvideo").addClass("hover");
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				$("#b3box").removeClass("hover");
		});  
		
		$("#b4").click(function(){
				
				// Ouverture Box 1 & fermeture other
				$("#entboxvideo").addClass("hover");
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b5box").addClass("hover");
				$("#b4box").removeClass("hover");
		});  
		
		$("#b5").click(function(){
				
				// Ouverture Box 1 & fermeture other
				$("#entboxvideo").addClass("hover");
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").removeClass("hover");
		});  
		
		
		// Fin Fonction Hover sur menu
		
		// Fonction ouvre REF1 differents modules
		$("#ref1").click(function(){
				$("#boxref1").removeClass("hover");
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				
		});  
		
		$("#ref2").click(function(){
				$("#boxref2").removeClass("hover");
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				
		});  
		
			$("#ref3").click(function(){
				$("#boxref3").removeClass("hover");
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				
		});  
		
		$("#ref5").click(function(){
				$("#boxref5").removeClass("hover");
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#b5box").addClass("hover");
				
		});  
		
		
		
		// Box ctri refindus
		$("#bctri-indus1").click(function(){
				$("#b2box").addClass("hover")
				$("#ctri-indus1").removeClass("hover");
		});  
		$(".closectri-indus1").click(function(){
		$("#ctri-indus1").addClass("hover");
		$("#b2box").removeClass("hover")
		
		}); 
		
		// Fonction bouton ferme
	
		
		$(".closewd").click(function(){
				$("#metiermbox").addClass("hover");
				$("#entboxvideo").addClass("hover");
				$("#metierbox").addClass("hover");
		});  		
		
		$(".closewd1").click(function(){
				$("#b1box").addClass("hover");
				
		});  	
	
		
		
		$(".closewd2").click(function(){
				$("#b2box").addClass("hover");
				
		}); 
		
		$(".closewd3").click(function(){
				$("#b3box").addClass("hover");
				
		}); 
		
		$(".closewd4").click(function(){
				$("#b4box").addClass("hover");
				
		}); 
		
			$(".closewd5").click(function(){
				$("#b5box").addClass("hover");
				
		}); 
		
		$(".closewdref5").click(function(){
				$("#boxref5").addClass("hover");
				
		}); 
		
			$(".closewdI").click(function(){
				$("#bbox").addClass("hover");
				
		}); 
		
		$(".closewdref1").click(function(){
		$("#boxref1").addClass("hover");
		$("#boxref2").addClass("hover");
		$("#boxref3").addClass("hover");
		}); 
		
		$(".closewdref2").click(function(){
		$("#boxref2").addClass("hover");
		}); 
		
		// Etape 1 Menu
		
		$("#videolaunch").click(function(){
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");	
				$("#b3box").addClass("hover");
				$("#entboxvideo").removeClass("hover");
		});  		
		
		$("#videolaunch1").click(function(){
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");	
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#entboxvideo").removeClass("hover");
		});  		

		$("#videolaunch3").click(function(){
				$("#bbox").fadeOut(1);
				$("#b1box").addClass("hover");
				$("#b2box").addClass("hover");	
				$("#b3box").addClass("hover");
				$("#b4box").addClass("hover");
				$("#entboxvideo").removeClass("hover");
		});  		
		

});






