rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Curses</title>
<link rel="stylesheet" href="curses.css" type="text/css">
<script type="text/javascript">
function keepFocusKeypressHook() {
document.getElementById('keypressHook').focus();
}
function keypressHook(e) {
var keynum
var keychar
var numcheck
if(window.event) // IE
{
keynum = e.keyCode
}
else if(e.which) // Netscape/Firefox/Opera
{
keynum = e.which
}
document.getElementById('mainBody').innerHTML=keynum
}
</script>
</head>
<body onload="keepFocusKeypressHook()">
<!-- Top Menu -->
<table class="topMenu" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="1" rowspan="1">blah</td>
</tr>
</tbody>
</table>
<!-- Title Bar and Top Right -->
<table class="titleBarTopRight" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="titleBar">blah blah</td>
<td class="topRight">blah</td>
</tr>
</tbody>
</table>
<!-- Main Body and Middle Right-->
<table class="mainBodyMiddleRight" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td id="mainBody" class="mainBody">blah</td>
<td class="middleRight">blahblah</td>
</tr>
</tbody>
</table>
<!-- Copyright and Bottom Right -->
<table class="CopyrightBottomRight" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="copyright">blah</td>
<td class="bottomRight">blah</td>
</tr>
</tbody>
</table>
<input id="keypressHook" onkeydown="keypressHook(event)" class="keypressHook">
<br>
</body>
</html>