//SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
//Adaptation du modèle http://www.editeurjavascript.com/scripts/scripts_navigation_1_111.php
//Adaptation à un menu déroulant de 2 cases de menu avec affichage dynamique des rubriques. Peut être étendu à un nombre quelconque de cases de menu
//
//couleurs des cases de menu individualisables
// couleur de la case de la rubrique x   : colorrubx
// couleur des menus déroulants  : colormenuderoul
// couleur des cases de menu ou de rubriques quand la souris passe dessus :  colorsourispasse
colorrub0='#DFB2CC';
colorrub1='#DDB5CC';
colorrub2='#DABCCD';
colorrub3='#D6C2CD';
colorrub4='#D4C7CD';
colorrub5='#D2CBCD';
colormenuderoul='#D5D297';
colorsourispasse='#F7F298';
//SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
//Adaptation du modèle http://www.editeurjavascript.com/scripts/scripts_navigation_1_111.php

document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:0; }')
document.write('#topgauche { position:absolute;  z-index:10; }')
document.write('A:hover.ejsmenu {color:#000000; text-decoration:none;}')
document.write('A.ejsmenu {color:#000000; text-decoration:none;}')
document.write('</style>')
document.write('<div style="position:relative;height:19"onmouseover="display()" onmouseout="hide()"><DIV class=popper id=topdeck></DIV>');

// Liens
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[4] = new Array;
zlien[5] = new Array;
zlien[6] = new Array;
//&#39
zlien[2][0] = '<A HREF="particuliers_ateliers_lyon.html" CLASS=ejsmenu>Ateliers d\'art floral à Lyon</A>';
zlien[2][1] = '<A HREF="particuliers_ateliers_domicile.html" CLASS=ejsmenu>Ateliers d\'art floral à domicile</A>';
//zlien[2][2] = '<A HREF="particuliers_stages.html" CLASS=ejsmenu>Stages d\'art floral</A>';
zlien[2][2] = '<A HREF="particuliers_decorations.html" CLASS=ejsmenu>Décorations florales et végétales</A>';
zlien[2][3] = '<A HREF="particuliers_rencontres.html" CLASS=ejsmenu>Rencontres autour des fleurs</A>';
zlien[3][0] = '<A HREF="professionnels_ateliers.html" CLASS=ejsmenu>Décorations florales et végétales</A>';
zlien[3][1] = '<A HREF="professionnels_decorations.html" CLASS=ejsmenu>Décorations florales et végétales</A>';
var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { skn = document.topdeck }
else if (dom) { skn = document.getElementById("topdeck").style }
else if (iex) { skn = topdeck.style }

//Espacement avec le bloc des sous menus
skn.top = 25;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=200><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>";
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD BGCOLOR="+colormenuderoul+" onMouseOver=\"this.style.background='"+colorsourispasse+"'\" onMouseOut=\"this.style.background='"+colormenuderoul+"'\" HEIGHT=15><FONT SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;"+msg[pass]+"</FONT></TD></TR>";
	pass++;
	}
content += "</TABLE></TD></TR></TABLE>";
//petite modif au cas ou l'on ne met pas de sous-menu dans 'menu dynamique'
//juste en dessous du dernier content+=...;
if (msg==''||msg[0]=='')content='';
//fin petite modif 
if (nava)
  {
    skn.document.write(content);
	  skn.document.close();
	  skn.visibility = "visible";
  }
    else if (dom)
  {
	  document.getElementById("topdeck").innerHTML = content;
	  skn.visibility = "visible";
  }
    else if (iex)
  {
	  document.all("topdeck").innerHTML = content;
	  skn.visibility = "visible";
  }
}
function kill()
{
	skn.visibility = "hidden";
}
document.onclick = kill;
document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=720><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=19><TR>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+colorrub0+' onMouseOver="this.style.background=\''+colorsourispasse+'\';pop(zlien[0],0)" onMouseOut="this.style.background=\''+colorrub0+'\'"><A onClick="" onMouseOver="pop(zlien[0],0)" href="index.html" CLASS=ejsmenu><FONT SIZE=2 FACE="Arial">Accueil</FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+colorrub1+' onMouseOver="this.style.background=\''+colorsourispasse+'\';pop(zlien[0],120)" onMouseOut="this.style.background=\''+colorrub1+'\'"><A onClick="" onMouseOver="pop(zlien[1],120)" href="presentation.html" CLASS=ejsmenu><FONT SIZE=2 FACE="Arial">Présentation</FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+colorrub2+' onMouseOver="this.style.background=\''+colorsourispasse+'\';pop(zlien[2],240)" onMouseOut="this.style.background=\''+colorrub2+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],240)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="Arial">Particuliers</FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+colorrub3+' onMouseOver="this.style.background=\''+colorsourispasse+'\';pop(zlien[3],360)" onMouseOut="this.style.background=\''+colorrub3+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],360)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="Arial">Professionnels</FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+colorrub4+' onMouseOver="this.style.background=\''+colorsourispasse+'\';pop(zlien[0],480)" onMouseOut="this.style.background=\''+colorrub4+'\'"><A onClick="" onMouseOver="pop(zlien[4],480)" href="photos.html" CLASS=ejsmenu><FONT SIZE=2 FACE="Arial">Photos</FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+colorrub5+' onMouseOver="this.style.background=\''+colorsourispasse+'\';pop(zlien[0],600)" onMouseOut="this.style.background=\''+colorrub5+'\'"><A onClick="" onMouseOver="pop(zlien[5],600)" href="contacts.html" CLASS=ejsmenu><FONT SIZE=2 FACE="Arial">Contacts</FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV></div>')
