/*
PWD Copyright 2003
*/

posYmenu = 90;
bgcolor='#074870';
bgcolor2='#23729C';
bgcolor3='#379BD3';
needcenter =false;
if(!needcenter)
posXmenu = 185;
else
{ if (document.all)
posXmenu = (document.body.clientWidth/2)-(200/2);
else
posXmenu = (window.innerWidth/2)-(200/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.js {color:white; text-decoration:none;}')
document.write('A:hover.js {color:#FFFFFF; text-decoration:underline;}')
document.write('A.sub {color:"#FFFFFF"; text-decoration:none;}')
document.write('A:hover.sub {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[0][0] = '<A HREF="index.php" CLASS=sub>Accueil</A>';
zlien[0][1] = '<A HREF="infos.html" CLASS=sub>Infos légales</A>';
zlien[0][2] = '<A HREF="infections.html" CLASS=sub>Notre actualité</A>';
zlien[1][0] = '<A HREF="histo.php" CLASS=sub>Historique</A>';
zlien[1][1] = '<A HREF="cad.php" CLASS=sub>La clinique</A>';
zlien[1][2] = '<A HREF="spe.php" CLASS=sub>Spécialités</A>';
zlien[1][3] = '<A HREF="acces.php" CLASS=sub>Accès</A>';
zlien[1][4] = '<A HREF="mot.php" CLASS=sub>Mot du directeur &nbsp;</A>';
zlien[2][0] = '<A HREF="org.php" CLASS=sub>Equipe médicale </A>';
zlien[2][1] = '<A HREF="personnel.php" CLASS=sub>Le personnel</A>';
zlien[2][2] = '<A HREF="dirigeants.php" CLASS=sub>Les dirigeants</A>';
zlien[3][0] = '<A HREF="admission.php" CLASS=sub>Votre admission</A>';
zlien[3][1] = '<A HREF="chambre.php" CLASS=sub>Votre chambre</A>';
zlien[3][2] = '<A HREF="sejour.php" CLASS=sub>Renseignements</A>';
zlien[3][3] = '<A HREF="hygiene.php" CLASS=sub>Hygiène</A>';
zlien[3][4] = '<A HREF="sortie.php" CLASS=sub>Votre sortie</A>';
zlien[3][5] = '<A HREF="charte.php" CLASS=sub>Charte du patient</A>';
zlien[3][6] = '<A HREF="ch_amb.php" CLASS=sub>Ch. ambulatoire</A>';
zlien[3][7] = '<A HREF="maternite.php" CLASS=sub>La maternité</A>';
zlien[4][0] = '<A HREF="adresses.php" CLASS=sub>Adresses utiles</A>';
zlien[4][1] = '<A HREF="contact.html" CLASS=sub>Contactez-nous</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+28;

function pop(msg,pos)
{
skn.visibility = "HIDDEN";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=0 WIDTH=123 BGCOLOR=#379BD3><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1 BGCOLOR=#23729C>";
pass = 0
while (pass < msg.length)
{
content += "<TR><TD BGCOLOR="+bgcolor3+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor3+"'\" HEIGHT=3><A.submenu><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 = "75";
  }
    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><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=25><TR>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';pop(zlien[0],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[0],0)" href=# CLASS=js><b><FONT SIZE=1 FACE="Verdana">Accueil</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' <b><FONT SIZE=1 FACE="Verdana" color="#87C2C2">&nbsp; | &nbsp;</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';pop(zlien[1],66)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],66)" href=# CLASS=js><b><FONT SIZE=1 FACE="Verdana">Présentation</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' <b><FONT SIZE=1 FACE="Verdana" color="#87C2C2">&nbsp; | &nbsp;</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';pop(zlien[2],165)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],165)" href=# CLASS=js><b><FONT SIZE=1 FACE="Verdana">Organisation</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' <b><FONT SIZE=1 FACE="Verdana" color="#87C2C2">&nbsp; | &nbsp;</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';pop(zlien[3],263)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],263)" href=# CLASS=js><b><FONT SIZE=1 FACE="Verdana">Votre Séjour</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' <b><FONT SIZE=1 FACE="Verdana" color="#87C2C2">&nbsp; | &nbsp;</FONT></b></a></TD>')
document.write('<TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';pop(zlien[4],360)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],360)" href=# CLASS=js><b><FONT SIZE=1 FACE="Verdana">Contact</FONT></b></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')

