// JavaScript Document

//====================================
//Script AJAX menu demande devis
//====================================

function getXhr(){
	var xhr = null; 
	if(window.XMLHttpRequest)
		xhr = new XMLHttpRequest(); 
	else if(window.ActiveXObject){
		try {
			xhr = new ActiveXObject("Msxml2.XMLHTTP"); }
		catch (e) {
			xhr = new ActiveXObject("Microsoft.XMLHTTP"); } }
	else {
		alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
		xhr = false; }
  return xhr; }


function GetDevisVille(){
	vil_id = "";
	document.getElementById('session').innerHTML = "<select name='ses' id='ses' disabled ><option></option></select>";

	var xhr = getXhr();
	xhr.onreadystatechange = function(){
		if(xhr.readyState == 4 && xhr.status == 200){
			document.getElementById('town').innerHTML = xhr.responseText; } }
	xhr.open("POST","/inc/ajax/ws/for_ville.asp",true);
	xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
	for_selected = document.getElementById('for');
	for_id = for_selected.options[for_selected.selectedIndex].value;
	xhr.send("for="+for_id);
}


function GetDevisSession(){
	var xhr = getXhr();
	xhr.onreadystatechange = function(){
		if(xhr.readyState == 4 && xhr.status == 200){
			document.getElementById('session').innerHTML = xhr.responseText; } }
	xhr.open("POST","/inc/ajax/ws/for_session.asp",true);
	xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
	for_selected = document.getElementById('for');
	for_id = for_selected.options[for_selected.selectedIndex].value;
	vil_selected = document.getElementById('ville');
	vil_id = vil_selected.options[vil_selected.selectedIndex].value;

	xhr.send("vil="+vil_id+"&for="+for_id);
}


function FormDevisCheck(formulaire) {
	if (document.formulaire.fd_nom.value == '') { afficheId('frm_fd_nom'); cacheId('frm_fd_prenom'); cacheId('frm_fd_telephone'); cacheId('frm_fd_email'); document.formulaire.fd_nom.select(); return false; }
	if (document.formulaire.fd_prenom.value == '') { afficheId('frm_fd_prenom'); cacheId('frm_fd_nom'); cacheId('frm_fd_telephone'); cacheId('frm_fd_email'); document.formulaire.fd_prenom.select(); return false; }
	if (isPhone(document.formulaire.fd_telephone.value)||(document.formulaire.fd_telephone.value=='')) { afficheId('frm_fd_telephone'); cacheId('frm_fd_nom'); cacheId('frm_fd_prenom'); cacheId('frm_fd_email'); document.formulaire.fd_telephone.select(); return false; }
	if (isEmail(document.formulaire.fd_email.value)) { afficheId('frm_fd_email'); cacheId('frm_fd_nom'); cacheId('frm_fd_prenom'); cacheId('frm_fd_telephone'); document.formulaire.fd_email.select(); return false; }
	else if (document.formulaire.fd_financement.selectedIndex == 2) {
		if (document.formulaire.fd_res_opca.value == '') { afficheId('frm_fd_res_opca'); cacheId('frm_fd_nom'); cacheId('frm_fd_prenom'); cacheId('frm_fd_telephone'); cacheId('frm_fd_email'); document.formulaire.frm_fd_res_opca.select(); return false; } }
	else if (document.formulaire.fd_financement.selectedIndex == 3) {
		if (document.formulaire.fd_res_autre.value == '') { afficheId('frm_fd_res_autre'); cacheId('frm_fd_nom'); cacheId('frm_fd_prenom'); cacheId('frm_fd_email'); cacheId('frm_fd_telephone'); cacheId('frm_fd_res_opca'); document.formulaire.frm_fd_res_autre.select(); return false; } }
	return true; }


function FormDevisFinancialSelect(formulaire) {
	if (formulaire == 'personal') { cacheId('company'); cacheId('opca'); cacheId('other'); }
	else if (formulaire == 'company') { afficheId('company'); cacheId('opca'); cacheId('other'); }
	else if (formulaire == 'opca') { cacheId('company'); afficheId('opca'); cacheId('other'); }
	else if (formulaire == 'other') { cacheId('company'); cacheId('opca'); afficheId('other'); }
	}



