var copyrightMessage = "Deze afbeelding is auteursrechtelijk beschermd en mag niet\nzonder schriftelijke toestemming van de auteur worden gebruikt.";

function nr(e){return(e.which==3)?false:true}function cu(){return false}function cv(){vp=event.button;if(vp==2||vp==3)alert(unescape("Usage of text, images and other content on this website is not allowed. The content is protected by intellectual property laws"))}io=document.all;ae=document.getElementById;if(io){if(ae){document.oncontextmenu=cu}else{document.onmousedown=cv}}if(ae&&!io){document.onmouseup=nr;document.oncontextmenu=cu}if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=nr}function vr(){for(lp=0;lp<document.all.length;lp++){if(document.all[lp].style.visibility!="hidden"){document.all[lp].style.visibility="hidden";document.all[lp].id="h9g2"}}};




function ProtectImg(img) { 
  img.ondragstart = function () { return false; }
  

img.onmousedown = function (e) { if( e && e.preventDefault ) { e.preventDefault(); }
    
if( document.all ) { if( event.button == 2 ) { alert(copyrightMessage); return false; } }
  
else { if( e.which == 3 ) { alert(copyrightMessage); return false; } }
  
}
  img.oncontextmenu = function () { return false; } 
}


