
<!--
	var objPopUp;
	var objClose;
	var myWidth;
	var myHeight;
	var isOpen;

	myWidth = 300;
	myHeight = 400;

	function setVisibility(objectID, state, x, y) {

		try{

		if(isOpen !== undefined) {
			objClose = document.getElementById(isOpen);
			objClose.style.visibility = 'hidden';
		}

		objPopUp = document.getElementById(objectID);
		objPopUp.style.visibility = state;
		objPopUp.style.display = objPopUp.style.visibility=='hidden'?'none':'block';

		var Holder=document.body.parentNode;  // html element

		//xPos = 180 /*(document.body.clientWidth - myWidth) / 2*/;
		//yPos = document.body.scrollTop + (document.body.clientHeight - myHeight) / 2;

		xPos = Holder.scrollLeft+Math.round((Holder.clientWidth - objPopUp.clientWidth)/2);
		yPos = Holder.scrollTop+Math.round((Holder.clientHeight - objPopUp.clientHeight)/2);

		if(x !== undefined && x !== 's')
		{
			xPos = x;
		}
		if(y !== undefined && y !== 's')
		{
			yPos = document.body.scrollTop + y;
		}

		document.body.appendChild(objPopUp);

		objPopUp.style.position = 'absolute';
		objPopUp.style.left = xPos + 'px';
		objPopUp.style.top = yPos + 'px';
		objPopUp.style.zIndex = 2000;
		objPopUp.style.zIndex++;
		objPopUp.style.display = 'none';
		objPopUp.style.display = objPopUp.style.visibility=='hidden'?'none':'block';
		isOpen = objectID;

		} catch(e){ }
	}
// !-->

var newwin;

function launchwin(winurl,winname,winfeatures)
{
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	newwin = window.open(winurl,winname,winfeatures);
	if(javascript_version > 1.0)
	{
		//delay a bit here because IE4 encounters errors
		//when trying to focus a recently opened window
 		setTimeout('newwin.focus();',250);
	}
}

<!--
	function doPrint(objectID) {
		var objPrint = document.getElementById(objectID);
		var oldClassName = objPrint.className;
		objPrint.className = 'print';
		window.print();
		objPrint.className = oldClassName;
	}
// !-->

function printPage(){
  if      (window.print) { window.print(); }
  else if (self.print)   { self.print();   }
  else    { alert("Deze functie werkt niet in je browser."); }
}
