<!-- Paste this code into an external JavaScript file named: disableSelect.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: James Nisbet (morBandit) :: http://www.bandit.co.nz/ */

var msg_box ="Het auteursrecht van deze tekst berust bij de VVOJ. Zonder toestemming niet verspreiden buiten deze site.";


/* You can attach the events to any element. In the following example
I'll disable selecting text in an element with the id 'content'. */

window.onload = function() {
  var element = document.getElementById('protected');
  element.onselectstart = function () { alert(msg_box); return false; } // ie
  element.onmousedown = function () { alert(msg_box);return false; } // mozilla
}


