function openWindow(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=no,resizable=yes,toolbar=no,width=650,height=400,left = 100,top = 100');");
}

function openHelp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=no,resizable=yes,toolbar=no,width=620,height=500,left = 100,top = 100');");
}

function openObject(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=no,resizable=no,toolbar=no,width=620,height=500,left = 100,top = 100');");
}

function PopupPic(sPicURL) { 
	window.open("toon-foto.php?id="+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200");
}


function printThis() {
	window.print();
}

var arrTemp=self.location.href.split("?"); 
   var picUrl = (arrTemp.length>0)?arrTemp[1]:""; 
   var NS = (navigator.appName=="Netscape")?true:false; 

     function FitPic() { 
       iWidth = (NS)?window.innerWidth:document.body.clientWidth; 
       iHeight = (NS)?window.innerHeight:document.body.clientHeight; 
       iWidth = document.images[0].width - iWidth; 
       iHeight = document.images[0].height - iHeight + 50; 
       window.resizeBy(iWidth, iHeight); 
       self.focus(); 
     };

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var message = "U kunt hier de rechtermuisknop niet gebruiken!";
function click(e) {
  if (document.all) {
    if (event.button == 2) {
      alert(message);
      return false;
    }
  }
  if (document.layers) {
    if (e.which == 3) {
      alert(message);
	  return false;
    }
  }
}

if (document.layers) {
// document.captureEvents(Event.MOUSEDOWN);
}
//document.onmousedown=click;
// End -->
