window.onerror=null

var buffer;
var ns4 = ((navigator.appVersion.indexOf('4.')>=0) && (document.layers))? true:false
var getid = false
var nbrMenu = 10
var url="http://www.belrail.be/";
var lid = 'document.getElementById'
if ((navigator.userAgent.indexOf('Mozilla/5.0')>=0) || (document.all)) {
var getid = true
if (navigator.userAgent.indexOf('MSIE 4')>=0) {
var lid = 'document.all'
}}

function haut()
{
  buffer+="<TABLE cellSpacing=0 cellPadding=0 width=230 border=0><TBODY><TR><TD width=10 valign=top><IMG height=21 src="+url+"images/bordures/blanc10.gif width=10></TD><TD width=15 valign=top><IMG height=21 src="+url+"images/bordures/fleche.gif width=15></TD><TD width=205><table border=0 width=100% cellspacing=0 cellpadding=0><tr><td background="+url+"images/bordures/arrondi1.gif width=10 height=10><img src="+url+"images/bordures/blanc10.gif width=10 height=5></td><td background="+url+"images/bordures/arrondi5.gif></td><td background="+url+"images/bordures/arrondi2.gif width=10><img src="+url+"images/bordures/blanc10.gif width=10 height=5></td></tr><tr><td background="+url+"images/bordures/arrondi6.gif></td><td bgcolor=#E3EEFC><div id=item><B>";
}

function bas()
{
  buffer+="</B></div></td><td background="+url+"images/bordures/arrondi8.gif></td></tr><tr><td background="+url+"images/bordures/arrondi3.gif width=10 height=10></td><td background="+url+"images/bordures/arrondi7.gif></td><td background="+url+"images/bordures/arrondi4.gif></td></tr></table></TD></TR></TBODY></TABLE></DIV>";
}

