
// navigation color changes

function navigationOnMouseOver(statusText, this_object, this_level){
      setStatusText(statusText);
      switch(this_level){
       case 1:
        this_object.style.backgroundColor='transparent';
        break;
       case 2:
        this_object.style.backgroundColor='transparent'; 
        break;
       case 3:
        this_object.style.backgroundColor='transparent'; 
        break;               
       case 4:
        this_object.style.backgroundColor='transparent'; 
        break;               
      }
      return true;
    }
    function navigationOnMouseOut(this_object, this_level){
      clearStatusText();
      switch(this_level){
       case 1:
        this_object.style.backgroundColor='transparent'; 
        break;
       case 2:
        this_object.style.backgroundColor='transparent'; 
        break;
       case 3:
        this_object.style.backgroundColor='transparent'; 
        break;               
       case 4:
        this_object.style.backgroundColor='transparent'; 
        break;               
      }
      return true;    
    }


// window.status
    
    function setStatusText(statusText){
      window.status = statusText;
      return true;
    }
    function clearStatusText(){
      window.status = '';
      return true;
    }


// open window

function launchWindow(url, name, w, h)  
{
  var winX = (screen.availWidth - w)*.5;
  var winY = (screen.availHeight - h)*.5;
  var scroll = 'yes';
  var resize = 'yes';
  actieplanwindow = window.open(url, name,'width=' + w + ',height=' + h + ',left=' + winX + ',top=' + winY + ',scrollbars=' + scroll + ',resizable=' + resize);
}

// random images

function random_imglink()
{
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="images/visual_01.jpg"
  myimages[2]="images/visual_02.jpg"
  
  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<img src="'+myimages[ry]+'" border=0>')
}

