<!--
//*Last update: Automatisches Anzeigen der letzten Abspeicherung eines Dokuments
//Copyright: world-of-scripts.net
//http://www.world-of-scripts.net/
        ModDate = new Date(document.lastModified);
        Jahresmonat = ModDate.getMonth(document.lastModified)+1;
        var LastModDate = new Date(document.lastModified);
        var Year = LastModDate.getYear();
if (LastModDate.getYear() == 105){Year= 2005};
if (LastModDate.getYear() == 106){Year= 2006};
if (LastModDate.getYear() == 107){Year= 2007};
if (LastModDate.getYear() == 108){Year= 2008};
if (LastModDate.getYear() == 109){Year= 2009};
if (LastModDate.getYear() == 110){Year= 2010};
if (LastModDate.getYear() == 5){Year= 2005};
if (LastModDate.getYear() == 6){Year= 2006};
if (LastModDate.getYear() == 7){Year= 2007};
if (LastModDate.getYear() == 8){Year= 2008};
if (LastModDate.getYear() == 9){Year= 2009};
if (LastModDate.getYear() == 10){Year= 2010};

//-->

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

function open_new_window(URL) {
window.open(URL,'','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=680,left=40,top=10')
}

var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}
function mousehandler(e){
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;

<!--
// ImageManipulation - check if the browser we're using can manipulate document images.

function ImageManipulation() {
        if (document.images)
                return true;
        else
                return false;
}

// loadImage

function loadImage(imageURL) {
        if (gImageCapableBrowser) {
                document.image.src = imageURL;
                return false;
        }
        else {
                return true;
        }
}

// gImageCapableBrowser? Set up
// a global variable so that we don't have to keep calling a function
// (useful if the function becomes costly to compute).

gImageCapableBrowser = ImageManipulation();

// -->
var specialcase = ((navigator.userAgent.indexOf('Mac') != -1) || document.all)
var flag = 0;
var x,y,x1,y1,copyAttempt;

function init()
{
	if (!(document.getElementById || document.all || document.layers)) return;
	if (specialcase && document.layers)
	{
		document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = special;
	}
	for (i=0;i<document.images.length;i++)
	{
		document.images[i].onmousedown = checkIt;
		document.images[i].onmouseup = function() {return false};
		if (specialcase)
		{
			document.images[i].onmousemove = special;
			document.images[i].onclick = clearIt;
		}
	}
}

function checkIt(e)
{
	copyAttempt = 0;
	if (window.Event)
	{
		x = e.screenX;
		y = e.screenY;
		theButt = (e.which == 3);
	}
	else
	{
		x = window.event.clientX;
		y = window.event.clientY;
		theButt = (window.event.button == 2);
	}
	if (theButt)
	{
		copyAttempt = 1;
		flag = 0;
		alert(msg);
		return false; // NN4 only
	}
	if (specialcase) flag = 1;
	return false;
}

function special(e)
{
	theObj = '';
	if (window.Event)
	{
		x1 = e.screenX;
		y1 = e.screenY;
		if (e.target.parentNode) theObj = e.target.parentNode.tagName;
	}
	else
	{
		x1 = window.event.clientX;
		y1 = window.event.clientY;
		theObj = window.event.srcElement.parentElement.tagName;
	}
	var isLink = (theObj == 'A');
	if (flag && (!isLink || ((Math.abs(x-x1) > 10) || (Math.abs(y-y1) > 10))))
	{
		copyAttempt = 1;
		flag = 0;
		alert(msg);
		return false;
	}
}

function clearIt()
{
	flag = 0;
	if (copyAttempt)
	{
		copyAttempt = 0;
		return false;
	}
}


// uitklapbare menus in de exploitantenbladzijden etc

var isNS4=document.layers?true:false;
var isIE=document.all?true:false;
var isNS6=!isIE&&document.getElementById?true:false;

function uitklap(idTabel,voorTabel,voorDeel,start) {	
	for(i=start;;i++) {
		var Tabel=getObject(voorTabel+i);
		if(Tabel==null)if(i>0)break;else continue;
		var Deel=getObject(voorDeel+i);
		var currentDisplay=Tabel.style.display;
		if (currentDisplay == ''){
			Tabel.style.display = 'none';
		}else if(currentDisplay!='' && voorTabel+i==idTabel){
			Tabel.style.display = '';
		}
	}
}


 function getObject(id)
 {
 	var obj = null;
  
	if(isNS4)
		eval('obj = document.'+id); 
  	if(isIE)
  		obj = document.getElementById(id);
	if(isNS6)
		obj = document.getElementById(id);
	return obj;
 }
