<!--
      var ie4 = (document.all && !document.getElementById);
      var ie5 = (document.all && document.getElementById);
      var ns6 = (!document.all && document.getElementById);
  
      function ouvrePano(numMandat) {
        window.open('http://www.immolyon.com/pano.php?numMandat='+numMandat,'','width=550,height=350,left=50,top=50,scrollbars=yes');
      }
      
      function changePhoto(numMandat,numPhoto,nomPicto) {
        var i = 0;
        document.images["photo_"+numMandat].src = nomPicto;
        if (ie4)
        {
          for (i=1; i<6; i++) {
            document.all["div_"+numMandat+i].style.fontSize = '10px'; 
            document.all["div_"+numMandat+i].style.fontWeight = 'normal'; 
          }
            document.all["div_"+numMandat+"_"+numPhoto].style.fontSize = '12px'; 
            document.all["div_"+numMandat+"_"+numPhoto].style.fontWeight = 'bold'; 
            document.all["photoAgrandi_"+numMandat].value = numPhoto;
        }
        else {
          for (i=1; i<6; i++) {
            document.getElementById("div_"+numMandat+"_"+i).style.fontSize = '10px'; 
            document.getElementById("div_"+numMandat+"_"+i).style.fontWeight = 'normal'; 
          }
          document.getElementById("div_"+numMandat+"_"+numPhoto).style.fontSize = '12px'; 
          document.getElementById("div_"+numMandat+"_"+numPhoto).style.fontWeight = 'bold'; 
          document.getElementById("photoAgrandi_"+numMandat).value = numPhoto;
        }
      }
      
      function ouvrePhoto(num) {
        //on construit l'adresse de la photo puis on ouvre la fenetre
        if (ie4) adresse = "http://www.immolyon.com/images/photos/photo_"+num+"_"+document.all["photoAgrandi_"+num].value+".jpg";
        else adresse = "http://www.immolyon.com/images/photos/photo_"+num+"_"+document.getElementById("photoAgrandi_"+num).value+".jpg";
        window.open(adresse,'','width=540,height=370,scrollbars=yes,resizable=yes,top=50,left=50');
      }
      function imprime(num) {
        pipi = window.open('http://www.immolyon.com/impression.php?id='+num,'impression','width=600,height=300,left=50,top=50,scrollbars=yes');
        pipi.focus();
      }
      function detail(num) {
        pipi = window.open('http://www.immolyon.com/annonce.php?id='+num,'detail','width=600,height=400,left=50,top=50,scrollbars=no');
        pipi.focus();
      }
      -->

