﻿	document.ondragstart = new Function("return false;")
	document.onselectstart = new Function("return false;")
	document.onselect = new Function("document.selection.empty();")
	document.oncopy = new Function("document.selection.empty();")
	document.onbeforecopy = new Function("return false;")
	document.oncopy = new Function("event.returnValue=false;")
/*
function falsereturn()
{
	return false;
}
function emptyselection()
{
	document.selection.empty();
}

window.attachEvent("ondragstart",falsereturn);
window.attachEvent("onselectstart",falsereturn);
window.attachEvent("onselect",emptyselection);
window.attachEvent("oncopy",emptyselection);
window.attachEvent("onbeforecopy",falsereturn);
window.attachEvent("onmouseup",emptyselection);
*/
function click(e) { 

 if (document.all) {
  if (event.button==1||event.button==2||event.button==3) {
   oncontextmenu='return false';
  }
 }
 if (document.layers) {
  if (e.which == 3) {
   oncontextmenu='return false';
  }
 }
}
if (document.layers) {
 document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function("return false;")

var travel=true
var hotkey=17   /* hotkey ASII */
if (document.layers)
document.captureEvents(Event.KEYDOWN)
function gogo(e)
{ if (document.layers) {
if (e.which==hotkey&&travel){
 return false;  } }
else if (document.all){
if (event.keyCode==hotkey&&travel){ return false; }}
}

document.onkeydown=gogo 