function myPrintPage() {
	if (top.maincontent) {
		top.maincontent.location.reload();
		top.maincontent.focus();
		top.maincontent.print();
	} else {
		top.location.reload();
		top.focus();
		top.print();
	}
}

function myMailAFriendPopup(theURL)
{
	window.open("/index.cfm?fa=misc.paginadoormailen&page=" + escape(theURL),"","toolbar=no,statusbar=no,location=no,scrollbars=no,resizable=no,width=400,height=300");
}


var resizePopUpWin=0;
function resizePopup(theURL, width, height)
{
	if (resizePopUpWin) { // rePopup if still somewhere on desktop!
		if (!resizePopUpWin.closed) resizePopUpWin.close();
	}
	if(navigator.appName == "Microsoft Internet Explorer") {
		screenY = window.screen.availHeight;
		screenX = window.screen.availWidth;
	} else {
		screenY = window.outerHeight;
		screenX = window.outerWidth;
	}
	xleft = (screenX/2)-(width/2);
	ytop = (screenY/2)-(height/2);
	resizePopUpWin=window.open(theURL,"","toolbar=no,statusbar=no,location=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height + ",left=" + xleft + ",top=" + ytop);
}

