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+"E/site/about.html>About this website</A><BR>";
  buffer+="<A href="+url+"E/site/whatsnew.html>What's new on this site</A><BR>";
  buffer+="<A href="+url+"E/site/map.html>Map of the site</A><BR>";
  buffer+="<A href="+url+"E/site/search.html>Search</A><BR>";
  buffer+="<A href="+url+"E/write.html>Contact with the webmaster</A><BR>";
  buffer+="<A href="+url+"E/site/newsletter/index.php>Newsletter</A><BR>";
  buffer+="<A href="+url+"common/misc/guestbook.php?lang=en>Guestbook</A><BR>";
  buffer+="<A href="+url+"common/sondages/index.php?lang=en>Polls</A><BR>";
  buffer+="<A href="+url+"common/links/index.php?lang=en>Links to other websites</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu2 onmouseover=javascript:showmenu(2) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href=javascript:windowOpener('http://plannerint.b-rail.be/bin/query.exe/en?L=b-rail','ari')>Schedules</A></B> (official site)<B><BR>";
  buffer+="<A href=javascript:windowOpener('http://sefora.b-rail.be/sefora/Sefora/berekenen.do?action=accessTicket&langue=3','prix')>Fares</A></B> (official site)<B><BR>";
  buffer+="<A href=javascript:windowOpener('http://buy.b-rail.be','tickets')>Ticket on line</A></B> (official site)<B><BR>";
  buffer+="<A href="+url+"E/timetables/timetables.html>Timetables</A><BR>";
  buffer+="<A href="+url+"E/timetables/tariffs.html>Tariffs</A>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu3 onmouseover=javascript:showmenu(3) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"E/actua/infotrain.php>Latest news</A><BR>";
  buffer+="<A href="+url+"E/informations/works.html>Works on the network</A><BR>";
  buffer+="<A href="+url+"E/informations/events.html>Events en special trains</A><BR>";
  buffer+="<A href="+url+"E/informations/infos.html>News on SNCB/NMBS</A><BR>";
  buffer+="<A href="+url+"E/infrastructure/maps.html>Maps of the network</A><BR>";
  buffer+="<A href="+url+"E/informations/press.html>Review of the press</A><BR>";
  buffer+="<A href="+url+"E/informations/contact.html>Contact with SNCB/NMBS</A><BR>";
  buffer+="<A href="+url+"E/informations/daytrips.html>B-Daytrips</A><BR>";
  buffer+="<A href="+url+"E/informations/jobs.html>Jobs</A><BR>";
  buffer+="<A href="+url+"E/informations/enquete/index.php>Investigation of satisfaction</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>News on the relations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/relations/natl/index.html>Domestic relations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/icir/index.php>IC/IR trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/local/index.html>L trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/pointe/index.html>P trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/natl/rer/index.html>RER trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/relations/intl/index.html>International relations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/intl/classique/index.html>classical trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/intl/taa/index.html>motorrail</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/intl/tgv/index.html>high speed trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/relations/images.html>Pictures of the relations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu5 onmouseover=javascript:showmenu(5) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"E/fiches/new.html>New rolling stock</A><BR>";
  buffer+="<A href="+url+"F/actua/materiel.php>News on the material</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/fiches/numbering.html>Numbering of the material</A><BR>";
  buffer+="<A href="+url+"E/fiches/index.html>Technical fiches</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/car/index.html>coaches</A> (*)<BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/traction/index.html>electrical locomotives</A> (*)<BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/diesel/index.html>diesel locomotives</A> (*)<BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/emu/index.html>electric trainsets</A> (*)<BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/dmu/index.html>diesel trainsets</A> (*)<BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/tgv/index.html>high speed trains</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/shunter/index.html>shunters</A> (*)<BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href=http://www.berail.be/nmbs/steam/index.html>steam locomotives</A> (*)<BR>";
  buffer+="<A href="+url+"F/fiches/patrimoine/index.html>Historical patrimonium</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/fiches/special/index.html>Special locomotives</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/fiches/index.php?page=images>Pictures of the material</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;(*) <i>external link</i>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu6 onmouseover=javascript:showmenu(6) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/actua/infra.php>News on the infrastructure</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/infrastructure/lignes/index.html>Main lines</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/infrastructure/lignes/industrielles.html>Industrial lines</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/infrastructure/gares/index.php>Main stations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/infrastructure/signalisation/index.php>Belgian signalling system</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/infrastructure/maps.html>Maps of the network</A><BR>";
  buffer+="<A href="+url+"F/infrastructure/index.php?page=images>Pictures of infrastructure</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu7 onmouseover=javascript:showmenu(7) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"E/tgv/tgv.html>The TGV in Belgium</A><BR>";
  buffer+="<A href="+url+"E/tgv/reseau.html>The Belgian network</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"E/tgv/ligne1.html>the western branch</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"E/tgv/ligne2.html>the eastern branch</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"E/tgv/ligne3.html>the northern branch</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/tgv/construction.html>Construction of an HSL</A><BR>";
  buffer+="<A href="+url+"E/tgv/signalisation.html>Signalling of an HSL</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/tgv/destinations.html>TGV destinations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/tgv/thalys.html>Thalys</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/tgv/eurostar.html>Eurostar</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"E/tgv/tgv-r.html>TGV-Réseau</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/tgv/ice.html>ICE-3</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href=http://tickets.b-rail.be>Online booking</A></B> (official site)";
  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 of the project</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/rer/historique.html>Evolution of the project</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/rer/cartes.html>Maps of the future RER</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/rer/investissements.html>Infra en rolling stock</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/rer/trafic.html>Traffic estimations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/rer/budget.html>Investments</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/rer/liens.html>Documentation</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'>";
  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=en>Pictures</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/pictures/index.php?lang=en&cat=new>new pictures</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/fiches/index.php?page=images>rolling stock</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/infrastructure/index.php?page=images>infrastructure</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"F/relations/images.html>relations</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"E/multimedia/icfb.html>icfb forum</A><BR>";
  buffer+="<A href="+url+"common/multimedia/index.php?lang=en>Movies & Sounds</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/multimedia/index.php?lang=en&cat=new>new medias</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/multimedia/index.php?lang=en&cat=all_sons>all sounds</A><BR>";
  buffer+="&nbsp;&nbsp;-&nbsp;<A href="+url+"common/multimedia/index.php?lang=en&cat=all_videos>all movies</A><BR>";
  buffer+="<A href="+url+"F/multimedia/index.php?page=logiciels>Softwares</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'>";
  bas();
  document.write(buffer);

  buffer="<DIV id=menu10 onmouseover=javascript:showmenu(10) onmouseout=javascript:hidemenu()>";
  haut();
  buffer+="<A href="+url+"F/modelisme/bminiatures.html>Belgian models</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/modelisme/manifestations.html>Events</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href="+url+"F/modelisme/importateurs.html>Import</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'><BR>";
  buffer+="<A href=http://www.sncb.online.fr/index.php?cat_id=4&lang=en>Links</A> <img border='0' src='"+url+"images/fr.gif' width='16' height='10' alt='in French'>";
  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+"E/index.php><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Home</div></a></td></tr></tr><td><a href="+url+"E/site/search.html><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Search</div></a></td></tr><tr><td><a href="+url+"E/write.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+"E/index.php><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Home</div></a></td></tr></tr><td><a href="+url+"E/site/search.html><div id=accueil onmouseover=javascript:hidemenu()>&nbsp;Search</div></a></td></tr><tr><td><a href="+url+"E/write.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+"E/site/index.html><div id=menu>The website</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(2) href="+url+"E/timetables/index.php><div id=menu>Schedule & fares</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(3) href="+url+"E/informations/index.php><div id=menu>Information</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(4) href="+url+"E/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+"E/fiches/index.html><div id=menu>Rolling stock</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(6) href="+url+"E/infrastructure/index.html><div id=menu>Infrastructure</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(7) href="+url+"E/tgv/index.html><div id=menu>TGV file</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(8) href="+url+"E/rer/index.html><div id=menu>RER file</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(9) href="+url+"E/multimedia/index.php><div id=menu>Multimedia</div></A></td></tr>";
  buffer+="<tr><td height=21 align=right><A onmouseover=javascript:showmenu(10) href="+url+"E/modelisme/index.html><div id=menu>Model railroading</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();
 }
}