/* AUTEUR: BtoBnet */
/* DATE DE CREATION: 22/08/00 */
mie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
mns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 ))

if (mns4) {
	layerRef="document.layers";
	styleRef="";
} else {
	layerRef="document.all";
	styleRef=".style";
}
function afficheCalque(calque)
{
eval(layerRef + '["' + calque +'"]' + styleRef + '.visibility = "visible"');
}

function cacheCalque(calque)
{
eval(layerRef + '["' + calque +'"]' + styleRef + '.visibility = "hidden"');
}

function AfficherInfo (Affichage){
window.status = Affichage;
}

ok = false; 
if (navigator.userAgent.indexOf ("Mozilla") != -1) {
  ok = parseInt(navigator.appVersion.substring(0,1)) >= 3
} else {}

   if (ok == 1) {
      menu1 = new Image(85, 85)
      menu1.src = "image/boutacc1.gif"
      menu1b = new Image(85, 85)
      menu1b.src = "image/boutacc0.gif"
	  indx1 = new Image(600, 25)
	  indx1.src = "image/ind_1.gif"
      menu2 = new Image(85, 85)
      menu2.src = "image/boutpres1.gif"
      menu2b = new Image(85, 85)
      menu2b.src = "image/boutpres0.gif"
	  indx2 = new Image(600, 25)
	  indx2.src = "image/ind_2.gif"
      menu3 = new Image(85, 85)
      menu3.src = "image/boutmarb1.gif"
      menu3b = new Image(85, 85)
      menu3b.src = "image/boutmarb0.gif"
	  indx3 = new Image(600, 25)
	  indx3.src = "image/ind_3.gif"
      menu4 = new Image(85, 85)
      menu4.src = "image/boutserv1.gif"
      menu4b = new Image(85, 85)
      menu4b.src = "image/boutserv0.gif"
	  indx4 = new Image(600, 25)
	  indx4.src = "image/ind_4.gif"
      menu5 = new Image(85, 85)
      menu5.src = "image/boutappl1.gif"
      menu5b = new Image(85, 85)
      menu5b.src = "image/boutappl0.gif"
	  indx5 = new Image(600, 25)
	  indx5.src = "image/ind_5.gif"
      menu6 = new Image(85, 85)
      menu6.src = "image/BOUTfich1.gif"
      menu6b = new Image(85, 85)
      menu6b.src = "image/BOUTfich0.gif"
	  indx6 = new Image(600, 25)
	  indx6.src = "image/ind_6.gif"
	  menu7 = new Image(85, 85)
      menu7.src = "image/boutcom1.gif"
      menu7b = new Image(85, 85)
      menu7b.src = "image/boutcom0.gif"
	  indx7 = new Image(600, 25)
	  indx7.src = "image/ind_7.gif"
   }
   function un(nom) {
       if (ok == 1) {
          if ((nom == "m1")&&(pick!=1)) {document.menu1.src = menu1b.src;document.indx.src = indx1.src;}
          if ((nom == "m2")&&(pick!=2)) {document.menu2.src = menu2b.src;document.indx.src = indx2.src;}
          if ((nom == "m3")&&(pick!=3)) {document.menu3.src = menu3b.src;document.indx.src = indx3.src;}
          if ((nom == "m4")&&(pick!=4)) {document.menu4.src = menu4b.src;document.indx.src = indx4.src;}
          if ((nom == "m5")&&(pick!=5)) {document.menu5.src = menu5b.src;document.indx.src = indx5.src;}
          if ((nom == "m6")&&(pick!=6)) {document.menu6.src = menu6b.src;document.indx.src = indx6.src;}
		  if ((nom == "m7")&&(pick!=7)) {document.menu7.src = menu7b.src;document.indx.src = indx7.src;}

          return true;
       }
   }
   function deux(nom) {
       if (ok == 1) {
          if ((nom == "m1")&&(pick!=1)) {document.menu1.src = menu1.src;document.indx.src = indx1.src;}
          if ((nom == "m2")&&(pick!=2)) {document.menu2.src = menu2.src;document.indx.src = indx2.src;}
          if ((nom == "m3")&&(pick!=3)) {document.menu3.src = menu3.src;document.indx.src = indx3.src;}
          if ((nom == "m4")&&(pick!=4)) {document.menu4.src = menu4.src;document.indx.src = indx4.src;}
          if ((nom == "m5")&&(pick!=5)) {document.menu5.src = menu5.src;document.indx.src = indx5.src;}
          if ((nom == "m6")&&(pick!=6)) {document.menu6.src = menu6.src;document.indx.src = indx6.src;} 
			if ((nom == "m7")&&(pick!=7)) {document.menu7.src = menu7.src;document.indx.src = indx7.src;}

if (pick==1) {document.indx.src=indx1.src;}
if (pick==2) {document.indx.src=indx2.src;}
if (pick==3) {document.indx.src=indx3.src;}
if (pick==4) {document.indx.src=indx4.src;}
if (pick==5) {document.indx.src=indx5.src;}
if (pick==6) {document.indx.src=indx6.src;}
if (pick==7) {document.indx.src=indx7.src;}
          return true;
       }
   }
   function trois(nom) {
       if (ok == 1) {
          if (pick==1) {document.menu1.src = menu1.src;document.indx.src = indx1.src;}
          if (pick==2) {document.menu2.src = menu2.src;document.indx.src = indx2.src;}
          if (pick==3) {document.menu3.src = menu3.src;document.indx.src = indx3.src;}
          if (pick==4) {document.menu4.src = menu4.src;document.indx.src = indx4.src;}
          if (pick==5) {document.menu5.src = menu5.src;document.indx.src = indx5.src;}
          if (pick==6) {document.menu6.src = menu6.src;document.indx.src = indx6.src;}
		  if (pick==7) {document.menu7.src = menu7.src;document.indx.src = indx7.src;}
          if ((nom == "m1")&&(pick!=1)) {document.menu1.src = menu1b.src;document.indx.src = indx1.src; pick=1}
          if ((nom == "m2")&&(pick!=2)) {document.menu2.src = menu2b.src;document.indx.src = indx2.src; pick=2}
          if ((nom == "m3")&&(pick!=3)) {document.menu3.src = menu3b.src;document.indx.src = indx3.src; pick=3}
          if ((nom == "m4")&&(pick!=4)) {document.menu4.src = menu4b.src;document.indx.src = indx4.src; pick=4}

          if ((nom == "m5")&&(pick!=5)) {document.menu5.src = menu5b.src;document.indx.src = indx5.src; pick=5}
          if ((nom == "m6")&&(pick!=6)) {document.menu6.src = menu6b.src;document.indx.src = indx6.src; pick=6}
			if ((nom == "m7")&&(pick!=7)) {document.menu7.src = menu7b.src;document.indx.src = indx7.src; pick=7}
          return true;
       }
   }
   
function sesame(a){
	var chemin="ssfam.asp?fam=" +a;
	var windowoption="location=no,scrollbars=yes,menubars=no,toolbars=no,width=250,height=600";
	window.open(chemin,"",windowoption);
	}
