$(document).ready(function(){
	//Ouverture de la dive sombre et ajout
	$("#ClickAdd").click(function(){		
		$(".AddMoveDiv").fadeIn();
		$(".Sombre").show();	
	});	
	
	//fermeture de la dive sombre et ajout
	$("#CloseAdd").click(function(){		
		$(".AddMoveDiv").fadeOut();
		$(".Sombre").hide();			
	});	
		
$(".Fleche").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
$(".MouseEffet").next(".CloseWin").hide();
	$(".MouseEffet").click(function(){		
		if($(this).next(".CloseWin").is(":hidden")){
			
			$(".MouseEffet").next(".CloseWin:visible").fadeOut(100);				
			
			$(".MouseEffet").find(".Fleche").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
			
			$(this).next(".CloseWin").fadeIn(500);				
			$(this).find(".Fleche").html("<img src='http://www.letsgo-events.com/Style/Images/down.png' alt='' />");	
		}else{						
			$(this).next(".CloseWin").fadeOut(100);	
			$(this).find(".Fleche").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");				
		}			
	});			
		
$(".Fleche2").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
$(".MouseEffet2").next(".CloseWin2").hide();
	$(".MouseEffet2").click(function(){		
		if($(this).next(".CloseWin2").is(":hidden")){
			
			$(".MouseEffet2").next(".CloseWin2:visible").fadeOut(100);				
			
			$(".MouseEffet2").find(".Fleche2").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
			
			$(this).next(".CloseWin2").fadeIn(500);				
			$(this).find(".Fleche2").html("<img src='http://www.letsgo-events.com/Style/Images/down.png' alt='' />");	
		}else{						
			$(this).next(".CloseWin2").fadeOut(100);	
			$(this).find(".Fleche2").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");				
		}			
	});	
			
$(".Fleche3").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
$(".MouseEffet3").next(".CloseWin3").hide();
	$(".MouseEffet3").click(function(){		
		if($(this).next(".CloseWin3").is(":hidden")){
			
			$(".MouseEffet3").next(".CloseWin3:visible").fadeOut(100);				
			
			$(".MouseEffet3").find(".Fleche3").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
			
			$(this).next(".CloseWin3").fadeIn(500);				
			$(this).find(".Fleche3").html("<img src='http://www.letsgo-events.com/Style/Images/down.png' alt='' />");	
		}else{						
			$(this).next(".CloseWin3").fadeOut(100);	
			$(this).find(".Fleche3").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");				
		}			
	});	
	
	

		
	$(".EffetColor").mouseover(function(){		
		$(this).css("background","black");	
		$(this).css("color","white");	
	});	
		
	$(".EffetColor").mouseout(function(){		
		$(this).css("background","#3E3E3E");
		$(this).css("color","white");	
	});	
		
	$(".MouseEffet2").mouseover(function(){		
		$(this).css("background","red");	
		$(this).css("color","white");	
	});	
		
	$(".MouseEffet2").mouseout(function(){		
		$(this).css("background","transparent");		
		$(this).css("color","white");	
	});	
			
	$(".MouseEffet").mouseover(function(){		
		$(this).css("background","#170948");	
		$(this).css("color","yellow");	
	});	
			
		$(".MouseEffet").css("background","#170948");			
		$(".MouseEffet").css("color","white");		
		
		
	$(".MouseEffet").mouseout(function(){		
		$(this).css("background","#170948");		
		$(this).css("color","white");	
	});	
//menu admin
	
$(".code").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");
	$("dt").next("dd").hide();	
	$("dt").click(function(){		
	
		if($(this).next("dd").is(":hidden")){
			$("dt").next("dd:visible").slideUp();			
			$("dt").find(".code").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");
			$(this).next("dd").slideDown();	
			$(this).find(".code").html("<img src='http://www.letsgo-events.com/Style/Images/down.png' alt='' />");
		}else{
			$(this).next("dd").slideUp();	
			$(this).find(".code").html("<img src='http://www.letsgo-events.com/Style/Images/up.png' alt='' />");	
		}
		
	});	
	
	$("#Formation").attr('href', '#');


	$("#Formation").click(function(){		
		$('#Sujet').html("<table style='width:100%'>	<tr>		<td style='vertical-align:top;'><h2 style='width:100%;text-align:center;font-weight:bold;'>Nos Formations</h2><h2 style='margin:0;padding:0;font-size:14px'>Niveau I – Chauffeur de Maître (conduite en sécurité):</h2>		<p style='margin:10px 0 10px 30px;padding:0;'>Conduite et maîtrise du véhicule sur bitume sec et faible adhérence;<br/>		Prise de contact avec le métier de chauffeur.</p><h2 style='margin:0;padding:0;font-size:14px'>Niveau II – Chauffeur de Maître et de sécurité (conduite de sécurité):</h2>		<p style='margin:10px 0 10px 30px;padding:0;'>Maîtrise du véhicule et conduite rapide;<br/>		Conduite en convoi;<br/>		Conduite à adopter des différents postes dans le convoi;<br/>		Notion de sécurité;<br/>		Préparation d’un déplacement;<br/>		Agressions de base et échappements;<br/>		Exercices d’évacuation.</p><h2 style='margin:0;padding:0;font-size:14px'>Niveau III – Chauffeur de sécurité (conduite de sécurité en convoi):</h2>		<p style='margin:10px 0 10px 30px;padding:0;'>Maîtrise du véhicule et pilotage de précision;<br/>		Conduite rapide à deux véhicules;<br/>		Préparation d’une mission et ou d’un déplacement;<br/>		Travail en équipe pour une communication parfaite;<br/>		Surveillance et contre surveillance;<br/>		Exercices d’extraction etc.. .</p><h2 style='margin:0;padding:0;font-size:14px'>Niveau IV – Chauffeur anti-agression (conduite défensive et offensive):</h2>		<p style='margin:10px 0 10px 30px;padding:0;'>Pilotage de précision à plusieurs véhicules;<br/>		Travail avec des agents de protection au sol;<br/>		Changements de conducteur, conduite du siège passager, conduite 	sous stress etc..;<br/>		Pilotage et exercices de courses poursuites;<br/>		Nombreux exercices de blocage avec agressions multiples et 	évacuation à plusieurs véhicules.</p><h2 style='margin:0;padding:0;font-size:14px'>Niveau V – Les percussions: ceci et un module additionnel.</h2>		<p style='margin:10px 0 10px 30px;padding:0;'>Il sera adapté au monde professionnel du chauffeur.<br/>		Mise hors de la route d’un véhicule lors d’une course poursuite;<br/>		Percussion d’échappement;<br/>		percussion de dégagement;<br/>		Percussion de blocage;<br/>		Percussion frontale<br/>		Percussion offensive (mise hors d’état de nuire d’un agresseur).</p></td>		<td style='vertical-align:top;width:220px;'>			<p style='margin-left:10px'>				<img src='Stock/Vig/Formation_1.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_2.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_3.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_4.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_5.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_6.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_7.jpg' style='width:200px;' alt='' />						<img src='Stock/Vig/Formation_8.jpg' style='width:200px;' alt='' />					</p>		</td>	</tr></table>");		
	});	

	
//asscenseur
	
	
	
	$("#PageAdd").hide();
	$("#Ajouter").click(function(){
		$("#PageAdd").show();
	});
	$("#ClosePageAdd").click(function(){
		$("#PageAdd").hide();
	});
	
	
	
});
