//--------------------------------------------------------------------------
//-- DEBUT CODE SLIDE LOGO COMPAGNIES 
//--------------------------------------------------------------------------
gauche = 0;
var_speed = 2000;
nav = navigator.appName.substring(0,3);
ver = navigator.appVersion.substring(0,1);
w1 = 100;
URLi = new Array;
URLl = new Array;
URLi[0] = "./images/compagnie/AMIS.gif";
URLl[0] = "#";
URLi[1] = "./images/compagnie/ASAF.gif";
URLl[1] = "#";
URLi[2] = "./images/compagnie/VAUBAN.gif";
URLl[2] = "#";
URLi[3] = "./images/compagnie/SWISS.gif";
URLl[3] = "#";
a = 1;
if (ver >=3)
	{
i0 = new Image;
	i0.src=URLi[0];
i1 = new Image;
	i1.src=URLi[1];
i2 = new Image;
	i2.src=URLi[2];
i3 = new Image;
	i3.src=URLi[3];
}
function start()
	{
	if (nav == "Mic" && ver >= 4)
		{
		startie4()
		}
	if (nav == "Net" && ver >=3)
		{
		startn3()
		}
	}
function startie4()
	{
	document.i1.width = w1;
	document.i2.width = 100-w1;
	if (w1 == 0)
		{
		if (a == 4)
			{
			a = 0;
			}
		pass=1;
		document.i1.src = URLi[a];
		gauche = a;
		speed = var_speed;
		a++;
		}
	if (w1 == 100)
		{
		if (a == 4)
			{
			a = 0;
			}
		pass=0;
		document.i2.src = URLi[a];
		droite = a;
		speed = var_speed;
		a++;
		}
	if (w1!=0 && w1 != 100)
		{
		speed = 1;
		}
	if (pass == 0)
		{
		w1 -= 5;
		}
	else 
		{
		w1 += 5;
		}
tempo7 = setTimeout("start()", speed);
	}
function ImgDest()
	{
	document.location.href=URLl[a]
	}
function startn3()
	{
	if (a == 3)
		{
		a = -1;
		}
	a++;
	document.defil.src = URLi[a];
	tempo7 = setTimeout("startn3()",var_speed);
	}
function DestIe4(ImgNb)
	{
	if (ImgNb == 1)
		{
		document.location.href = URLl[gauche];
		}
	else
		{
		document.location.href = URLl[droite];
		}
	}
