function KeyEnter() {
if (window.event.keyCode == 13) {
window.event.keyCode = 0;
window.event.returnValue = false;
}
}
document.oncontextmenu = KeyEnter;
document.onkeydown = function() { KeyEnter() };