function menus()
{
  buffer="<DIV id=menu1 onmouseover=javascript:showmenu(1) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/site/about.html>A propos du site</A><BR>";
  buffer+="<A href="+url+"F/site/quoideneuf.html>Nouveautés</A><BR>";
  buffer+="<A href="+url+"F/site/plan.html>Plan du site</A><BR>";
  buffer+="<A href="+url+"F/site/search.html>Recherche</A><BR>";
  buffer+="<A href="+url+"F/site/faq.html>Foire aux questions</A><BR>";
  buffer+="<A href="+url+"F/ecrire.html>Contacter le webmaster</A><BR>";
  buffer+="<A href="+url+"F/site/disclaimer.html>Disclaimer</A><BR>";
  buffer+="<A href="+url+"F/site/newsletter/index.php>Newsletter</A><BR>";
  buffer+="<A href="+url+"common/misc/guestbook.php?lang=fr>Livre d'or</A><BR>";
  buffer+="<A href="+url+"F/site/interactif.html>Espaces de discussion</A><BR>";
  buffer+="<A href="+url+"F/site/jeux/index.html>Jeux</A><BR>";
  buffer+="<A href="+url+"common/sondages/index.php?lang=fr>Sondage</A><BR>";
  buffer+="<A href="+url+"common/links/index.php?lang=fr>Liens vers d'autres sites</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu2 onmouseover=javascript:showmenu(2) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href=javascript:windowOpener('http://ari.sncb.be','ari')>Recherche horaire</A></B> (site officiel)<B><BR>";
  buffer+="<A href=javascript:windowOpener('http://sefora.b-rail.be/sefora/Sefora/berekenen.do?action=accessTicket&langue=2','prix')>Recherche tarifaire</A></B> (site officiel)<B><BR>";
  buffer+="<A href=javascript:windowOpener('http://buy.b-rail.be','tickets')>Achat de billets</A></B> (site officiel)<B><BR>";
  buffer+="<A href="+url+"F/horaires/horaires.html>Tableaux horaires</A><BR>";
  buffer+="<A href="+url+"F/horaires/tarifs.html>Formules de voyages</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu3 onmouseover=javascript:showmenu(3) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/actua/infotrain.php>Dernières informations</A><BR>";
  buffer+="<A href="+url+"F/actua/index.php>Actualités du rail</A><BR>";
  buffer+="<A href="+url+"F/informations/chantiers.html>Chantiers sur le réseau</A><BR>";
  buffer+="<A href="+url+"F/informations/evenements.html>Evénements et trains spéciaux</A><BR>";
  buffer+="<A href="+url+"F/actua/general.php>Informations SNCB</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/index.php?page=cartes>Cartes du réseau SNCB</A><BR>";
  buffer+="<A href="+url+"F/informations/presse.html>Revue de presse</A><BR>";
  buffer+="<A href="+url+"F/informations/contact.html>Contacter la SNCB</A><BR>";
  buffer+="<A href="+url+"F/informations/excursions.html>B-Excursions</A><BR>";
  buffer+="<A href="+url+"F/informations/emploi.html>Offres d'emploi SNCB</A><BR>";
  buffer+="<A href="+url+"F/informations/enquete/index.php>Enquête de satisfaction</A><BR>";
  buffer+="<A href="+url+"F/actua/archives/index.php>Archives</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu4 onmouseover=javascript:showmenu(4) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/actua/relations.php>Informations sur les relations</A><BR>";
  buffer+="<A href="+url+"F/relations/natl/index.html>Relations nationales</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/icir/index.php>trains IC/IR</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/local/index.html>trains L</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/pointe/index.html>trains P</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/rer/index.html>trains RER</A><BR>";
  buffer+="<A href="+url+"F/relations/intl/index.html>Relations internationales</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/intl/classique/index.html>trains classiques</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/intl/taa/index.html>trains-autos</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/intl/tgv/index.html>trains à grande vitesse</A><BR>";
  buffer+="<A href="+url+"F/relations/images.html>Galerie d'images</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu5 onmouseover=javascript:showmenu(5) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/fiches/index.php?page=nouveau>Nouveau matériel roulant</A><BR>";
  buffer+="<A href="+url+"F/actua/materiel.php>Informations sur le matériel</A><BR>";
  buffer+="<A href="+url+"F/fiches/index.php?page=numerotation>Numérotation du matériel</A><BR>";
  buffer+="<A href="+url+"F/fiches/index.php>Fiches techniques</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/car/index.php>voitures</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/traction/index.php>locomotives électriques</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/diesel/index.php>locomotives diesel</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/emu/index.php>automotrices</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/dmu/index.php>autorails</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/tgv/index.php>trains à grande vitesse</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/shunter/index.php>locomotives de manoeuvre</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/work/index.html>matériel de maintenance</A><BR>";
  buffer+="<A href="+url+"F/fiches/patrimoine/index.html>Patrimoine historique</A><BR>";
  buffer+="<A href="+url+"F/fiches/index.php?page=benelux>Service Bénélux</A><BR>";
  buffer+="<A href="+url+"F/fiches/special/index.html>Particularités du matériel</A><BR>";
  buffer+="<A href="+url+"F/fiches/etranger/index.html>Matériel roulant étranger</A><BR>";
  buffer+="<A href="+url+"F/fiches/index.php?page=images>Galerie d'images</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu6 onmouseover=javascript:showmenu(6) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/actua/infra.php>Informations sur l'infrastructure</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/index.php?page=projets>Projets d'infrastructure</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/lignes/index.html>Lignes principales</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/lignes/industrielles.html>Lignes industrielles</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/gares/index.php>Gares principales</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/signalisation/index.php>Signalisation</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/index.php?page=cartes>Cartes du réseau</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/index.php?page=images>Galerie d'images</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu7 onmouseover=javascript:showmenu(7) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/tgv/tgv.html>Le TGV en Belgique</A><BR>";
  buffer+="<A href="+url+"F/tgv/reseau.html>Le réseau TGV belge</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/tgv/ligne1.html>la branche Ouest</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/tgv/ligne2.html>la branche Est</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/tgv/ligne3.html>la branche Nord</A><BR>";
  buffer+="<A href="+url+"F/tgv/construction.html>La construction d'une LGV</A><BR>";
  buffer+="<A href="+url+"F/tgv/signalisation.html>La signalisation d'une LGV</A><BR>";
  buffer+="<A href="+url+"F/tgv/destinations.html>Destinations TGV</A><BR>";
  buffer+="<A href="+url+"F/tgv/thalys.html>Thalys</A><BR>";
  buffer+="<A href="+url+"F/tgv/eurostar.html>Eurostar</A><BR>";
  buffer+="<A href="+url+"F/tgv/tgv-r.html>TGV-Réseau</A><BR>";
  buffer+="<A href="+url+"F/tgv/ice.html>ICE-3</A><BR>";
  buffer+="<A href=http://tickets.b-rail.be>Réservation de billets</A></B> (site officiel)";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu8 onmouseover=javascript:showmenu(8) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/rer/reseau.html>Description du projet</A><BR>";
  buffer+="<A href="+url+"F/rer/historique.html>Evolution du projet</A><BR>";
  buffer+="<A href="+url+"F/rer/cartes.html>Cartes du futur RER</A><BR>";
  buffer+="<A href="+url+"F/rer/investissements.html>Infrastructure et matériel</A><BR>";
  buffer+="<A href="+url+"F/rer/trafic.html>Prévisions de trafic</A><BR>";
  buffer+="<A href="+url+"F/rer/budget.html>Coût et financement</A><BR>";
  buffer+="<A href="+url+"F/rer/liens.html>Sources d'information</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu9 onmouseover=javascript:showmenu(9) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"common/pictures/index.php?lang=fr>Photographies</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/pictures/index.php?lang=fr&cat=new>nouvelles images</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/index.php?page=images>matériel roulant</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/infrastructure/index.php?page=images>infrastructure</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/images.html>relations</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/multimedia/icfb.html>forum ICFB</A><BR>";
  buffer+="<A href="+url+"common/multimedia/index.php?lang=fr>Vidéos & Sons</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/multimedia/index.php?lang=fr&cat=new>nouveaux medias</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/multimedia/index.php?lang=fr&cat=all_sons>tous les sons</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/multimedia/index.php?lang=fr&cat=all_videos>toutes les vidéos</A><BR>";
  buffer+="<A href="+url+"F/multimedia/index.php?page=logiciels>Logiciels</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu10 onmouseover=javascript:showmenu(10) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/modelisme/bminiatures.html>Modèles réduits belges</A><BR>";
  buffer+="<A href="+url+"F/modelisme/nouveautes.html>Nouveaux modèles</A><BR>";
  buffer+="<A href="+url+"F/modelisme/manifestations.html>Bourses et manifestations</A><BR>";
  buffer+="<A href="+url+"F/modelisme/importateurs.html>Importateurs</A><BR>";
  buffer+="<A href=\"javascript:linkEngine('fr',4)\">Liens</A>";
  bas();
  document.write(buffer);
}

