function keypresed() {
if (event.button==key);
} 
document.onkeydown=keypresed = new Function("return false;");