       
browserVer = parseInt(navigator.appVersion);
if (browserVer >= 3) {
	version = "n3";
} else {
	version = "n2";
}

if (version != "n2")
{
	bright10 = new Image (103,34);
	bright10.src="img/bout/bout1.gif";
	dark10 = new Image (103,34);
	dark10.src="img/bout/bout1a.gif";
	
	bright11 = new Image (94,36);
	bright11.src="img/bout/bout2.gif";
	dark11 = new Image (94,36);
	dark11.src="img/bout/bout2a.gif";
	
	bright12 = new Image (97,36);
	bright12.src="img/bout/bout3.gif";
	dark12 = new Image (97,36);
	dark12.src="img/bout/bout3a.gif";
	
	bright13 = new Image (79,23);
	bright13.src="img/bout/bout4.gif";
	dark13 = new Image (79,23);
	dark13.src="img/bout/bout4a.gif";

	bright14 = new Image (55,16);
	bright14.src="img/bout/accueil.gif";
	dark14 = new Image (55,16);
	dark14.src="img/bout/accueil1.gif";
	
	bright15 = new Image (56,14);
	bright15.src="img/bout/contact.gif";
	dark15 = new Image (56,14);
	dark15.src="img/bout/contact1.gif";
	
	bright16 = new Image (42,41);
	bright16.src="img/bout/flechg.gif";
	dark16 = new Image (42,41);
	dark16.src="img/bout/flechg1.gif";
	
	bright17 = new Image (42,41);
	bright17.src="img/bout/flechd.gif";
	dark17 = new Image (42,41);
	dark17.src="img/bout/flechd1.gif";
}

function light(buttonId,buttonName)
{
	if (version != "n2")
	{
		document.images[buttonId].src=eval(buttonName+".src")
	}
}


function openwindow(laquelle) {
	x=open(laquelle+".htm","y","scrollbars=yes,toolbar=no,directories=no,menubar=no,status=no,resizable=no,width=400,height=450");
}

var posBan1=0, ban1, delaiBan1, msgBan1;
function banniere1(delai) {
  delaiBan1 = delai;
  if (posBan1 >= msgBan1.length)
    posBan1 = 0;
  else if (posBan1 == 0) {
    msgBan1 = '        ' + msgBan1;
    while (msgBan1.length < 128)
      msgBan1 += '        ' + msgBan1;
  }
  document.formBan1.Fbanniere1.value = msgBan1.substring(posBan1,posBan1+msgBan1.length);
  posBan1++;
  ban1 = setTimeout("banniere1(delaiBan1)",delai);
}

