<!--
function statbar(txt) {
	window.status = txt;
}

function leeg() {
	window.status = '';
}

var mywin=null;
function foto(url, xx, yy, title)
{
	posX = (screen.width / 2) - (xx / 2);
	posY = (screen.height / 2) - (yy / 2);

	mywin=window.open('picture.php','displayWindow','toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width='+xx+',height='+yy+',layerx=0,layery=0,top='+posY+',left='+posX+',alwaysRaised=yes')
	mywin.document.write('<html><head><title>'+title+'</title></head>');
	mywin.document.write('<script language="JavaScript" src=""></script>');	
	mywin.document.write('<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onblur="self.close();">');
	mywin.document.write('<img src='+url+' border="0" onclick="self.close();">');
	mywin.document.close();
	window.opener=null;
}

var popUpWin=0;
function popUpWindow(URLStr, xx, yy) {
	posX = (screen.width / 2) - (xx / 2);
	posY = (screen.height / 2) - (yy / 2);
	if(popUpWin) {
		if(!popUpWin.closed) popUpWin.close();
	}
	popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width='+xx+',height='+yy+',layerx=0,layery=0,top='+posY+',left='+posX+',alwaysRaised=yes');
}

var popUpWin2=0;
function popUpWindow2(URLStr, xx, yy) {
	posX = (screen.width / 2) - (xx / 2);
	posY = (screen.height / 2) - (yy / 2);
	if(popUpWin2) {
		if(!popUpWin2.closed) popUpWin2.close();
	}
	popUpWin2 = open(URLStr, 'popUpWin2', 'toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width='+xx+',height='+yy+',layerx=0,layery=0,top='+posY+',left='+posX+',alwaysRaised=yes');
}

var popUpWin=0;
function popUpWindow(URLStr, xx, yy) {
	posX = (screen.width / 2) - (xx / 2);
	posY = (screen.height / 2) - (yy / 2);
	if(popUpWin) {
		if(!popUpWin.closed) popUpWin.close();
	}
	popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,menubar=no,location=no,scrollbar=no,resizable=no,width='+xx+',height='+yy+',layerx=0,layery=0,top='+posY+',left='+posX+',alwaysRaised=yes');
}

document.oncontextmenu = function(){return false}
if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.which==3 || e.which==2)return false;
    }
}
else {
    document.onmousedown = function(){return false}
}
 
-->
