
function OpenWin(URL,width,height,nom)
{
	window.open(URL,nom,"toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=" + width + ",height=" + height + ",resizable=no");
}

function OpenWin2(URL,width,height,nom)
{
	window.open(URL,nom,"toolbar=no,location=no,status=no,menubar=yes,scrollbars=yes,width=" + width + ",height=" + height + ",resizable=yes");
}

var isIE = navigator.userAgent.toLowerCase().indexOf('msie')!=-1 ;


function diapo(num)
	{
	if(document.getElementById)
		{
		if (isIE)
		{	
		   // imageid.style.filter="blendTrans(duration=3)";
		   // imageid.filters.blendTrans.Apply();
		   // imageid.src = photo[num];
		   // imageid.filters.blendTrans.Play();
			texte.innerHTML = "<CENTER><A HREF ='"+id[num]+"'> <IMG SRC='"+photo[num]+"' BORDER=0 width=180 alt='"+nom[num]+"'><A></CENTER>";
		    			}
		else 
		{	
			document.getElementById("photo").innerHTML = "<IMG SRC='"+photo[num]+"' BORDER=0 class=border1 width=180></CENTER>";
		}
		//document.getElementById("texte").innerHTML = "<CENTER>"+titre+"<br><br></CENTER>"+texte];
		num++;
		if(num==(photo.length))num = 0;
		setTimeout("diapo("+num+")", 4000); //toutes les 2sec


		}
	}

