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

xmenu = new Array;
xlien = new Array;

xmenu[0] = '<A HREF="http://www.redev.info/foncier/index.php" CLASS=menudyn3>Quoi de neuf ?</A>';
xmenu[1] = '<A HREF="http://www.redev.info/foncier/Actualites/inform.php" CLASS=menudyn3>S\'informer</A>';
xmenu[2] = '<A HREF="http://www.redev.info/foncier/Doc/doc.php" CLASS=menudyn3>Se documenter</A>';
xmenu[3] = '<A HREF="http://www.redev.info/foncier/Conn/present.php" CLASS=menudyn3>Nous connaître</A>';

xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''



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 align=center CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*130)+' BGCOLOR=#FFFFFF>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%>  <TR>');

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

{
	document.write('<TD BGCOLOR=#993300 onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=2 FACE="Verdana"><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=#FFCC00 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='#993300';
	document.all.td1.style.background='#993300';
	document.all.td2.style.background='#993300';
	document.all.td3.style.background='#993300';
	document.all.td4.style.background='#993300';
		tditem.style.background='#FFCC00';
		}
else if(document.getElementById)
	{
			document.getElementById("td0").style.background='#993300';
	document.getElementById("td1").style.background='#993300';
	document.getElementById("td2").style.background='#993300';
	document.getElementById("td3").style.background='#993300';
	document.getElementById("td4").style.background='#993300';

tditem.style.background='#FFCC00';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="Verdana"><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="Verdana"><B>'+which+'</B></FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);



