I had no problem with IE 6:
<label id="lblout">jj</label>
<script LANGUAGE="JavaScript1.2">
function IEKey() {
// make and set an array for text output:
var arr = new Array();
arr[arr.length] = "keyCode is: " + event.keyCode + "<br>";
arr[arr.length] = "ctrlKey is: " + event.ctrlKey + "<br>";
arr[arr.length] = "shiftKey is: " + event.shiftKey + "<br>";
arr[arr.length] = "altKey is: " + event.altKey + "<br><br>";
arr[arr.length] = "<h1>Property and event list:</h1>" + "<br>";
for(hh in event){
arr[arr.length] = hh + "<br>";
}
if(event.keyCode==38){
alert("keyup"

;
}
document.getElementById('lblout').innerHTML=arr.join(""

;
}
document.onkeyup = IEKey;
</script>