police = "Verdana";
taillePolice = 1;
couleurPolice = "#FFFFFF";
couleurCelluleFoncee = "#A8848F";
couleurCelluleClair = "#C99EAB";
hauteurcadre = 17;
largeurCellule = 210;

xmenu = new Array('Regard sur ...','1400 et plus');
xlien = new Array;

xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[0] += '.:: <A HREF="regard.html" CLASS=menudyn3>Regard sur ...</A>';
xlien[0] += ' ::.';
xlien[1] += '.:: <A HREF="1400.html" CLASS=menudyn3>1400 et plus</A>';
xlien[1] += ' ::: '
xlien[1] += '<A HREF="visites virtuelles.html" CLASS=menudyn3>Visites virtuelles</A>';
xlien[1] += ' ::: '
xlien[1] += '<A HREF="meteo.html" CLASS=menudyn3>Météo</A>';
xlien[1] += ' ::: '
xlien[1] += '<A HREF="le-grand-lac.html" CLASS=menudyn3>Le grand lac</A>';
xlien[1] += ' ::: '
xlien[1] += '<A HREF="le-combeynot.html" CLASS=menudyn3>Le Combeynot</A>';
xlien[1] += ' ::: '
xlien[1] += '<A HREF="les-muandes.html" CLASS=menudyn3>Les Muandes</A> ::.';



largeur = screen.width;
gauche5= (largeur-(xmenu.length*largeurCellule))/2;
haut5=5;

document.write('<STYLE TYPE="text/css">#menu5 { position:absolute;top:'+haut5+';left:'+gauche5+'; }</STYLE>');

document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:'+couleurPolice+'; text-decoration:none}\nA:hover.menudyn3 {color:'+couleurPolice+';text-decoration:none;}\n</STYLE>');

width= xmenu.length*largeurCellule;

document.write('<SPAN ID=menu5><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH='+width+'><tr><td colspan='+(xmenu.length)+' BGCOLOR='+couleurCelluleFoncee+' ALIGN=center><b> <FONT SIZE="'+taillePolice+'" FACE="'+police+'" color="'+couleurPolice+'"><a href="http://www.regard1400.com" CLASS=menudyn3>Bonjour et bienvenue sur regard1400.com</a></font></b></td></tr> <TR>');

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

{
	document.write('<TD BGCOLOR='+couleurCelluleFoncee+' onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'> <b><FONT SIZE="'+taillePolice+'" FACE="'+police+'">.:: <A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A> ::.</FONT></b></TD>');
	}


document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR='+couleurCelluleClair+' 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></span>');

function colorIt(tditem)
	{
	if(document.all)
		{
			document.all.td0.style.background=couleurCelluleFoncee;
	document.all.td1.style.background=couleurCelluleFoncee;
	document.all.td2.style.background=couleurCelluleFoncee;
		tditem.style.background=couleurCelluleClair;
		}
else if(document.getElementById)
	{
			document.getElementById("td0").style.background=couleurCelluleFoncee;
	document.getElementById("td1").style.background=couleurCelluleFoncee;
	document.getElementById("td2").style.background=couleurCelluleFoncee;
tditem.style.background=couleurCelluleClair;
	}
}

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

ie4=document.all
ns6=document.getElementById&&!document.all
ns4=document.layers

function placeMenu5() {
if (ie4) {menu5.style.pixelTop=document.body.scrollTop+haut5}
else if (ns6) {document.getElementById("menu5").style.top=window.pageYOffset+haut5}
else if (ns4) {eval(document.menu5.top=eval(window.pageYOffset+haut5));}
if(ie4 || ns6 || ns4)
	setTimeout("placeMenu5()",1);
}

window.onload = placeMenu5;