function creer_diaporama(id_zoom,id_vignettes){//arguments facultatifs =>id_fleche_gauche,id_fleche_droite	zoom=document.getElementById(arguments[0]);	o=document.getElementById(id_vignettes).firstChild;	t_images=zoom.t_images=new Array();	zoom.id_img=0;	if(o.tagName=="IMG" && o.src!="images/commun/spacer.gif"){		zoom.t_images.push(o);		o.zoom=zoom;	}	while(o=o.nextSibling){		if(o.tagName=="IMG"){			if(o.src!="images/commun/spacer.gif"){			zoom.t_images.push(o);			}			else{				o.style.display="none";			}		}	}		for(cpt=0;cpt<t_images.length;cpt++){		o=t_images[cpt];		o.zoom=zoom;		o.id_img=cpt;		o.onclick=function(){			src=this.src.split("/");			fichier=src.pop();			this.zoom.src=src.join("/")+"/"+fichier.replace('mini','');			this.zoom.id_img=this.id_img;		}		o.onmouseover=function(){			this.className="diaporama_preview_over";		}		o.onmouseout=function(){			this.className="diaporama_preview_out";		}		o.className="diaporama_preview_out";	}		if(fleche_gauche=document.getElementById(arguments[2]))	{		fleche_gauche.zoom=zoom		fleche_gauche.onclick=function()		{			this.zoom.id_img--			if(this.zoom.id_img<0){				this.zoom.id_img=this.zoom.t_images.length-1			}			src=this.zoom.t_images[this.zoom.id_img].src.split("/");			fichier=src.pop();			this.zoom.src=src.join("/")+"/"+fichier.replace('mini','');		}	}		if(fleche_droite=document.getElementById(arguments[3]))	{		fleche_droite.zoom=zoom		fleche_droite.onclick=function()		{			this.zoom.id_img++			if(this.zoom.id_img==this.zoom.t_images.length){				this.zoom.id_img=0			}			src=this.zoom.t_images[this.zoom.id_img].src.split("/");			fichier=src.pop();			this.zoom.src=src.join("/")+"/"+fichier.replace('mini','');		}	}}
