// Ce script a été crée gratuitement pour vous !
// Merci de laisser les lignes suivantes pour faire connaitre le script...

//###########################################################
//Auteur de l'album photos / diaporama: Tryskehl
//E-mail: tryskehl@free.fr
//Site: http://pcoudor.free.fr/scripts/diaporama/diaporama.php4
//###########################################################


if (screen.width>1050)
{
        document.write("<br><br><br>");
}


document.write("<div id='lecteur' style='position:absolute;top:"+lect_y+";left:"+lect_x+";'>");
document.write("<div style='position:absolute;top:0;left:0;'><img border='0' src='AdffichePhotos/ressources/lecteur_fond.gif'></div>");
document.write("<div style='position:absolute;top:70;left:170;'>");

if (Nb_Photo==0){
document.write("<map name='map_play'>");
document.write("<area  shape='circle' coords='38, 38, 38'>");
document.write("</map></div>");
}else
{
document.write("<map name='map_play'>");
document.write("<area href='javascript:play_click()' shape='circle' coords='38, 38, 38' onmouseover=play_over() onmouseout=play_out()>");
document.write("</map><img id='img_play' border='0' src='AdffichePhotos/ressources/play_out.gif' alt='Diaporama' width='76' height='75' usemap='#map_play'></div>");
}

if ((Nb_Photo==0)||(Nb_Photo==1)){


document.write("<div style='position:absolute;top:6;left:73;'>");
document.write("<map name='map_prev'>");
document.write("<area href='javascript:prev_click()' shape='circle' coords='28, 28, 28' onmouseover=prev_over() onmouseout=prev_out()>");
document.write("</map><img id='img_prev' border='0' src='AdffichePhotos/ressources/prev_disa.gif' alt='Précédent' width='56' height='55' usemap='#map_prev'></div>");

document.write("<div style='position:absolute;top:6;left:145;'>");
document.write("<map name='map_next'>");
document.write("<area href='javascript:next_click()' shape='circle' coords='28, 28, 28' onmouseover=next_over() onmouseout=next_out()>");
document.write("</map><img id='img_next' border='0' src='AdffichePhotos/ressources/next_disa.gif' alt='Suivant' width='56' height='56' usemap='#map_next'></div>");
}else
{
document.write("<div style='position:absolute;top:6;left:73;'>");
document.write("<map name='map_prev'>");
document.write("<area href='javascript:prev_click()' shape='circle' coords='28, 28, 28' onmouseover=prev_over() onmouseout=prev_out()>");
document.write("</map><img id='img_prev' border='0' src='AdffichePhotos/ressources/prev_disa.gif' alt='Précédent' width='56' height='55' usemap='#map_prev'></div>");

document.write("<div style='position:absolute;top:6;left:145;'>");
document.write("<map name='map_next'>");
document.write("<area href='javascript:next_click()' shape='circle' coords='28, 28, 28' onmouseover=next_over() onmouseout=next_out()>");
document.write("</map><img id='img_next' border='0' src='AdffichePhotos/ressources/next_out.gif' alt='Suivant' width='56' height='56' usemap='#map_next'></div>");
}







document.write("<div style='position:absolute;top:40;left:40;' backcolor=\"#00CC33\" >");
document.write("<map name='map_exit'>");
document.write("<area href='javascript:exit_click()' shape='circle' color=\"#00CC33\" coords='28, 28, 28' onmouseover=exit_over() onmouseout=exit_out()>");
document.write("</map></div>");
document.write("</div>");

document.write("<table border='0' align='center' width='"+largeur+"' height='"+hauteur+"'>");
  document.write("<tr>");
    document.write("<td width='100%' height='"+img_h+"' valigb='middle'>");
    if (Nb_Photo>0)	{
      document.write("<br><table id='table_img_max' border='0' width='50%' align='center'>");
        document.write("<tr>");
         document.write("<td width='100%' align='center'><img id='img_max' border='0' src='"+tab_images_max[current_max]+"' height='"+img_h+"' alt='" + tab_texte[current_max] + "'></td>");
        document.write("</tr>");
      document.write("<tr>");
          document.write("<td id='td_comment' width='100%' align='center' class='comment'>"+tab_texte[current_max]+"</td>");
        document.write("</tr>");
      }else
      {
      document.write("<table id='table_img_max' border='0' width='50%' align='right'>");
        document.write("<tr>");
         document.write("<td width='100%' align='center'>Aucune Photo</td>");
        document.write("</tr>");
      }
     document.write("</table>");
    document.write("</td>");
  document.write("</tr>");
  document.write("<tr>");
    document.write("<td width='100%' height='130'>");
      document.write("<table border='0' width='100%' cellspacing='0' >");
        document.write("<tr>");

compt=0;
ligne=0;
val_border=3;
while(compt<Nb_Photo){
name_id='img_min'+(compt+1);
          document.write("<td width='20%' align='center'><a href='javascript:show_photo(" + compt + ")' ><img id="+ name_id + " style='border-left-style: ridge; border-left-color: #EAEAEA; border-right-style: groove; border-right-color: #EAEAEA; border-top-style: ridge; border-top-color: #EAEAEA; border-bottom-style: groove; border-bottom-color: #EAEAEA' border=" + val_border + " src='"+tab_images_min[current_min+compt]+"' height='90' alt='" + tab_texte[compt] + "'></a></td>");
val_border=0;
compt++;
ligne++;
if (ligne==4) {
        document.write("</tr><tr>");
ligne=0;
}
}

        document.write("</tr>");
      document.write("</table>");
    document.write("</td>");
  document.write("</tr>");
document.write("</table>");

document.onselectstart=new Function ("return false");

