/*
Menu dynamique haut de page
*/


posYmenu = 0;
bgcolor='#000000';
bgcolor2='#AAAA9E';
needcenter =true;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(600/2);
	else
		posXmenu = (window.innerWidth/2)-(600/2); 
	}
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#topgauche { position:absolute; top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:10; }')
document.write('A:hover.ejsmenu {color:#C2C1C0; text-decoration:none;}')
document.write('A:visited.ejsmenu {color:#FFFFFF; text-decoration:none;}')
document.write('A:link.ejsmenu {color:#FFFFFF; text-decoration:none;}')
document.write('A:active.ejsmenu {color:#FFFFFF; text-decoration:none;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[4] = new Array;
zlien[5] = new Array;
zlien[6] = new Array;
zlien[0][0] = '<A HREF="vie.htm" CLASS=ejsmenu>Introduction</A>';
zlien[0][1] = '<A HREF="printemps.htm" CLASS=ejsmenu>Printemps</A>';
zlien[0][2] = '<A HREF="ete.htm" CLASS=ejsmenu>Et&eacute;</A>';
zlien[0][3] = '<A HREF="automne.htm" CLASS=ejsmenu>Automne</A>';
zlien[0][4] = '<A HREF="hiver.htm" CLASS=ejsmenu>Hiver</A>';
zlien[0][5] = '<A HREF="habitat.htm" CLASS=ejsmenu>Habitat</A>';
zlien[0][6] = '<A HREF="observation.htm" CLASS=ejsmenu>Observation</A>';
zlien[0][7] = '<A HREF="nourriture.htm" CLASS=ejsmenu>Nourritures</A>';
zlien[0][8] = '<A HREF="brame.htm" CLASS=ejsmenu>Br&acirc;me</A>';
zlien[1][0] = '<A HREF="especes.htm" CLASS=ejsmenu>Esp&egrave;ces</A>';
zlien[1][1] = '<A HREF="http://cerfs.free.fr/choixidentite.php3" CLASS=ejsmenu>Par genre</A>';
zlien[1][2] = '<A HREF="http://cerfs.free.fr/choixidentitepays.php3?region1=amerique" CLASS=ejsmenu>En am&eacute;rique</A>';
zlien[1][3] = '<A HREF="http://cerfs.free.fr/choixidentitepays.php3?region1=asie" CLASS=ejsmenu>En asie</A>';
zlien[1][4] = '<A HREF="http://cerfs.free.fr/choixidentitepays.php3?region1=australie" CLASS=ejsmenu>En australie</A>';
zlien[1][5] = '<A HREF="http://cerfs.free.fr/choixidentitepays.php3?region1=europe" CLASS=ejsmenu>En europe</A>';
zlien[2][0] = '<A HREF="histoire.htm" CLASS=ejsmenu>Introduction</A>';
zlien[2][1] = '<A HREF="paleolitique.htm" CLASS=ejsmenu>Pal&eacute;olitique</A>';
zlien[2][2] = '<A HREF="antiquite.htm" CLASS=ejsmenu>Antiquit&eacute;</A>';
zlien[2][3] = '<A HREF="clovis.htm" CLASS=ejsmenu>Moyen-&Acirc;ge : rois</A>';
zlien[2][4] = '<A HREF="hubert.htm" CLASS=ejsmenu>Moyen-&Acirc;ge : saints</A>';
zlien[2][5] = '<A HREF="morgane.htm" CLASS=ejsmenu>Moyen-&Acirc;ge : l&eacute;gendes</A>';
zlien[2][6] = '<A HREF="fables.htm" CLASS=ejsmenu>La Fontaine</A>';
zlien[2][7] = '<A HREF="bambi.htm" CLASS=ejsmenu>Bambi</A>';
zlien[3][0] = '<A HREF="http://cerfs.free.fr/photomain.php3" CLASS=ejsmenu>Galerie photos</A>';
zlien[4][0] = '<A HREF="biblio.htm" CLASS=ejsmenu>Bibliographie</A>';
zlien[5][0] = '<A HREF="liens.htm" CLASS=ejsmenu>Liens</A>';
zlien[6][0] = '<A HREF="http://www.swisstools.net/guestbook.asp?id=1868" CLASS=ejsmenu>Livre d or</A>';
zlien[6][1] = '<A HREF="mailto:blebr45@aol.com" CLASS=ejsmenu>Courriel</A>';


var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { skn = document.topdeck }
else if (dom) { skn = document.getElementById("topdeck").style }
else if (iex) { skn = topdeck.style }
skn.top = posYmenu+70;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=1 BGCOLOR=#AAAA9E WIDTH=130><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1>";
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=30>&nbsp;&nbsp;"+msg[pass]+"</TD></TR>";
	pass++;
	}
content += "</TABLE></TD></TR></TABLE>";
if (nava)
  {
    skn.document.write(content);
	  skn.document.close();
	  skn.visibility = "visible";
  }
    else if (dom)
  {
	  document.getElementById("topdeck").innerHTML = content;
	  skn.visibility = "visible";
  }
    else if (iex)
  {
	  document.all("topdeck").innerHTML = content;
	  skn.visibility = "visible";
  }
}
function kill()
{
	skn.visibility = "hidden";
}
document.onclick = kill;
document.write('<a name=up>')
document.write('<DIV style="position:absolute;top:0px;left:100px;z-index:15;"><TABLE BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR=#000000 WIDTH=700><TR><TD><TABLE CELLPADING=0 CELLSPACING=15 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[0],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[0],0)" href=vie.htm CLASS=ejsmenu><img src="images/binoculars.gif" border=0 align=absmiddle>Comportement</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],60)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],100)" href=# CLASS=ejsmenu><img src="images/map.gif" border=0 align=absmiddle>Esp&egrave;ces</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],150)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],200)" href=# CLASS=ejsmenu><img src="images/histoire.gif" border=0 align=absmiddle>Histoire</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],240)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],300)" href=# CLASS=ejsmenu><img src="images/photo.gif" border=0 align=absmiddle>Photos</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],330)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],400)" href=# CLASS=ejsmenu><img src="images/livre.gif" border=0 align=absmiddle>Bibliographie</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[5],420)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[5],500)" href=# CLASS=ejsmenu><img src="images/web.gif" border=0 align=absmiddle>Liens</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[6],510)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[6],600)" href=# CLASS=ejsmenu><img src="images/contact.gif" border=0 align=absmiddle>Contact</a></TD>')
document.write('<TD WIDTH=30 ALIGN=center ><a href="english/english.htm"><img src="images/uk.gif" border=0 align=absmiddle alt="english version"></a></TD>')

document.write('</TR></TABLE></TD></TR></TABLE></DIV>')
