//------------------------------------------------------------------------------
//     Ontwikkeld door: SYLED
//	 Functie: Open van een pagina in het centrum van het scherm
//------------------------------------------------------------------------------
function toonWindow(url,popW,popH)
{
	//var w = 480, h = 340;

	if (document.all || document.layers) {
	   w = screen.availWidth;
	   h = screen.availHeight;
	}

	//var popW = 300, popH = 200;

	var leftPos = (w-popW)/2, topPos = (h-popH)/2;

	newWindow = window.open('','popup','width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos +", toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1");
	newWindow.location.href = url;
}
		

//------------------------------------------------------------------------------
//     Ontwikkeld door: SYLED
//	 Functie: Printen van de pagina
//------------------------------------------------------------------------------
window.printMe = printThis;
function printThis()
{
   var objectPrint;

	objectPrint = this.window;
	this.focus();
	this.print();
}

function PrintPage()
{
   if(!ver4 || IE5)
   {
		parent.frame_content.window.printThis();
	}
   else
   {
		alert("Uw browser ondersteunt niet deze optie.\nOm deze pagina te printen, dient u uw rechter muisknop te drukken en voor -print- te kiezen.");
	}
}


// -->

		
