document.onkeydown= function(event) { event=event||window.event; if (event.keyCode && event.keyCode==8) return false };