/*
SCRIPT TROUVE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 25;

xmenu = new Array;
xlien = new Array;

xmenu[0] = '<A href="index.html" class=menudyn3>Accueil</A>';
xmenu[1] = '<A href="domaine-bellevue.html" class=menudyn3>Le Domaine</A>';
xmenu[2] = '<A href="domaine-bellevue-vin.html" class=menudyn3>De la Vigne au Vin</A>';
xmenu[3] = '<A href="vin-cotes-thongue.html" class=menudyn3>Nos Vins</A>';
xmenu[4] = '<A href="domaine-bellevue-actu.html" class=menudyn3>Actualités</A>';
xmenu[5] = '<A href="liens-coups-coeur.html" class=menudyn3>Liens et Coups de coeur</A>';
xmenu[6] = '<A href="domaine-bellevue-contact.html" class=menudyn3>Contact</A>';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[5] = ''
xlien[6] = ''

xlien[1] += '<A HREF="domaine-bellevue.html" CLASS=menudyn3>Un site privilégié</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="bellevue-cotesdethongue.html" CLASS=menudyn3>Un peu d\'histoire</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="domaine-bellevue-thongue.html" CLASS=menudyn3>La viticulture évolue, nous aussi ...</A>';
xlien[2] += '<A HREF="domaine-bellevue-vin.html" CLASS=menudyn3>Un terroir d\'une grande diversité</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="domaine-bellevue-cotes-thongue.html" CLASS=menudyn3>Cultiver la vigne...</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="vinification-bellevue.html" CLASS=menudyn3>Une vinification moderne...</A>';
xlien[3] += '<A HREF="vin-cotes-thongue.html" CLASS=menudyn3>Nos vins Blancs</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="vin-cotes-thongue.html#vinsr" CLASS=menudyn3>Nos vins Rouges</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="vin-cotes-thongue.html#bib" CLASS=menudyn3>BIB</A>';
xlien[4] += '<A HREF="domaine-bellevue-actu.html" CLASS=menudyn3></A>';
xlien[4] += '<A HREF="domaine-bellevue-salon.html" CLASS=menudyn3>Salons</A>';
xlien[5] += '<A HREF="liens-coups-coeur.html" CLASS=menudyn3></A>';
xlien[6] += '<A HREF="domaine-bellevue-contact.html" CLASS=menudyn3></A>';

document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#FFFFFF; text-decoration:none;}\nA:hover.menudyn3 {color:#000000;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"><B><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></B></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#3DAF04 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='#339900';
		}
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='#339900';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="Arial"><B>'+which+'</B></FONT>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=2 FACE="Verdana, Arial"><B>'+which+'</B></FONT></CENTER>';
			}
else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<FONT SIZE=2 FACE="Arial"><B>'+which+'</B></FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);
