// JavaScript Document
$(document).ready(function(){
   $('li#current a').removeAttr("href");
   $(document).pngFix();
    $("#infos a").click(function () {
      $("#popup-infos").fadeIn(1000);
      return false;
    });
 
 $(".close").click(function () {
      $("#popup-infos").fadeOut(1000);
      return false;
    });
  });
function affichepopUpamis(amis)
    {
    document.getElementById(amis).style.visibility='visible';
    }
    function masquepopUpamis(amis)
    {
    document.getElementById(amis).style.visibility='hidden';
    }
function affichepopUp(cible)
    {
    document.getElementById(cible).style.visibility='visible';
    }
    function masquepopUp(cible)
    {
    document.getElementById(cible).style.visibility='hidden';
    }

function fct_contenu(ident){

switch (ident)
   {         
         case 1: 
         $("#conteneur_cond").load("conditions-reservation.php");

         //new Ajax.Updater('conteneur_hebe','hebe/miami.html',{method: 'get'});
         break; 
		  case 2:
 $("#lepop").prepend( $("#detail_heberg1") );
		  //$("#lepop").prepend( $("#detail_heberg1") );
          //$("#detail_heberg1").insertAfter("#barre");
		  //$("#detail_heberg1").clone().appendTo("#lepop");
          
         //$("#fauxpopdet").load("#detail_heberg1");

         //new Ajax.Updater('conteneur_hebe','hebe/miami.html',{method: 'get'});
         break; 
		 
		  case 3:
 $("#lepop").prepend( $("#detail_heberg2") );
		   //$("#lepop").prepend( $("#detail_heberg2") );
		 break;
		 case 4:

		   $("#lepop").prepend( $("#detail_heberg3") );
		 break;
		 case 5:

		   $("#lepop").prepend( $("#detail_heberg4") );
		 break;
		 case 6:

		   $("#lepop").prepend( $("#detail_heberg5") );
		 break;
		 case 7:

		   $("#lepop").prepend( $("#detail_heberg6") );
		 break;
		 case 8:

		   $("#lepop").prepend( $("#detail_heberg7") );
		 break;
		 case 9:

		   $("#lepop").prepend( $("#detail_heberg8") );
		 break;
		 case 10:

		   $("#conteneur_cond").load("plan-camping.html");
		 break;
		 		 case 38:
		 
		$("#lepop").load("");
		 break; 
  }

}
