/* auteur: Solrac Somar */
/* webartplus@hotmail.com */
/* Date de création: 2001-09-27 */

var url = ""
ok = false; pick = 0;
if (navigator.userAgent.indexOf ("Mozilla") != -1) {
  ok = parseInt(navigator.appVersion.substring(0,1)) >= 3
} else {}

   if (ok == 1) {
   
   /* MENU */
      nombre1 = new Image(179,34)
      nombre1.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_2.jpg"
	  nombre1a = new Image(179,34)
      nombre1a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_2_1.jpg"
      nombre2 = new Image(179,35)
      nombre2.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_3.jpg"
	  nombre2a = new Image(179,35)
      nombre2a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_3_1.jpg"
      nombre3 = new Image(179,35)
      nombre3.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_4.jpg"
	  nombre3a = new Image(179,35)
      nombre3a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_4_1.jpg"
      nombre4 = new Image(179,35)
      nombre4.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_5.jpg"
	  nombre4a = new Image(179,35)
      nombre4a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_5_1.jpg"
	  nombre5 = new Image(179,36)
      nombre5.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_6.jpg"
	  nombre5a = new Image(179,36)
      nombre5a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_6_1.jpg"
      nombre6 = new Image(179,35)
      nombre6.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_7.jpg"
	  nombre6a = new Image(179,35)
      nombre6a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_7_1.jpg"
      nombre7 = new Image(179,34)
      nombre7.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_8.jpg"
	  nombre7a = new Image(179,34)
      nombre7a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_8_1.jpg"
      nombre12 = new Image(179,36)
      nombre12.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_9.jpg"
	  nombre12a = new Image(179,36)
      nombre12a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_9_1.jpg"
      nombre13 = new Image(179,33)
      nombre13.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_10.jpg"
	  nombre13a = new Image(179,33)
      nombre13a.src = url + "images/Interface/New/Botton/ProjetX_Interface_Botton_1_10_1.jpg"
	/* MENU */
	
	/* HOME */
      nombreIndex1 = new Image(84,79)
      nombreIndex1.src = url + "images/Index/Off/ProjetX_1.jpg"
	  nombreIndex1a = new Image(84,79)
      nombreIndex1a.src = url + "images/Index/On/ProjetX_1.jpg"
      nombreIndex2 = new Image(162,79)
      nombreIndex2.src = url + "images/Index/Off/ProjetX_2.jpg"
	  nombreIndex2a = new Image(162,79)
      nombreIndex2a.src = url + "images/Index/On/ProjetX_2.jpg"
      nombreIndex3 = new Image(68,79)
      nombreIndex3.src = url + "images/Index/Off/ProjetX_3.jpg"
	  nombreIndex3a = new Image(68,79)
      nombreIndex3a.src = url + "images/Index/On/ProjetX_3.jpg"
      nombreIndex4 = new Image(84,106)
      nombreIndex4.src = url + "images/Index/Off/ProjetX_4.jpg"
	  nombreIndex4a = new Image(84,106)
      nombreIndex4a.src = url + "images/Index/On/ProjetX_4.jpg"
      nombreIndex5 = new Image(162,106)
      nombreIndex5.src = url + "images/Index/Off/ProjetX_5.jpg"
	  nombreIndex5a = new Image(162,106)
      nombreIndex5a.src = url + "images/Index/On/ProjetX_5.jpg"
      nombreIndex6 = new Image(70,106)
      nombreIndex6.src = url + "images/Index/Off/ProjetX_6.jpg"
	  nombreIndex6a = new Image(70,106)
      nombreIndex6a.src = url + "images/Index/On/ProjetX_6.jpg"
      nombreIndex7 = new Image(84,99)
      nombreIndex7.src = url + "images/Index/Off/ProjetX_7.jpg"
	  nombreIndex7a = new Image(84,99)
      nombreIndex7a.src = url + "images/Index/On/ProjetX_7.jpg"
      nombreIndex8 = new Image(162,99)
      nombreIndex8.src = url + "images/Index/Off/ProjetX_8.jpg"
	  nombreIndex8a = new Image(162,99)
      nombreIndex8a.src = url + "images/Index/On/ProjetX_8.jpg"
      nombreIndex9 = new Image(68,99)
      nombreIndex9.src = url + "images/Index/Off/ProjetX_9.jpg"
	  nombreIndex9a = new Image(70,99)
      nombreIndex9a.src = url + "images/Index/On/ProjetX_9.jpg"
	/* HOME */
	
   }

   function un(nom) {
       if (ok == 1) {
	   
	/* MENU */
		  if ((nom == "f1")&&(pick!=1)) {document.ima1.src = nombre1a.src;}
		  if ((nom == "f2")&&(pick!=2)) {document.ima2.src = nombre2a.src;}
		  if ((nom == "f3")&&(pick!=3)) {document.ima3.src = nombre3a.src;}
		  if ((nom == "f4")&&(pick!=4)) {document.ima4.src = nombre4a.src;}
		  if ((nom == "f5")&&(pick!=5)) {document.ima5.src = nombre5a.src;}
		  if ((nom == "f6")&&(pick!=6)) {document.ima6.src = nombre6a.src;}
		  if ((nom == "f7")&&(pick!=7)) {document.ima7.src = nombre7a.src;}
		  if ((nom == "f12")&&(pick!=12)) {document.ima12.src = nombre12a.src;}
		  if ((nom == "f13")&&(pick!=13)) {document.ima13.src = nombre13a.src;}
	/* MENU */
		  
	/* HOME */
		  if ((nom == "f11")&&(pick!=11)) {
		  document.imaindex1.src = nombreIndex1a.src;
		  document.imaindex2.src = nombreIndex2a.src;
		  document.imaindex3.src = nombreIndex3a.src;
		  document.imaindex4.src = nombreIndex4a.src;
		  document.imaindex5.src = nombreIndex5a.src;
		  document.imaindex6.src = nombreIndex6a.src;
		  document.imaindex7.src = nombreIndex7a.src;
		  document.imaindex8.src = nombreIndex8a.src;
		  document.imaindex9.src = nombreIndex9a.src;
		  }
	/* HOME */
		  
          return true;
       }
   }

   function deux(nom) {
       if (ok == 1) {
	   
	/* MENU */
		  if ((nom == "f1")&&(pick!=1)) {document.ima1.src = nombre1.src;}
		  if ((nom == "f2")&&(pick!=2)) {document.ima2.src = nombre2.src;}
		  if ((nom == "f3")&&(pick!=3)) {document.ima3.src = nombre3.src;}
		  if ((nom == "f4")&&(pick!=4)) {document.ima4.src = nombre4.src;}
		  if ((nom == "f5")&&(pick!=5)) {document.ima5.src = nombre5.src;}
		  if ((nom == "f6")&&(pick!=6)) {document.ima6.src = nombre6.src;}
		  if ((nom == "f7")&&(pick!=7)) {document.ima7.src = nombre7.src;}
		  if ((nom == "f12")&&(pick!=12)) {document.ima12.src = nombre12.src;}
		  if ((nom == "f13")&&(pick!=13)) {document.ima13.src = nombre13.src;}
	/* MENU */
	
	/* HOME */
		  if ((nom == "f11")&&(pick!=11)) {
		  document.imaindex1.src = nombreIndex1.src;
		  document.imaindex2.src = nombreIndex2.src;
		  document.imaindex3.src = nombreIndex3.src;
		  document.imaindex4.src = nombreIndex4.src;
		  document.imaindex5.src = nombreIndex5.src;
		  document.imaindex6.src = nombreIndex6.src;
		  document.imaindex7.src = nombreIndex7.src;
		  document.imaindex8.src = nombreIndex8.src;
		  document.imaindex9.src = nombreIndex9.src;
		  }
	/* HOME */
		  
          return true;
       }
   }

   
function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;
}

function netie(net, ie) {
  if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1))
    return true;
else return false;
}
