/*
SCRIPT TROUVE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 40;

xmenu = new Array;
xlien = new Array;

xmenu[0] = 'Technique & astuces !';
xmenu[1] = 'Les Jeep !';
xmenu[2] = 'Tracteurs anciens !';
xmenu[3] = 'Les miniatures !';
xmenu[4] = 'Le guide de navigation !';
xmenu[5] = 'Les petites annonces !';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[5] = ''
xlien[0] += '<A HREF="mot4temps.htm" CLASS=menudyn3>Le moteur 4 temps !</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="2tps.html" CLASS=menudyn3>Le moteur 2 temps !</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="6=12.html" CLASS=menudyn3>Les moteurs 2 temps de légende !</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="magazine.html" CLASS=menudyn3>Cahiers techniques !</A>';
xlien[1] += '<A HREF="http://www.willys-hotchkiss.info/" CLASS=menudyn3>Willys MB 1944 et Hotchkis M201, les jumelles !</A>';
xlien[2] += '<A HREF="tractold.htm" CLASS=menudyn3>Tracteurs de légende !</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="bienvenue.htm" CLASS=menudyn3>Les "mono" 2 tps !</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="old_lanz.htm" CLASS=menudyn3>Les LANZ Bulldog, accueil & menu !</A>';
xlien[2] += ' | '
xlien[3] += '<A HREF="index_mini.htm" CLASS=menudyn3>Les tracteurs miniatures !</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="menu_miniatures/menu_mini.html" CLASS=menudyn3>Les miniatures générales !</A>';
xlien[4] += '<A HREF="plan.htm" CLASS=menudyn3>Le plan du site !</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="http://www.ecoagri2000.com" CLASS=menudyn3>La mécanistion agricole & l\'écologie !</A>';
xlien[5] += '<A HREF="annonces.html" CLASS=menudyn3>Petites annonces en ligne !</A>';
xlien[5] += ' | '
xlien[5] += '<A HREF=http://www.i-services.net/membres/annonces/annonces.php?uid=140984&sid=86421!" CLASS=menudyn3>Les manifestations !</A>';
document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#FFFF00; text-decoration:none;}\nA:hover.menudyn3 {color:#CC0000;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*100)+' BGCOLOR=#000000> <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%> <TR>');

for(i=0;i<xlien.length;i++)

{
document.write('<TD BGCOLOR=#006600 onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=2 FACE="Arial Black"><I><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></I></FONT></TD>');
}
document.write('</TR> <TR> <TD COLSPAN='+(xlien.length)+' BGCOLOR=#B6B6B6 HEIGHT='+hauteurcadre+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+hauteurcadre+'><layer id="dynamenu32" width=100% height='+hauteurcadre+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD> </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
{
if(document.all)
{
document.all.td0.style.background='#006600';
document.all.td1.style.background='#006600';
document.all.td2.style.background='#006600';
document.all.td3.style.background='#006600';
document.all.td4.style.background='#006600';
document.all.td5.style.background='#006600';
tditem.style.background='#B6B6B6';
}
else if(document.getElementById)
{
document.getElementById("td0").style.background='#006600';
document.getElementById("td1").style.background='#006600';
document.getElementById("td2").style.background='#006600';
document.getElementById("td3").style.background='#006600';
document.getElementById("td4").style.background='#006600';
document.getElementById("td5").style.background='#006600';
tditem.style.background='#B6B6B6';
}
}

function MajMenu(menu)
{
which = xlien[menu];
if (document.layers){
document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="Arial Black"><I>'+which+'</I></FONT>')
document.dynamenu31.document.dynamenu32.document.close()
}
else if (document.getElementById)
{
document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=2 FACE="Arial Black">'+which+'</FONT></CENTER>';
}
else if (document.all){
dynamenu33.innerHTML='&nbsp;'
dynamenu33.innerHTML='<FONT SIZE=2 FACE="Arial Black"><I>'+which+'</I></FONT>';
}
}
if (document.getElementById)
colorIt(document.getElementById("td0"));
else if (document.all){
colorIt(document.all.td0);
}
MajMenu(0);