function bandeau_defile (groupe, id_photo, nbr_photo, opacite, type, redirection, fondu, intervalle, typefondu) {
	var opac = opacite + 0.1;
	var opac_ie = opac*100;
	var timeout = Math.round(fondu/10);
	document.getElementById(groupe+id_photo).style.opacity = opac;
	document.getElementById(groupe+id_photo).style.filter = 'Alpha(opacity='+opac_ie+')';
	for (var i=1; i<=nbr_photo; i++) {
		if (typefondu == 0) {
			if (id_photo != i) {
				document.getElementById(groupe+i).style.opacity = 0;
				document.getElementById(groupe+i).style.filter = 'Alpha(opacity='+0+')';
			}
		} else if (typefondu == 1) {
			if ((id_photo != i) && (id_photo != i+1) && (id_photo != 1)) {
				document.getElementById(groupe+i).style.opacity = 0;
				document.getElementById(groupe+i).style.filter = 'Alpha(opacity='+0+')';
			}
		}
	}
	if (opac >= 1) {
		id_photo = id_photo + 1;
		if ((id_photo > nbr_photo) && (type == 'boucle')) id_photo = 1;
		opac = 0;
		var timeout = intervalle;
	}
	if (id_photo <= nbr_photo) setTimeout("bandeau_defile('"+groupe+"', "+id_photo+", "+nbr_photo+", "+opac+", '"+type+"', '"+redirection+"', "+fondu+", "+intervalle+", "+typefondu+")", timeout);
	else if (type == 'redirection') document.location.href=redirection;
}
