//******************************************************************************
// Affichage d'une image dans le coin supérieur gauche (TOPLEFT)
//------------------------------------------------------------------------------
  function afficher_topleft(nomphoto,align)
           {
            width  = screen.width / 6.5
            document.write("<img src='" + nomphoto + "' width=" + width + " align=" + align + " border=0>");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function afficher_geante(nomphoto,align)
           {
            document.write("<img src='" + nomphoto + "' align=" + align + " width=" + parseInt(screen.width / 2.00) + ">");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function afficher_grande(nomphoto,align)
           {
            document.write("<img src='" + nomphoto + "' align=" + align + " width=" + parseInt(screen.width / 2.75) + ">");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function afficher_medium(nomphoto,align)
           {
            document.write("<img src='" + nomphoto + "' align=" + align + " width=" + parseInt(screen.width / 4.75) + ">");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
//function afficher_petite(nomphoto,align)
//         {
//          document.write("<img src='" + nomphoto + "' align=" + align + " width=" + parseInt(screen.width / 8.75) + ">")
//         }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function choix_du_background(nomimage,extimage)
           {zdim = screen.width;
            if (screen.width==640) {zdim = "0640";}
            if (screen.width==800) {zdim = "0800";}
            document.body.background = nomimage + "_" + zdim + "." + extimage;
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function choix_taille_image(nomimage,extimage)
           {zdim = screen.width;
            if (screen.width==640) {zdim = "0640";}
            if (screen.width==800) {zdim = "0800";}
          //alert("<img src='" + nomimage + "_" + zdim + "." + extimage + "'>");
            document.write("<img src='" + nomimage + "_" + zdim + "." + extimage + "'>");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function adapter_taille_image(nomimage)
           {zdim = screen.width * 0.8;
          //alert("<img src='" + nomimage + "' width=" + zdim + "'>");
            document.write("<img src='" + nomimage + "' width=" + zdim + "'>");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function taille_police(fenetre)
           {zpol = parseInt(screen.width / 80);
            if (fenetre=="_topleft") {zpol = parseInt(screen.width / 50);}
            if (fenetre=="_bandeau") {zpol = parseInt(screen.width / 50);}
            if (fenetre=="_sommair") {zpol = parseInt(screen.width / 80);}
            if (fenetre=="_accueil") {zpol = parseInt(screen.width / 66);}
            if (fenetre=="___titre") {zpol = parseInt(screen.width / 66);}
            if (fenetre=="___texte") {zpol = parseInt(screen.width / 80);}
            if (fenetre=="___barre") {zpol = parseInt(screen.width / 80);}
            document.write("<STYLE>BODY,TABLE,TR,TD{margin-top:1px;font-size:" + zpol + "px;margin-bottom:1px;}</STYLE>");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function fullpage(page)
           {
            window.open(page,"fullpage","fullscreen=1,resizable=0,scrollbars=0");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function afficher_vignette(rep,img,ext)
           {
            document.write("<img src='" + rep + "/" + img + "." + ext + "' width=" + parseInt(screen.width / 8.75) + ">");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function afficher_pochette(rep,img,ext)
           {
            document.write("<img src='" + rep + "/" + img + "." + ext + "' width=" + parseInt(screen.width / 2.75) + ">");
           }
//******************************************************************************
// Ex-fonction "afficher-image" renomm‚e en "afficher_petite" le 24 octobre 2006
//------------------------------------------------------------------------------
  function afficher_petite(nomphoto,align)
           {var objet   = new Image();
            objet.src   = nomphoto;
            var largeur = objet.width;
            var hauteur = objet.height;
            if (largeur >  hauteur) {zdim = 'width='  + parseInt(screen.width  / 8.75);}
            if (largeur == hauteur) {zdim = 'width='  + parseInt(screen.width  / 8.75);}
            if (largeur <  hauteur) {zdim = 'height=' + parseInt(screen.height / 6.50);}
         // alert("<img src='" + nomphoto + "' " + zdim  + " align=" + align + ">");
            document.write("<img src='" + nomphoto + "' " + zdim  + " align=" + align + ">");
           }
//******************************************************************************
//
//------------------------------------------------------------------------------
  function noscroll() {document.all["header"].style.top = document.body.scrollTop - 15;}
//******************************************************************************
