//script pour les menus dynamiques
posYmenu = 5;
//couleur fond cellule repos
bgcolor='#ccffcc';
//couleur du mouse over
bgcolor2='#ffcc66';//
//ou false pour centrage du menu dans la fenetre
needcenter = false;

if(!needcenter)
	posXmenu = 30;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(300/2);
	else
		posXmenu = (window.innerWidth/2)-(300/2); 
	}

//feuille de style
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:#000000; text-decoration:none;}')
document.write('A.ejsmenu {color:#000000; text-decoration:none;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');

// SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT - Juin 2001
// http://www.editeurjavascript.com
// puis modification et adaptation LSJ - Juillet 2001

//LIENS chaque tableau est un menu principal (7 a ce jour)
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;

//sous menu premier menu
zlien[0][0] = '<A HREF="sommaire.html" CLASS=ejsmenu>Sommaire</A>';
zlien[0][1] = '<A HREF="plan.html" CLASS=ejsmenu>Plan du site</A>';
zlien[0][2] = '<A HREF="historique.html" CLASS=ejsmenu>Historique du site</A>';
zlien[0][3] = '<A HREF="avis.php3" CLASS=ejsmenu>Un message ?</A>';
zlien[0][4] = '<A HREF="aide_bis.html" CLASS=ejsmenu>Aide ?</A>';
zlien[0][5] = '<A HREF="http://www.saintjalmes.net/" target="_blank" CLASS=ejsmenu>www.saintjalmes.net</A>';

//sous menu deuxieme menu
zlien[1][0] = '<A HREF="page_issy01.html" CLASS=ejsmenu>La commune</A>';
zlien[1][1] = '<A HREF="idx_mnts.html" CLASS=ejsmenu>Quelques monuments</A>';
zlien[1][2] = '<a href="biblio_mnts.html" CLASS=ejsmenu>Bibliographie {Issy}</a>';
zlien[1][3] = '<A HREF="page_issy02.html" CLASS=ejsmenu>Renseignements pratiques</A>';

//sous menu troisieme menu
zlien[2][0] = '<A HREF="page_01.html" CLASS=ejsmenu>Quelques points de repère ...</A>';
zlien[2][1] = '<font color="#000000">Quelques photographies ...</font>';
zlien[2][2] = '<IMG SRC="../img/none.gif" WIDTH=20 HEIGHT=1 BORDER=0><A HREF="inon2001_01.html" CLASS=ejsmenu>Crue de la Seine - 2001</A>';
zlien[2][3] = '<IMG SRC="../img/none.gif" WIDTH=20 HEIGHT=1 BORDER=0><A HREF="ile2001_01.html" CLASS=ejsmenu>île Saint-Germain - 2001</A>';
zlien[2][4] = '<IMG SRC="../img/none.gif" WIDTH=20 HEIGHT=1 BORDER=0><A HREF="nb2001_01.html" CLASS=ejsmenu>Viaduc SNCF - 2001</A>';

//sous menu quatrieme menu
zlien[3][0] = '<A HREF="page_photo01.html" CLASS=ejsmenu>Gallerie photographique</A>';
zlien[3][1] = '<IMG SRC="../img/none.gif" WIDTH=5 HEIGHT=1 BORDER=0>[<A HREF="i0898_13.html" CLASS=ejsmenu>08/1998</A>]&nbsp;[<A HREF="i1198_07.html" CLASS=ejsmenu>11/1998</A>]';
zlien[3][2] = '<IMG SRC="../img/none.gif" WIDTH=5 HEIGHT=1 BORDER=0>[<A HREF="i0199_11.html" CLASS=ejsmenu>01/1999</A>]&nbsp;[<A HREF="i0399_02.html" CLASS=ejsmenu>03/1999</A>]&nbsp;[<A HREF="i0499_32.html" CLASS=ejsmenu>04/1999</A>]';
zlien[3][3] = '<IMG SRC="../img/none.gif" WIDTH=5 HEIGHT=1 BORDER=0>[<A HREF="i0699_14.html" CLASS=ejsmenu>06/1999</A>]&nbsp;[<A HREF="i0799_74.html" CLASS=ejsmenu>07/1999</A>]';
zlien[3][4] = '<IMG SRC="../img/none.gif" WIDTH=5 HEIGHT=1 BORDER=0>[<A HREF="i0100_07.html" CLASS=ejsmenu>01/2000</A>]&nbsp;[<A HREF="i0500_06.html" CLASS=ejsmenu>05/2000</A>]&nbsp;[<A HREF="i0600_43.html" CLASS=ejsmenu>06/2000</A>]';
zlien[3][5] = '<IMG SRC="../img/none.gif" WIDTH=5 HEIGHT=1 BORDER=0>[<A HREF="iq201_01.html" CLASS=ejsmenu>2001</A>]';
zlien[3][6] = '<font color="#000000">Année 2002 ...</font>';
zlien[3][7] = '<IMG SRC="../img/none.gif" WIDTH=5 HEIGHT=1 BORDER=0>[<A HREF="i0202_00.html" CLASS=ejsmenu>17/02/2002</A>]';

//sous menu cinquieme menu
zlien[4][0] = '<A HREF="page_liens01.html" CLASS=ejsmenu>Une sélection de liens</A>';

//sous menu sixieme menu
zlien[5][0] = '<A HREF="baron.html" CLASS=ejsmenu>De 1809 à 1853</A>';
zlien[5][1] = '<A HREF="baron1.html" CLASS=ejsmenu>De 1853 à 1891</A>';
zlien[5][2] = '<A HREF="biblio.html" CLASS=ejsmenu>Bibliographie</A>';

//sous menu septieme menu
zlien[6][0] = '<A HREF="surprise.html" CLASS=ejsmenu>Des surprises graphiques</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+24;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#ccffcc WIDTH=160><TR><TD><TABLE WIDTH=100% BORDER=1 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=10><FONT SIZE=1 FACE=\"Comic Sans Ms\">&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";
}

//menu principal
document.onclick = kill;
document.write('<DIV ID=topgauche><TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=600><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=20><TR>')
document.write('<TD WIDTH=60 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=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Accueil</B></FONT></a></TD>')
document.write('<TD WIDTH=120 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],60)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Issy Les Moulineaux</B></FONT></a></TD>')
document.write('<TD WIDTH=70 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],180)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],180)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Le quartier</B></FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],250)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],250)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Le coin photos ...</B></FONT></a></TD>')
document.write('<TD WIDTH=70 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],345)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],345)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Les liens</B></FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[5],412)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[5],412)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Le Baron Haussmann</B></FONT></a></TD>')
document.write('<TD WIDTH=70 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[6],530)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[6],530)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Comic Sans Ms"><B>Détente</B></FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')

//clic droit souris
function bororo(scx) {
 if (navigator.appName == "Netscape" && scx.which == 3) {
  alert('© 1998-2001 Loïc Saint Jalmes')
 return false
 }
 if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {
  alert('© 1998-2001 Loïc Saint Jalmes')
  return false
 }
}

//fin du script - LSJ - 23/08/01