function showmenu(a)
{
  for (x=1; x<=nbrMenu; x++)
  {
    if (ns4)
      document.layers["menu"+x].visibility="hide"
    else eval(lid+'("menu'+x+'").style.visibility="hidden"')
  }
  if (ns4)
  {
    document.layers["menu"+a].onmouseout=hidemenu
    document.layers["menu"+a].visibility="show"
  }
  else
    eval(lid+'("menu'+a+'").style.visibility="visible"')
}

function hidemenu()
{
  for (x=1; x<=nbrMenu; x++)
  {
    if (ns4)
      document.layers["menu"+x].visibility="hide"
    else eval(lid+'("menu'+x+'").style.visibility="hidden"')
  }
}

function menu(titre)
{
 if(ns4)
 {
  document.write("<div id=titre><a name=top></a><font color=#003399>");
  document.write(titre);
  document.write("</font></div><hr>");
 }
 else
 {
  buffer="<table border=0 width=100% cellspacing=0 cellpadding=0>";
  if(titre==null)
  {
  buffer+="<tr><td width=150 background="+url+"images/bordures/bord1.gif height=100% valign=top>";
  buffer+="<table border=0 width=150 heigth=65 cellspacing=0 cellpadding=0 valign=top><tr><td><a href="+url+"F/index.php><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Home</div></a></td></tr></tr><td><a href="+url+"F/site/search.html><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Recherche</div></a></td></tr><tr><td><a href="+url+"F/ecrire.html><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Contact</div></a></td></tr></table>";
  buffer+="<table border=0 width=150 height=20 cellspacing=0 cellpadding=0 valign=top><tr><td><img src="+url+"images/bordures/blanc150.gif></td></tr><tr><td><img src="+url+"images/bordures/blanc150.gif></td></tr><tr><td><img src="+url+"images/bordures/blanc150.gif></td></tr><tr><td><img src="+url+"images/bordures/blanc150.gif></td></tr></table>";
  }
  else
  {
  buffer+="<tr><td width=150 bgcolor=#003399 width=150 valign=top>";
  buffer+="<table border=0 width=150 heigth=65 cellspacing=0 cellpadding=0 valign=top><tr><td><a href="+url+"F/index.php><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Home</div></a></td></tr></tr><td><a href="+url+"F/site/search.html><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Recherche</div></a></td></tr><tr><td><a href="+url+"F/ecrire.html><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Contact</div></a></td></tr></table>";
  buffer+="</td><td width=10 bgcolor=#003399 valign=top><img src="+url+"images/bordures/blanc10.gif width=10 height=5></td><td width=100% bgcolor=#003399 valign=top><a name=top></a><div id=titre>";
  buffer+=titre;
  buffer+="</div></td></tr><tr><td width=150 height=20 background="+url+"images/bordures/bord4.gif><font size=1>&nbsp;</font></td><td width=110 height=20 background="+url+"images/bordures/bord5.gif><font size=1>&nbsp;</font></td><td width=100% height=20 background="+url+"images/bordures/bord5.gif><font size=1>&nbsp;</font></td></tr>";
  buffer+="<tr><td width=150 background="+url+"images/bordures/bord1.gif height=100% valign=top>";
  }
  buffer+="<table border=0 width=130 cellspacing=0 cellpadding=0 valign=top>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(1) href="+url+"F/site/index.html><div id=menu>Le site</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(2) href="+url+"F/horaires/index.php><div id=menu>Horaires et tarifs</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(3) href="+url+"F/informations/index.php><div id=menu>Informations</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(4) href="+url+"F/relations/index.html><div id=menu>Relations</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(5) href="+url+"F/fiches/index.php><div id=menu>Matériel roulant</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(6) href="+url+"F/infrastructure/index.php><div id=menu>Infrastructure</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(7) href="+url+"F/tgv/index.html><div id=menu>Dossier TGV</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(8) href="+url+"F/rer/index.html><div id=menu>Dossier RER</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(9) href="+url+"F/multimedia/index.php><div id=menu>Multimédia</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(10) href="+url+"F/modelisme/index.html><div id=menu>Modélisme</div></A></td></tr>";
  buffer+="</table><img src="+url+"images/bordures/blanc150.gif width=150 height=5>";
  buffer+="</td><td width=10 valign=top><img src="+url+"images/bordures/blanc10.gif width=10 height=5></td><td width=100% valign=top><br>";
  document.write(buffer);

  menus();
 }
}
