
menuHTML = 
'<tr><td ID="A01" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A03" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A05" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A07" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A09" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A11" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A19" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A21" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A23" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A27" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A29" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr><tr><td ID="A31" height=22 width=120 cellpadding=0 align=center valign=middle></td></tr>' ;


if (document.layers)
   alert ('unknown browser, cannot build the menu') ;
else if (document.all)
   <!-- Internet Explorer -->
   document.all.Buttons.outerHTML =
   '<table ID="Buttons" align=center cellpadding=0>' + menuHTML + '</table>' ;
else if (document.getElementById)
   <!-- Mozilla Firefox -->
   document.all.Buttons.innerHTML = menuHTML ;


document.all.A01.innerHTML =
 '<small><a href="' +home +'index.html">Algemeen</a>' ;
menuBttn ('A01', pics + BttnFree );

document.all.A03.innerHTML =
 '<small><a href="' +home +'organisatie.html">Organisatie</a>' ;
menuBttn ('A03', pics + BttnFree );

document.all.A05.innerHTML =
 '<small><a href="' +home +'donorkind.html">Donorkinderen</a>' ;
menuBttn ('A05', pics + BttnFree );

document.all.A07.innerHTML =
 '<small><a href="' +home +'kid-donor.html">KID-donoren</a>' ;
menuBttn ('A07', pics + BttnFree );

document.all.A09.innerHTML =
 '<small><a href="' +home +'kid-ouders.html">KID-ouders</a>' ;
menuBttn ('A09', pics + BttnFree );

document.all.A11.innerHTML =
 '<small><a href="' +home +'wensouders.html">Wensouders</a>' ;
menuBttn ('A11', pics + BttnFree );

document.all.A19.innerHTML =
 '<small><a href="' +home +'forums.html">Forums</a>' ;
menuBttn ('A19', pics + BttnFree );

document.all.A21.innerHTML =
 '<small><a href="' +home +'media.html">Media</a>' ;
menuBttn ('A21', pics + BttnFree );

document.all.A23.innerHTML =
 '<small><a href="' +home +'onderzoek.html">Onderzoek</a>' ;
menuBttn ('A23', pics + BttnFree );

document.all.A27.innerHTML =
 '<small><a href="' +home +'privacy.html">Privacy</a>' ;
menuBttn ('A27', pics + BttnFree );

document.all.A29.innerHTML =
 '<small><a href="' +home +'buitenland.html">Buitenland</a>' ;
menuBttn ('A29', pics + BttnFree );

document.all.A31.innerHTML =
 '<small><a href="' +home +'contact.html">Contact</a>' ;
menuBttn ('A31', pics + BttnFree );


function menuBttn (id, picture) {
  if (document.layers)
    document[id].background.src = picture == 'none' ? null : picture;
  else if (document.all)
    document.all[id].style.backgroundImage = picture == 'none' ? 'none' 
: 'url(' + picture + ')';
  else if (document.getElementById)
    document.getElementById(id).style.backgroundImage = picture == 
'none' ? 'none' : 'url(' + picture + ')';
   }

