
function clickExplorer() {

	if( document.all ) {
		//alert('All materials on this site are copyright protected.');
	}
	return false;
}

function clickOther(e) {

	if( document.layers || ( document.getElementById && !document.all ) ) {
		if ( e.which == 2 || e.which == 3 ) {
			//alert('All materials on this site are copyright protected.');
			return false;
		}
	}
}

if( document.layers ) {

	document.captureEvents( Event.MOUSEDOWN );
	document.onmousedown=clickOther;

} else {

	document.onmouseup = clickOther;
	document.oncontextmenu = clickExplorer;
} 

window.onload = function() {
	document.body.oncopy = function() {
		//alert('All materials on this site are copyright protected.'); 
		return false;
	}
}  

if( typeof( document.onselectstart ) != 'undefined' ) {
	
	document.onselectstart = function(){ return false }
	document.ondragstart = function(){ return false }
}
