var a = 0;
imgPath = new Array;
SiClickGoTo = new Array;
imgName = new Array;
i0 = new Image;
i0.src='../generation/generer_miniature.php?pic=membres/photos/membre-146/eclipses/002.jpg&largeur=234&hauteur=150';
i0.name='Eclipse de Soleil (auteur : Eclipse)';

SiClickGoTo[0] = 'album_photo.php?id_membre=146&categorie=eclipses&id_photo=67';
imgPath[0] = i0.src;
imgName[0] = i0.name;

i1 = new Image;
i1.src='../generation/generer_miniature.php?pic=membres/photos/membre-146/eclipses/001.jpg&largeur=234&hauteur=150';
i1.name='Eclipse de Soleil (auteur : Eclipse)';

SiClickGoTo[1] = 'album_photo.php?id_membre=146&categorie=eclipses&id_photo=66';
imgPath[1] = i1.src;
imgName[1] = i1.name;

i2 = new Image;
i2.src='../generation/generer_miniature.php?pic=membres/photos/membre-146/eclipses/000.jpg&largeur=234&hauteur=150';
i2.name='Eclipse (auteur : Eclipse)';

SiClickGoTo[2] = 'album_photo.php?id_membre=146&categorie=eclipses&id_photo=65';
imgPath[2] = i2.src;
imgName[2] = i2.name;

i3 = new Image;
i3.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/galaxies/000.jpg&largeur=234&hauteur=150';
i3.name='Galaxie d\'andromède (auteur : webmaster)';

SiClickGoTo[3] = 'album_photo.php?id_membre=1&categorie=galaxies&id_photo=57';
imgPath[3] = i3.src;
imgName[3] = i3.name;

i4 = new Image;
i4.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/planetaire/001.jpg&largeur=234&hauteur=150';
i4.name='Cratère lunaire (auteur : webmaster)';

SiClickGoTo[4] = 'album_photo.php?id_membre=1&categorie=planetaire&id_photo=56';
imgPath[4] = i4.src;
imgName[4] = i4.name;

i5 = new Image;
i5.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/planetaire/000.jpg&largeur=234&hauteur=150';
i5.name='Vu sur mars de Phoenix (auteur : webmaster)';

SiClickGoTo[5] = 'album_photo.php?id_membre=1&categorie=planetaire&id_photo=55';
imgPath[5] = i5.src;
imgName[5] = i5.name;

i6 = new Image;
i6.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/eclipses/002.jpg&largeur=234&hauteur=150';
i6.name='Éruption solaire (auteur : webmaster)';

SiClickGoTo[6] = 'album_photo.php?id_membre=1&categorie=eclipses&id_photo=54';
imgPath[6] = i6.src;
imgName[6] = i6.name;

i7 = new Image;
i7.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/eclipses/001.jpg&largeur=234&hauteur=150';
i7.name='Eclipse de lune (auteur : webmaster)';

SiClickGoTo[7] = 'album_photo.php?id_membre=1&categorie=eclipses&id_photo=53';
imgPath[7] = i7.src;
imgName[7] = i7.name;

i8 = new Image;
i8.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/eclipses/000.jpg&largeur=234&hauteur=150';
i8.name='Eclipse au temple appolo (auteur : webmaster)';

SiClickGoTo[8] = 'album_photo.php?id_membre=1&categorie=eclipses&id_photo=52';
imgPath[8] = i8.src;
imgName[8] = i8.name;

i9 = new Image;
i9.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/aurores/001.jpg&largeur=234&hauteur=150';
i9.name='Orage magnétique (auteur : webmaster)';

SiClickGoTo[9] = 'album_photo.php?id_membre=1&categorie=aurores&id_photo=51';
imgPath[9] = i9.src;
imgName[9] = i9.name;

i10 = new Image;
i10.src='../generation/generer_miniature.php?pic=membres/photos/membre-1/aurores/000.jpg&largeur=234&hauteur=150';
i10.name='Une aurore borèale a Quebec (auteur : webmaster)';

SiClickGoTo[10] = 'album_photo.php?id_membre=1&categorie=aurores&id_photo=50';
imgPath[10] = i10.src;
imgName[10] = i10.name;

a = 0;


function StartAnim()
{
	document.getElementById('divPhotosID').innerHTML='<a href="javascript:ImgDest()" id="linkPhotosID"><img src="Array[0]" border="0" alt="Array[1]" title="Array[1]" id="imgPhotosID" height="210" width="280"</a>';
	defilimg();
}


function ImgDest()
{
	document.getElementById('linkPhotosID').href = SiClickGoTo[a-1];
	return document.getElementById('linkPhotosID').href;
}


function defilimg()
{
	if (a == 10)
	{
		a = 0;
	}
	document.getElementById('imgPhotosID').src = imgPath[a];
	document.getElementById('imgPhotosID').name = imgName[a];
	document.getElementById('imgPhotosID').alt = imgName[a];
	document.getElementById('imgPhotosID').title = imgName[a];
	tempo3 = setTimeout('defilimg()',5000);
	a++;
}