/* Rollover sur les photos ombrées*/
function rollOnPhoto(indice,creux)
{ var PhotoImg = document.getElementById('photo'+indice);
  if (creux)
     { PhotoImg.style.top  = '3px';
       PhotoImg.style.left = '3px';
     }
     else
     { PhotoImg.style.top  = '0px';
       PhotoImg.style.left = '0px';
     }
}


/* Affichage alterné des volets */
function afficheVolet(indice)
{ isIE = (document.all);
  isNN6 = (!isIE) && (document.getElementById);
  for (i=1 ; i<12 ; i++)
      { if (isIE)  volet = document.all['volet'+i];
        if (isNN6) volet = document.getElementById('volet'+i);
        if (volet) volet.style.display = (i==indice ? "block" : "none");
      }
}


/* Ouverture d'une pop-up */
function popup(photo, titre, largeur, hauteur)
{ gp = window.open('popup.php?titre=' + titre + '&photo=' + photo,
                   'equateurs_popup',
                   'left=50, top=50, width=' + largeur + ', height=' + hauteur + ', scrollbars=no, resizable=no, titlebar=no, menubar=no, toolbar=no, statusbar=no, location=no');
  gp.focus();
}
