/* Augmenter ou diminuer hauteur menu au besoin */
hauteurmenu = 40;

xmenu = new Array;
xlien = new Array;

xmenu[0] = '<A HREF="http://www.quebeceducation.org" CLASS=menudyn5>HOME</A>';
xmenu[1] = '<A HREF="http://www.quebeceducation.org/en/aqea00en.html" CLASS=menudyn5>AQEA</A>';
xmenu[2] = '<A HREF="http://www.quebeceducation.org/en/education01en.html" CLASS=menudyn5>EDUCATION</A>';
xmenu[3] = '<A HREF="http://www.quebeceducation.org/en/quebec01en.html" CLASS=menudyn5>QUÉBEC</A>';
xmenu[4] = '<A HREF="http://www.quebeceducation.org/en/contact00en.html" CLASS=menudyn5>CONTACT</A>';

xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[1] += '<A HREF="http://www.quebeceducation.org/en/aqea01en.html" CLASS=menudyn5>About us</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.quebeceducation.org/en/aqea02en.html" CLASS=menudyn5>Mission</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.quebeceducation.org/en/aqea03en.html" CLASS=menudyn5>Services</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.quebeceducation.org/en/aqea04en.html" CLASS=menudyn5>Service Fees</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.quebeceducation.org/en/aqea05en.html" CLASS=menudyn5>Why us?</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="http://www.quebeceducation.org/en/partner01en.html" CLASS=menudyn5>Partners</A>';
xlien[1] += ' | '
xlien[2] += '<A HREF="http://www.quebeceducation.org/en/education01en.html" CLASS=menudyn5>Education system: intro</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.quebeceducation.org/en/education02en.html" CLASS=menudyn5>Education system: map</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="http://www.quebeceducation.org/en/education01en.html#college" CLASS=menudyn5>College + University</A>';
xlien[2] += ' | '
xlien[3] += '<A HREF="http://www.quebeceducation.org/en/quebec01en.html" CLASS=menudyn5>Québec in brief</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="http://www.quebeceducation.org/en/quebec02en.html" CLASS=menudyn5>Why Québec</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="http://www.quebeceducation.org/en/quebec02en.html#clindoeil" CLASS=menudyn5>Map</A>';
xlien[3] += ' | '
xlien[4] += '<A HREF="http://www.quebeceducation.org/en/contact01en.html" CLASS=menudyn5>Yves Bernard</A>';
xlien[4] += ' | '
document.write('<STYLE TYPE="text/css">\nA.menudyn5 {color:#0000FF; text-decoration:none;}\nA:hover.menudyn5 {color:#000000;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*125)+' BGCOLOR=#8080FF>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%>  <TR>');

for(i=0;i<xlien.length;i++)

{
	document.write('<TD BGCOLOR=#93A7EF onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=2 FACE="Verdana, Arial"><B><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn5>'+xmenu[i]+'</A></B></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#BCD0EB HEIGHT='+hauteurmenu+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+hauteurmenu+'><layer id="dynamenu32" width=100% height='+hauteurmenu+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD>  </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
			document.all.td0.style.background='#93a7ef';
	document.all.td1.style.background='#93a7ef';
	document.all.td2.style.background='#93a7ef';
	document.all.td3.style.background='#93a7ef';
	document.all.td4.style.background='#93a7ef';
		tditem.style.background='#93a7ef';
		}
else if(document.getElementById)
	{
			document.getElementById("td0").style.background='#BCD0EB';
	document.getElementById("td1").style.background='#BCD0EB';
	document.getElementById("td2").style.background='#BCD0EB';
	document.getElementById("td3").style.background='#BCD0EB';
	document.getElementById("td4").style.background='#BCD0EB';
tditem.style.background='#FFFFFF';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="Verdana, 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);
