if(($ACT == 'edit' || $ACT == 'preview') && $INFO['editable']){ ?> } else { ?> } ?>
URL: http://www.quirksmode.org/js/keys.html#t00
keyCode and charCode - Detecting keystrokes