﻿posYmenu = 125;
bgcolor='#330000';
bgcolor2='#330000';
needcenter =false;
if(!needcenter)
	posXmenu = 210;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(500/2);
	else
		posXmenu = (window.innerWidth/2)-(500/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:#ffffff; text-decoration:none;}')
document.write('A.ejsmenu {color:#E9A600; text-decoration:none;}')
document.write('.toto {BORDER-RIGHT: #E9A600 0pt solid;BORDER-TOP: #E9A600 0pt solid;BORDER-LEFT: #E9A600 0pt solid;BORDER-BOTTOM: #E9A600 0pt outset;}')

document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');


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[1][0] = '<A HREF="listeAscend.htm" CLASS=ejsmenu>Liste d\'\ascendance</A>';
zlien[1][1] = '<A HREF="listeDescendH.htm" CLASS=ejsmenu>Liste de descendance</A>';
zlien[1][2] = '<A HREF="arbremixte.htm" CLASS=ejsmenu>Arbre mixte familial de José-Maria de HEREDIA</A>';
zlien[1][3] = '<A HREF="ficheH.htm" CLASS=ejsmenu>Fiche rédigée</A>';
zlien[1][4] = '<A HREF="chroniqueH.htm" CLASS=ejsmenu>Chronique familiale</A>';
zlien[1][5] = '<A HREF="portraitF.htm" CLASS=ejsmenu>Portraits de famille</A>';
zlien[1][6] = '<A HREF="portraitFilleG.htm" CLASS=ejsmenu>Portraits de ses filles et ses gendres</A>';
zlien[3][0] = '<A HREF="domingo.htm" CLASS=ejsmenu>Chronique familiale de Domingo de HEREDIA</A>';
zlien[3][1] = '<A HREF="arbreComplet.htm" CLASS=ejsmenu>Arbre de descendance de Domingo de HEREDIA</A>';
zlien[4][0] = '<A HREF="evenements.htm" CLASS=ejsmenu>de 1710  1910</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+25;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0  WIDTH=75%><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>";
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD class='toto' BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=20><FONT SIZE=1 FACE=\"Verdana\">&nbsp;&nbsp;"+msg[pass]+"</FONT></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('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#330000 WIDTH=96%><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=20><TR>')
document.write('<TD width="7%" ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)"  href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><a href="index.php"  CLASS=ejsmenu>Accueil</FONT></a></TD>')
document.write('<TD width="20%" ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],55)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],90)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><a href="intro.htm"  CLASS=ejsmenu>José-Maria de HEREDIA</FONT></a></TD>')
document.write('<TD width="18%" ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)"  href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><a href="cousins.htm"  CLASS=ejsmenu>Ses cousins célébres</FONT></a></TD>')
document.write('<TD width="19%" ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],330)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],330)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">Domingo de HEREDIA</FONT></a></TD>')
document.write('<TD width="20%"  ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],480)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],400)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">Principaux événements</FONT></a></TD>')
document.write('<TD width="3%" ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><a href="liens.htm" CLASS=ejsmenu>Liens&nbsp;</FONT></a></TD>')
document.write('<TD width="10%" ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')
