if ((parseInt(navigator.appVersion) >= 4 )) { 
	dwidth = screen.width;dheight = screen.height;}
else {dwidth = 400;dheight = 300;}
function popUp( pageToLoad, winName, width, height, resizable, scroll, center, xposition, yposition) {
	if (!width) {width = dwidth - 12;}
	if (!height) {height = dheight - 30;}
	if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
		xposition = (dwidth - width) / 2;
		yposition = (dheight - height) / 2;}
	args =
	  "width=" + width + "," 
	+ "height=" + height + "," 
	+ "location=0," 
	+ "menubar=0,"
	+ "resizable=" + resizable + ","
	+ "scrollbars=" + scroll + ","
	+ "status=0," 
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + ","
	+ "screeny=" + yposition + ","
	+ "left=" + xposition + ","
	+ "top=" + yposition;
nieuwVenster = window.open( pageToLoad,winName,args );
if (nieuwVenster.opener == null) nieuwVenster.opener = self;
nieuwVenster.focus();
}

function showHideDiv(divID) {
	var d = document.getElementById(divID);
	if (d) {
	 if (d.style.visibility == 'hidden') {	
	  d.style.position = 'relative';
	  d.style.visibility = 'visible';
	 } else {
	  d.style.position = 'absolute';
	  d.style.visibility = 'hidden';	 
	 }
	}
}