<!-- Begin
 var winWidth=0;
 var winHeight=0;
 var newWidth=0;
 var newHeight=0;
 function imgResize() {
  var bgImage=document.getElementById('bgImage');
  if(window.innerWidth) {
   winWidth =window.innerWidth;
   winHeight=window.innerHeight;
  } else {
   winWidth=document.body.offsetWidth;
   winHeight=document.body.offsetHeight;
  }
  if(winHeight>imgHeight) {
   newHeight=winHeight;
   newWidth=winHeight*(imgWidth/imgHeight);
  }
  if(newWidth<winWidth) {
   newWidth=winWidth;
   newHeight=newWidth*(imgHeight/imgWidth);
  }
  bgImage.style.width =newWidth;
  bgImage.style.height=newHeight;
 }
function get_field(p_string, p_teller)
{
 h_string = p_string
 for(h_teller=1 ; h_teller<=p_teller; h_teller++)
   {
    h_plaats = h_string.indexOf("|")
    if (h_plaats == -1)
      {
       h_plaats = h_string.length
      }
    h_find   = h_string.substr(0,h_plaats)
    h_string = h_string.substr(h_plaats + 1)
   }
 return h_find
}

function set_default(p_heading)
{document.writeln('<body bgcolor="silver" leftmargin="20" topmargin="20">')
 if(p_heading != "")
  {h_heading = new Image() ; h_heading.src="images/" + p_heading
   parent.frames[2].document.images['heading'].src=h_heading.src  }
}

function ChangePage(P_ID,P_COMMANDO)
{parent.content.location=P_COMMANDO
 parent.lmenu.location='menuke.php?P_MNU_ID=' + P_ID
}
// End -->
