// Le Jeva Script

// Fonctions globales
function changimage(nomdimage, nouvelle ) 
{document.getElementById(nomdimage).src=nouvelle ;}

function changevisib(calque,vis)
  {
  var vispasvis;
  (vis==1)?(vispasvis='visible'):(vispasvis='hidden');
  document.getElementById(calque).style.visibility=vispasvis ;
  }

function switch_calque(nom_calque)
{
var X=document.getElementById(nom_calque);
(X.style.visibility=='hidden')?(X.style.visibility='visible'):(X.style.visibility='hidden');
}

// Fonctions spécifiques MENU
titre=new Array("RETOUR &Agrave; LA PAGE D'ACCUEIL","FLEURONS","FILETS","PALETTES ET ROULETTES POUR LE LIVRE","ROULETTES POUR LA GAINERIE","CARACT&Egrave;RES EN BRONZE","FEUILLES ET ROULEAUX D'OR","AUTRES OUTILS DE MARQUAGE","CONTACT !");

function coucou(n){ if (n!=k) document.getElementsByName('rubrique')[0].innerHTML = '<div class="menu1">'+titre[n]+'</div>';}

function retour()
{document.getElementsByName('rubrique')[0].innerHTML = '<div align="center">'+titre[k]+'</div>';}
// ne marche pas pour Mozilia avec "getElementById" ! => définir un attribut "name" pour le calque.

// Ecriture du calque "zone", image de fond pour maps.
document.write('<div id="zone" style="position:absolute; left:0; top:0; width:760px; height:50px; z-index:1;"> <div align="left"><img src="../icones/vide.gif" width="760" height="50" usemap="#Map" border="0"> </div> </div>');

// Ecriture des maps.
document.write('<map name="Map"> <area shape="rect" coords="3,3,123,53" href="../index.htm" onMouseOver="coucou(0)" onMouseOut="retour()"> <area shape="rect" coords="122,0,202,50" href="../fleurons/fleurons.htm" onMouseOver="coucou(1)" onMouseOut="retour()" onClick="coucou(2)"> <area shape="rect" coords="200,2,280,52" href="../filets/filets.htm" onMouseOver="coucou(2)" onMouseOut="retour()" onClick="init(3)"> <area shape="rect" coords="282,0,382,50" href="../palettes/palettes.htm" onMouseOver="coucou(3)" onMouseOut="retour()" onClick="init(4)"> <area shape="rect" coords="381,2,481,52" href="../roulettes/roulettes.htm" onMouseOver="coucou(4)" onMouseOut="retour()" onClick="init(5)"> <area shape="rect" coords="480,1,560,51" href="../polices/polices.htm" onMouseOver="coucou(5)" onMouseOut="retour()" onClick="init(6)"> <area shape="rect" coords="560,1,630,51" href="../feuillesdor/feuillesdor.htm" onMouseOver="coucou(6)" onMouseOut="retour()" onClick="init(7)"> <area shape="rect" coords="630,0,680,50" href="../plus/plus.htm" onMouseOver="coucou(7)" onMouseOut="retour()" onClick="init(8)"> <area shape="rect" coords="679,0,759,50" href="../contact/contact.htm" onMouseOver="coucou(8)" onMouseOut="retour()"> </map>');

// Ecriture du tableau des images
document.write('<table width="760px" border="0" cellspacing="0"> <tr valign="bottom">  <td height="50" width="120px" valign="middle">  <div align="center"><a href="../index.htm" target="_top"> <img src="../icones/accueil.gif" width="100" height="17" border="0"></a></div> </td> <td width="80px">  <div align="center"><img src="../icones/alde2.gif" width="43" height="50" align="bottom"></div> </td> <td width="80px">  <div align="center"><img src="../icones/filets.gif" width="63" height="45"></div> </td> <td width="100px">  <div align="center"><img src="../icones/palette.gif" width="90" height="45"></div> </td> <td width="100px">  <div align="center"><img src="../icones/roulette.gif" width="90" height="45"></div> </td> <td width="80px">  <div align="center"><img src="../icones/Amini.gif" width="50" height="48" border="0" align="top"></div> </td> <td width="70px">  <div align="center"><img src="../icones/or.gif" width="35" height="40" align="bottom">  </div> </td> <td width="50px" valign="bottom"> <div align="center"><img src="../icones/plus.gif" width="50" height="40"></div> </td> <td width="80px" valign="bottom"> <div align="center"><img src="../icones/contact.gif" width="63" height="40" border="0" align="bottom"></div> </td> </tr> </table>');

document.write('<div id="rubrique" name="rubrique">');
retour(k);
document.write('</div>');