    <!--
//-------------------------------------------------------
//	Version 2 du 5-Oct-2003
//	Initialisation par chargement des vignettes
//	Ajout des numéros
    var NomFichierImage
    var NbTotImage
    var IndiceImage
    var PageImage	// Indice de l'image la plus à gauche


//----------------------------------------------------------------------------
    function JLH_Init(A_NomFichierImage,A_NbTotImage){
	NomFichierImage = A_NomFichierImage
	NbTotImage = A_NbTotImage
	IndiceImage = 1
	PageImage =0
        JLH_ChargeImage(1)
	JLH_Vignette()
    }
//----------------------------------------------------------------------------
    function JLH_Suivant_Click(){
        if (IndiceImage < NbTotImage ){ IndiceImage++ }
	else {alert("Dernière Image")}

        if (IndiceImage - PageImage > 8) { PageImage++ ; JLH_Vignette() }
	
        JLH_ChargeImage(IndiceImage - PageImage)
      }
//----------------------------------------------------------------------------
    function JLH_Precedant_Click(){
        if (IndiceImage > 1 ){IndiceImage--}
	else {alert("Première Image")}

        if (IndiceImage - PageImage < 1) { PageImage-- ; JLH_Vignette() }

	
        JLH_ChargeImage(IndiceImage - PageImage)
    }
//----------------------------------------------------------------------------
    function JLH_ChargeImage(I){
        var strU
        IndiceImage = I + PageImage
        strU = NomFichierImage + Car3(IndiceImage) + ".jpg"
	SelectImage(I)
        MonImage.src = strU
	txt01.value =  "Photo " + IndiceImage + " / " + NbTotImage + "  --  Fichier : " + strU
    }
//----------------------------------------------------------------------------
    function JLH_Vignette(){
	var thisimg
	for(i=1 ; i<=8 ; i++){
		thisimg = eval("img"+Car3(i))
		thisimg.src = "reduit/" + NomFichierImage + Car3(i+PageImage) + ".jpg"
	}
    }
//----------------------------------------------------------------------------
    function JLH_Page_Suivante(){
	var thisimg
	if (PageImage == NbTotImage - 8){alert("Dernière Page")}
	else
	{
		PageImage = PageImage + 8
		if (PageImage > NbTotImage - 8){PageImage = NbTotImage - 8}
		if (PageImage < 0){PageImage = 0}
		JLH_Vignette()
		IndiceImage = 1 + PageImage
		SelectImage(0)
//		JLH_ChargeImage(1)
	}
	}
//----------------------------------------------------------------------------
    function JLH_Page_Precedante(){
	if (PageImage == 0){alert("Première Page")}
	else
	{
		PageImage = PageImage - 8
		if (PageImage < 0){PageImage = 0}
		JLH_Vignette()
		IndiceImage = 1 + PageImage
		SelectImage(0)
//		JLH_ChargeImage(1)
	}
	}
//----------------------------------------------------------------------------
//	Selectionne l'image "Ind" par une bordure
	function SelectImage(Ind){
	var thisimg
	for(i=1 ; i<=8 ; i++){
		if (i <= NbTotImage){
			thisimg = eval("img"+Car3(i))
			if (i == Ind){thisimg.border = 5} else {thisimg.border = 0}
		}
	}
	}
//----------------------------------------------------------------------------
//	Renvoi un chiffre sur 3 caractères

	function Car3(I){
        var strU
        strU = I
        while (strU.length != 4) { strU = "0" + strU }
        strU = strU.substring(1, 4)
	return  strU
	}
	
    //-->
