﻿// Hartfield Digitale Vormgeving
// Gemaakt: 15/02/2004
// N. Harteveld

var message='Copyright 2009 ? AAA Display bv - All Rights Reserved';
function right(e) {
  if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
    return false;
  else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
    alert(message);
    return false;
  }
  return true;
}
var message="Copyright 2009 ? AAA Display bv - All Rights Reserved";
function clickIE() {
	if (document.all) {
		//(message);
		alert("no no");
		return;
	}
} 
function clickNS(e){
	if (document.layers||(document.getElementById&&!document.all)){
		if(e.which==2||e.which==3) {
		//(message);
		alert("no no");
		return;
		}
	}
}
if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS;
}
else{
	document.onmouseup=clickNS;
	document.oncontextmenu=clickIE;
	}

document.onmousedown=right;
document.onmouseup=document.oncontextmenu=new Function("return false")
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=document.oncontextmenu=new Function("return false")