document.oncontextmenu = function() { return false; }
if(document.layers) {
 window.captureEvents(Event.MOUSEDOWN);
 window.onmousedown = function(e) {
  if(e.target==document) return false;
  if(e.which==3) return false; }
}else{ document.onmousedown = function() { return false; } }
function disableselect(se) { return false; }
function reEnable() { return true; }
document.onselectstart=new Function ("return false")
if (window.sidebar) {
 document.onmousedown=disableselect
 document.onclick=reEnable
}
 