if (document.images) {

  // de plaatjes pre-laden
  afbeelding01Uit = new Image();
  afbeelding01Uit.src = "http://www.enjy.nl/images/menu/home.png";
  afbeelding01Aan = new Image();
  afbeelding01Aan.src = "http://www.enjy.nl/images/menu/home1.png";

  afbeelding02Uit = new Image();
  afbeelding02Uit.src = "http://www.enjy.nl/images/menu/informatie.png";
  afbeelding02Aan = new Image();
  afbeelding02Aan.src = "http://www.enjy.nl/images/menu/informatie1.png";

  afbeelding03Uit = new Image();
  afbeelding03Uit.src = "http://www.enjy.nl/images/menu/downloads.png";
  afbeelding03Aan = new Image();
  afbeelding03Aan.src = "http://www.enjy.nl/images/menu/downloads1.png";

  afbeelding04Uit = new Image();
  afbeelding04Uit.src = "http://www.enjy.nl/images/menu/nieuws.png";
  afbeelding04Aan = new Image();
  afbeelding04Aan.src = "http://www.enjy.nl/images/menu/nieuws1.png";

  afbeelding05Uit = new Image();
  afbeelding05Uit.src = "http://www.enjy.nl/images/menu/referenties.png";
  afbeelding05Aan = new Image();
  afbeelding05Aan.src = "http://www.enjy.nl/images/menu/referenties1.png";

  afbeelding06Uit = new Image();
  afbeelding06Uit.src = "http://www.enjy.nl/images/menu/contact.png";
  afbeelding06Aan = new Image();
  afbeelding06Aan.src = "http://www.enjy.nl/images/menu/contact1.png";

}


// de daadwerkelijke functies
function afbeeldingAan(Naam) {
  if (document.images) {
    tekstAanNaam = eval(Naam + "Aan.src");
    document.images[Naam].src = tekstAanNaam;
  }
}

function afbeeldingUit(Naam) {
  if (document.images) {
    tekstUitNaam = eval(Naam + "Uit.src");
    document.images[Naam].src = tekstUitNaam;
  }
}
 
if (window.Event)   
  document.captureEvents(Event.MOUSEUP);   
 function nocontextmenu()    
{  
 event.cancelBubble = true  
 event.returnValue = false;  
  return false;  
}  
 function norightclick(e)   
{  
 if (window.Event)   
 {  
  if (e.which == 2 || e.which == 3)  
   return false;  
 }  
 else  
  if (event.button == 2 || event.button == 3)  
  {  
   event.cancelBubble = true  
   event.returnValue = false;  
   return false;  
  }  
 }  
 document.oncontextmenu = nocontextmenu;   
document.onmousedown = norightclick;   
 function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
function toonmenu(elmnt)
{
document.all(elmnt).style.visibility="visible"
}
function verstopmenu(elmnt)
{
document.all(elmnt).style.visibility="hidden"
}