<!-- 

function show(show_this,show_from,img_name) 
{
  if ( parseInt(navigator.appVersion) != 2 )
  {
    img_dir = ''
    
    if (show_from == '0')
    {
       document[img_name].src= img_dir +show_this; 	  //Met frames
    }
    if (show_from == '1')
    {
        parent.document[img_name].src= img_dir +show_this;	  //zonder frames
    }
  }
}

function showSpecial(img_dir,show_this,show_from,img_name,this_pagina,this_aanwezig) 
{
i=getRandom(this_aanwezig);
x=getRandom(this_pagina);
show_image = show_this + i +'.gif';
img_name2 = img_name + x; 

  if ( parseInt(navigator.appVersion) != 2 )
  {

    
    if (show_from == '0')
    {
       document[img_name2].src= img_dir +show_image; 	  //Met frames
    }
    if (show_from == '1')
    {
        parent.document[img_name2].src= img_dir +show_image;	  //zonder frames
    }
  }
}

function getRandom(num) {

  today = new Date();
  var bigNumber = today.getSeconds() * today.getTime() * 
    Math.sqrt(today.getMinutes()); 
  var randomNum = Math.floor(bigNumber % num);

  return randomNum + 1;
}

function executeTimer(seconde) {

  showSpecial('../../images/kleuren/','tegel_terzo_','0','image','3','9');

setTimeout(executeTimer, 5000);   
}

function imageWissel(BildName, neuesBild)
{

    document.images[BildName].src = neuesBild;
}
// End -->
