// Lien actif a la volée

function clique_lien_2()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2-over.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2-over.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}


function clique_lien_3()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3-over.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3-over.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_4()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4-over.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4-over.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_5()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5-over.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5-over.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_6()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6-over.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6-over.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_7()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7-over.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7-over.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_8()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8-over.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8-over.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_9()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9-over.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9-over.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_10()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10-over.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10-over.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_11()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11-over.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11-over.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12.jpg)'
		}
}

function clique_lien_12()
{
	if(navigator.appName.indexOf('Microsoft')!=-1) //Navigateur IE
		{
			document.styleSheets[0].rules[4].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].rules[6].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].rules[8].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].rules[10].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].rules[12].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].rules[14].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].rules[16].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].rules[18].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].rules[20].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].rules[22].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].rules[24].style.background='url(../plan/12-over.jpg)'
			
		}
	else //Firefox
		{
			document.styleSheets[0].cssRules[5].style.background='url(../plan/2.jpg)'
			document.styleSheets[0].cssRules[7].style.background='url(../plan/3.jpg)'
			document.styleSheets[0].cssRules[9].style.background='url(../plan/4.jpg)'
			document.styleSheets[0].cssRules[11].style.background='url(../plan/5.jpg)'
			document.styleSheets[0].cssRules[13].style.background='url(../plan/6.jpg)'
			document.styleSheets[0].cssRules[15].style.background='url(../plan/7.jpg)'
			document.styleSheets[0].cssRules[17].style.background='url(../plan/8.jpg)'
			document.styleSheets[0].cssRules[19].style.background='url(../plan/9.jpg)'
			document.styleSheets[0].cssRules[21].style.background='url(../plan/10.jpg)'
			document.styleSheets[0].cssRules[23].style.background='url(../plan/11.jpg)'
			document.styleSheets[0].cssRules[25].style.background='url(../plan/12-over.jpg)'
		}
}



//Afficher masquer les div en fonction du choix de la plage


var idDivAffichee=null;

function afficheId(baliseId)
{
  if (idDivAffichee)
  {
    cacheId(baliseId);
  }
   if (idDivAffichee)
    cacheId(idDivAffichee);
  
  if (idDivAffichee==baliseId)
   {
      var show=false;
      idDivAffichee=null;
   }
    else
    {
      var show=true;
      idDivAffichee=baliseId;
    }
  

  if (show && document.getElementById && document.getElementById(baliseId) != null)
  {
     document.getElementById(baliseId).style.visibility='visible';
     document.getElementById(baliseId).style.display='block';
	 
  }
}

function cacheId(baliseId)
{
  if (document.getElementById && document.getElementById(baliseId) !=  null)
  {
    document.getElementById(baliseId).style.visibility='hidden';
    document.getElementById(baliseId).style.display='none';
  }

}
