
//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}


<!-- This free JavaScript code is provided by D. John Wood // -->
<!-- 
var message="You do not have permission to copy these images - Please contact Thomas Cotnoir at thomas.cotnoir@maine.gov (207) 624-6568 for permission"; // Message for the alert box
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message); 
return false; 
} 
} if (document.layers) {
if (e.which == 3) {
alert(message); 
return false; 
} 
} 
} if (document.layers) {
document.captureEvents(Event.MOUSEDOWN); 
} document.onmousedown=click; 
// -->