//====================================
//Script AJAX menu recherche Page Principal
//====================================

function launchSearchFormation(inputString) {
	var inputString;
	if(inputString.length == 0) {
		$('#suggestions').hide(); }
	else {
		var queryString;
		var data;
		var idpor;
		var idportail = document.getElementById('portail').value;
		$.post('/inc/ajax/ws/srch_formation.asp', {idpor: ""+idportail+"",queryString: ""+inputString+""}, function(data) {
			if(data.length > 0 ){ $('#suggestions').show(); $('#autoSuggestionsList').html(data);}}); } }

function cleanSearchFormation(thisValue) {
	$('#inputString').val(thisValue);
	setTimeout("$('#suggestions').hide();", 200);	}


//====================================
//Script AJAX menu recherche Page d'inscription par les reponsables formateurs
//====================================

function launchSearchFormationResponsable() {
	var stringvalue = document.getElementById('inputString').value;
	if (stringvalue != ""){
	var xhr = getXhr();
	xhr.onreadystatechange = function(){
		if(xhr.readyState == 4 && xhr.status == 200){
			document.getElementById("loader").style.display = "none";
			if (xhr.responseText != ""){
				leselect = xhr.responseText;
				document.getElementById('ResultatInscrip').innerHTML = leselect;}
			else {
				document.getElementById('ResultatInscrip').innerHTML = "<center>Sélectionnez vos critères de recherches</center>"}}
		else {
			document.getElementById("loader").style.display = "inline";}}
			 
		xhr.open("POST","ajax/ajax_search_formation.asp",true);
		xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		var idportail = document.getElementById('portail').value;
	  stringvalue = encodeURIComponent(stringvalue);

	xhr.send("queryString="+stringvalue+"&idpor="+idportail);}}


