document.onkeydown = function(){
if(window.event && window.event .keyCode == 116)
{
	// Capture and remap F5
	window.event.keyCode = 505;
}
if(window.event && window.event .keyCode == 505)
{
// New action for F5
return false;
// Must return false or the browser will refresh anyway
} }




var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape")
document.captureEvents(Event.MOUSEDOWN,Event.MOUSEUP);
function mischandler()
{ return false; }
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)(eventbutton==3))return false ;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler();
document.onmouseup = mousehandler();
