Here is a little JavaScript that disables the Enter key. Unfortunately it only works in MSIE but I need it also for Netscape. Anyone knows how to do this?

Code:
function onKeyPress () { 
var keycode; 
if (window.event) keycode = window.event.keyCode; 
else if (e) keycode = e.which; 
else return true; 
if (keycode == 13) { 
alert("Please click on the \"Go To Date\"-Button to refresh this page."); 
return false 
} 
return true 
} 
document.onkeypress = onKeyPress;