//====================================
//initialisation slider	
//====================================

	$(document).ready(function() {

		$(".slideBox1:first").show();
		$(".slideBox1:last").hide();
		
		$(".slideBox2:first").show();
		$(".slideBox2:last").hide();
		
		$(".slideBox3:first").show();
		$(".slideBox3:last").hide();
		
		$(".slideBox4:first").show();
		$(".slideBox4:last").hide();
		
		$(".slideBox5:first").show();
		$(".slideBox5:last").hide();
		
		$(".slideBox6:first").show();
		$(".slideBox6:last").hide();

		$(".slideBox7:first").show();
		$(".slideBox7:last").hide();
		
		$(".slideBox8:first").show();
		$(".slideBox8:last").hide();
		
		$(".slideBox9:first").show();
		$(".slideBox9:last").hide();

$("#highlightActus").hide();
$("#highlightDossiers").hide();
$("#popVideo").hide();
$("#popVideoContent").hide();

//=========================================
//= Affichage des onglets  des formations =
//=========================================
/*$("#highlightLargeDescriptif").hide();*/
/*$("#highlightLargeProgramme").hide();*/
/*$("#highlightLargeDeroulement").hide();*/
/*$("#highlightLargeAvantages").hide();*/
/*$("#highlightLargePreRequis").hide();*/
/*$("#highlightLargeVideo").hide();*/
//=======================================

  //====================================
  //onglets	
  //====================================

 $("#btnHighlightFormations").click(function () {
		$("#highlightActus").hide();
		$("#highlightDossiers").hide();
		$("#highlightFormations").fadeIn("slow");
		document.getElementById("btnHighlightActus").className="none";
		document.getElementById("btnHighlightDossiers").className="none";
		document.getElementById("btnHighlightFormations").className="selected";
	});
 $("#btnHighlightDossiers").click(function () {
		$("#highlightActus").hide();
		$("#highlightFormations").hide();
		$("#highlightDossiers").fadeIn("slow");
		document.getElementById("btnHighlightActus").className="none";
		document.getElementById("btnHighlightDossiers").className="selected";
		document.getElementById("btnHighlightFormations").className="none";
	});
 $("#btnHighlightActus").click(function () {
		$("#highlightFormations").hide();
		$("#highlightDossiers").hide();
		$("#highlightActus").fadeIn("slow");
		document.getElementById("btnHighlightActus").className="selected";
		document.getElementById("btnHighlightDossiers").className="none";
		document.getElementById("btnHighlightFormations").className="none";
	});
 
  $("#btnHighlightLargeDescriptif").click(function () {
		$("#highlightLargeDescriptif").fadeIn("slow");
		$("#highlightLargeProgramme").hide();
		$("#highlightLargeDeroulement").hide();
		$("#highlightLargeAvantages").hide();
		$("#highlightLargePreRequis").hide();
		$("#highlightLargeVideo").hide();
		document.getElementById("btnHighlightLargeDescriptif").className="selected";
		document.getElementById("btnHighlightLargeProgramme").className="none";
		document.getElementById("btnHighlightLargeDeroulement").className="none";
		document.getElementById("btnHighlightLargeAvantages").className="none";
		document.getElementById("btnHighlightLargePreRequis").className="none";
		document.getElementById("btnHighlightLargeVideo").className="none";
	});

   $("#btnHighlightLargeProgramme").click(function () {
		$("#highlightLargeDescriptif").hide();
		$("#highlightLargeProgramme").fadeIn("slow");
		$("#highlightLargeDeroulement").hide();
		$("#highlightLargeAvantages").hide();
		$("#highlightLargePreRequis").hide();
		$("#highlightLargeVideo").hide();
		document.getElementById("btnHighlightLargeDescriptif").className="none";
		document.getElementById("btnHighlightLargeProgramme").className="selected";
		document.getElementById("btnHighlightLargeDeroulement").className="none";
		document.getElementById("btnHighlightLargeAvantages").className="none";
		document.getElementById("btnHighlightLargePreRequis").className="none";
		document.getElementById("btnHighlightLargeVideo").className="none";
	});

    $("#btnHighlightLargeDeroulement").click(function () {
		$("#highlightLargeDescriptif").hide();
		$("#highlightLargeProgramme").hide();
		$("#highlightLargeDeroulement").fadeIn("slow");
		$("#highlightLargeAvantages").hide();
		$("#highlightLargePreRequis").hide();
		$("#highlightLargeVideo").hide();
		document.getElementById("btnHighlightLargeDescriptif").className="none";
		document.getElementById("btnHighlightLargeProgramme").className="none";
		document.getElementById("btnHighlightLargeDeroulement").className="selected";
		document.getElementById("btnHighlightLargeAvantages").className="none";
		document.getElementById("btnHighlightLargePreRequis").className="none";
		document.getElementById("btnHighlightLargeVideo").className="none";
	});

   	$("#btnHighlightLargeAvantages").click(function () {
		$("#highlightLargeDescriptif").hide();
		$("#highlightLargeProgramme").hide();
		$("#highlightLargeDeroulement").hide();
		$("#highlightLargeAvantages").fadeIn("slow");
		$("#highlightLargePreRequis").hide();
		$("#highlightLargeVideo").hide();
		document.getElementById("btnHighlightLargeDescriptif").className="none";
		document.getElementById("btnHighlightLargeProgramme").className="none";
		document.getElementById("btnHighlightLargeDeroulement").className="none";
		document.getElementById("btnHighlightLargeAvantages").className="selected";
		document.getElementById("btnHighlightLargePreRequis").className="none";
		document.getElementById("btnHighlightLargeVideo").className="none";
	});

    $("#btnHighlightLargePreRequis").click(function () {
		$("#highlightLargeDescriptif").hide();
		$("#highlightLargeProgramme").hide();
		$("#highlightLargeDeroulement").hide();
		$("#highlightLargeAvantages").hide();
		$("#highlightLargePreRequis").fadeIn("slow");
		$("#highlightLargeVideo").hide();
		document.getElementById("btnHighlightLargeDescriptif").className="none";
		document.getElementById("btnHighlightLargeProgramme").className="none";
		document.getElementById("btnHighlightLargeDeroulement").className="none";
		document.getElementById("btnHighlightLargeAvantages").className="none";
		document.getElementById("btnHighlightLargePreRequis").className="selected";
		document.getElementById("btnHighlightLargeVideo").className="none";
	});

   	$("#btnHighlightLargeVideo").click(function () {
		$("#highlightLargeDescriptif").hide();
		$("#highlightLargeProgramme").hide();
		$("#highlightLargeDeroulement").hide();
		$("#highlightLargeAvantages").hide();
		$("#highlightLargePreRequis").hide();
		$("#highlightLargeVideo").fadeIn("slow");
		document.getElementById("btnHighlightLargeDescriptif").className="none";
		document.getElementById("btnHighlightLargeProgramme").className="none";
		document.getElementById("btnHighlightLargeDeroulement").className="none";
		document.getElementById("btnHighlightLargeAvantages").className="none";
		document.getElementById("btnHighlightLargePreRequis").className="none";
		document.getElementById("btnHighlightLargeVideo").className="selected";
	});
 
	$("#btnOpenPopVideo").click(function () {
		$("#popVideo").fadeIn("slow");
		$("#popVideoContent").fadeIn("slow");
	});
	$("#btnClosePopVideo").click(function () {
		$("#popVideo").hide();
		$("#popVideoContent").hide();
	});
 
 
  //====================================
  //slider	
  //====================================	
 
 $("#prevbtn1").click(function () {
		$(".slideBox1:last").hide();
		$(".slideBox1:first").fadeIn("slow");
	});
  $("#nextbtn1").click(function () {
		$(".slideBox1:first").hide();
		$(".slideBox1:last").fadeIn("slow");
	});
 $("#prevbtn2").click(function () {
		$(".slideBox2:last").hide();
		$(".slideBox2:first").fadeIn("slow");
	});
  $("#nextbtn2").click(function () {
		$(".slideBox2:first").hide();
		$(".slideBox2:last").fadeIn("slow");
	});
 $("#prevbtn3").click(function () {
		$(".slideBox3:last").hide();
		$(".slideBox3:first").fadeIn("slow");
	});
  $("#nextbtn3").click(function () {
		$(".slideBox3:first").hide();
		$(".slideBox3:last").fadeIn("slow");
	});  
	$("#prevbtn4").click(function () {
		$(".slideBox4:last").hide();
		$(".slideBox4:first").fadeIn("slow");
	});
  $("#nextbtn4").click(function () {
		$(".slideBox4:first").hide();
		$(".slideBox4:last").fadeIn("slow");
	}); 
   $("#prevbtn5").click(function () {
		$(".slideBox5:last").hide();
		$(".slideBox5:first").fadeIn("slow");
	});
  $("#nextbtn5").click(function () {
		$(".slideBox5:first").hide();
		$(".slideBox5:last").fadeIn("slow");
	});
 $("#prevbtn6").click(function () {
		$(".slideBox6:last").hide();
		$(".slideBox6:first").fadeIn("slow");
	});
  $("#nextbtn6").click(function () {
		$(".slideBox6:first").hide();
		$(".slideBox6:last").fadeIn("slow");
	});
	$("#prevbtn7").click(function () {
		$(".slideBox7:last").hide();
		$(".slideBox7:first").fadeIn("slow");
	});
  $("#nextbtn7").click(function () {
		$(".slideBox7:first").hide();
		$(".slideBox7:last").fadeIn("slow");
	});
 $("#prevbtn8").click(function () {
		$(".slideBox8:last").hide();
		$(".slideBox8:first").fadeIn("slow");
	});
  $("#nextbtn8").click(function () {
		$(".slideBox8:first").hide();
		$(".slideBox8:last").fadeIn("slow");
	});
	$("#prevbtn9").click(function () {
		$(".slideBox9:last").hide();
		$(".slideBox9:first").fadeIn("slow");
	});
  $("#nextbtn9").click(function () {
		$(".slideBox9:first").hide();
		$(".slideBox9:last").fadeIn("slow");
	});

  
  //====================================
  //formation menu	
  //====================================	

  //==================================================
  //formation Systeme
  //==================================================
	
	$("#menuFormationSysteme").hide();
	$("#contFormationSysteme").hide();
	
	$("#navFormationSysteme").click(function () {
		$("#contFormationSysteme").toggle(250);
		$("#menuFormationSysteme").toggle(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);		
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
	});
 
 	$("#contFormationSysteme li").click(function () {
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
	});
  
  //==================================================


  //==================================================
  //Formation Reseau
  //==================================================
  
	
	$("#menuFormationReseau").hide();
	$("#contFormationReseau").hide();

	$("#navFormationReseau").click(function () {
		$("#contFormationReseau").toggle(250);
		$("#menuFormationReseau").toggle(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
	});
  
  $("#contFormationReseau li").click(function () {
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
	  });
  
  //==================================================
  
  //==================================================
  //Formation BDD
  //==================================================
  
	
	$("#menuFormationBDD").hide();
	$("#contFormationBDD").hide();

	$("#navFormationBDD").click(function () {
		$("#contFormationBDD").toggle(250);
		$("#menuFormationBDD").toggle(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);
	});
  
  $("#contFormationBDD li").click(function () {
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
	});
  
  //==================================================
  
   //==================================================
  //Formation Developpeur
  //==================================================

	
	$("#menuFormationDeveloppeur").hide();
	$("#contFormationDeveloppeur").hide();

	$("#navFormationDeveloppeur").click(function () {
		$("#contFormationDeveloppeur").toggle(250);
		$("#menuFormationDeveloppeur").toggle(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);	
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
	});
  
  $("#contFormationDeveloppeur li").click(function () {
  	$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
	});
  
  //==================================================

  //==================================================
  //Formation Management
  //==================================================


	$("#menuFormationManagement").hide();
	$("#contFormationManagement").hide();

	$("#navFormationManagement").click(function () {
		$("#contFormationManagement").toggle(250);
		$("#menuFormationManagement").toggle(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
	});
  
  $("#contFormationManagement li").click(function () {
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);
	});

  //==================================================
  
  //==================================================
  //Formation Learning
  //==================================================
  
	$("#menuFormationLearning").hide();
	$("#contFormationLearning").hide();

	$("#navFormationLearning").click(function () {
		$("#contFormationLearning").toggle(250);
		$("#menuFormationLearning").toggle(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);		
	});
  
  $("#contFormationLearning li").click(function () {
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
	});
  
  //==================================================
  
  
  //==================================================
  //==================================================
  //Formation Essential
  //==================================================
  
	
	
	$("#menuFormationEssential").hide();
	$("#contFormationEssential").hide();

	$("#navFormationEssential").click(function () {
		$("#contFormationEssential").toggle(250);
		$("#menuFormationEssential").toggle(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
		$("#contFormationManagement").fadeOut(250);
		$("#menuFormationManagement").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
		$("#contFormationPanorama").fadeOut(250);
	});
  
  $("#contFormationEssential li").click(function () {
		$("#contFormationEssential").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
	});
  //==================================================

  //==================================================
  //Formation Panorama
  //==================================================
  
	$("#menuFormationPanorama").hide();
	$("#contFormationPanorama").hide();

	$("#navFormationPanorama").click(function () {
		$("#contFormationPanorama").toggle(250);
		$("#menuFormationPanorama").toggle(250);
		$("#contFormationReseau").fadeOut(250);
		$("#menuFormationReseau").fadeOut(250);
		$("#contFormationSysteme").fadeOut(250);
		$("#menuFormationSysteme").fadeOut(250);
		$("#contFormationBDD").fadeOut(250);
		$("#menuFormationBDD").fadeOut(250);
		$("#contFormationLearning").fadeOut(250);
		$("#menuFormationLearning").fadeOut(250);
		$("#menuFormationEssential").fadeOut(250);
		$("#contFormationEssential").fadeOut(250);
		$("#contFormationDeveloppeur").fadeOut(250);
		$("#menuFormationDeveloppeur").fadeOut(250);
	});
  
  $("#contFormationPanorama li").click(function () {
		$("#contFormationPanorama").fadeOut(250);
		$("#menuFormationPanorama").fadeOut(250);
	});
  
  //==================================================

if(document.getElementById("news")){document.getElementById("news").style.display = 'block';}
if(document.getElementById("nav")){document.getElementById("nav").style.visibility = 'visible';}
if(document.getElementById("highLightSliders")){document.getElementById("highLightSliders").style.visibility = 'visible';}
if(document.getElementById("highlight")){document.getElementById("highlight").style.visibility = 'visible';}
   }); 
