<!-- Original:  Martin Webb (martin@irt.org) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
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("(c) Copyright 2003 GenesisRoom.com - All rights reserved");
return false;
}
return true;
}

if (window.captureEvents)
{
  window.captureEvents(Event.CtrlKey); // CLICK is an event
	alert("(c) Copyright 2003 GenesisRoom.com - All rights reserved");
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//  End -->

/* DISABLE SELECT */
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
}
/* DISABLE CTRL */
function ctrl() {					
if (event.ctrlLeft) {
		alert("(c) Copyright 2003 GenesisRoom.com - All rights reserved");
		return false;
}
else {
   if (event.ctrlKey) {
       alert("(c) Copyright 2003 GenesisRoom.com - All rights reserved");
			 return false;
   }
}					
if (event.altLeft) {
		alert("(c) Copyright 2003 GenesisRoom.com - All rights reserved");
		return false;
}
else {
   if (event.altKey) {
       alert("(c) Copyright 2003 GenesisRoom.com - All rights reserved");
			 return false;
   }
}		
return true;							
}