
/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 20;

xmenu = new Array;
xlien = new Array;


xmenu[0] = 'Présentation';
xmenu[1] = 'Missions';
xmenu[2] = 'Coordonnées';
xmenu[3] = '<A HREF="adherer/Formulaire_Adhesion.htm" TARGET="principal"><font color="#FFFFFF">Adhérer à la Fredon</font></A>';
xmenu[4] = 'Liens Utiles';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''


xlien[0] += '<A HREF="presentation/Organisme.htm" CLASS=menudyn3 TARGET="principal">L\'organisme</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="presentation/Gdon.htm" CLASS=menudyn3 TARGET="principal">Les GDON</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="presentation/identification.htm" CLASS=menudyn3 TARGET="principal">Identification Fredon</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="presentation/Organigramme.htm" CLASS=menudyn3 TARGET="principal">Organigramme</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="presentation/Presse.htm" CLASS=menudyn3 TARGET="principal">La presse en parle</A>';


xlien[1] += '<A HREF="missions/luttes_collectives.htm" CLASS=menudyn3 TARGET="principal">Luttes Collectives</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="missions/Lutte_raisonnee.htm" CLASS=menudyn3 TARGET="principal">Observatoire Phytosanitaire</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="missions/Securite_sanitaire.htm" CLASS=menudyn3 TARGET="principal">Sécurité sanitaire</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="missions/Diagnostic_phytosanitaire.htm" CLASS=menudyn3 TARGET="principal">Diagnostic Phytosanitaire</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="missions/Missions_service_public.htm" CLASS=menudyn3 TARGET="principal">Missions déléguées</A>';

 
xlien[2] += '<A HREF="coordonnees/Plan_Acces.htm" CLASS=menudyn3 TARGET="principal">Plan d\'Accès</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="coordonnees/Contacts.htm" CLASS=menudyn3 TARGET="principal">Contacts Fredon</A>';


xlien[3] += '<A HREF="adherer/Formulaire_Adhesion.htm" CLASS=menudyn3 TARGET="principal">Formulaire d\'adhésion</A>';


xlien[4] += '<A HREF="liens_utiles/Liste_fredon.htm" CLASS=menudyn3 TARGET="principal">Liste des Fredon</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="liens_utiles/Partenaires_fredon.htm" CLASS=menudyn3 TARGET="principal">Partenaires Fredon</A>';



document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#FFFFFF; text-decoration:none;}\nA:hover.menudyn3 {color:#FFFFFF;text-decoration:underline;}\nA:visited.menudyn3 {color:#000066;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=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=#6699CC onclick="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Verdana"><A HREF="#" onClick="return(false)" onclick="MajMenu('+i+')" CLASS=menudyn3><B>'+xmenu[i]+'</B></A></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#79A2A2 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';

	
		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';


	
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">'+which+'</FONT></CENTER>';
			}
else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<FONT SIZE=1 FACE="Verdana">'+which+'</FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);
