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

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

xmenu = new Array;
xlien = new Array;

xmenu[0] = 'GEDEP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
xlien[0] = ''
xlien[0] += '<A HREF="gedep.html" CLASS=menudyn3>Présentation</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="gedep_schema.html" CLASS=menudyn3 target="_blanc">Schéma explicatif</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="devis2.html" CLASS=menudyn3>Demande de devis</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="video.html" CLASS=menudyn3 target="_blanc">Voir l\'animation</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="gedep.pdf" CLASS=menudyn3 target="_blanc">Documentation</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="eco/gedep2009_Eco.htm" CLASS=menudyn3 target="_blanc">Gedep ECO</A>';


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

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*610)+' 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=#006699 onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Verdana"><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></FONT></TD>');
}

document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#6699CC 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='#006699';
		document.all.td1.style.background='#006699';
		document.all.td2.style.background='#006699';
		document.all.td3.style.background='#006699';
		document.all.td4.style.background='#006699';
		document.all.td5.style.background='#006699';
		tditem.style.background='#6699CC';
	}
	else 
		if(document.getElementById){
			document.getElementById("td0").style.background='#006699';
			document.getElementById("td1").style.background='#006699';
			document.getElementById("td2").style.background='#006699';
			document.getElementById("td3").style.background='#006699';
			document.getElementById("td4").style.background='#006699';
			document.getElementById("td5").style.background='#006699';
			tditem.style.background='#6699CC';
		}
}

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



MajMenu(0);
