+msg; }
function onkey(event){ if(event.keyCode==13){ send(); } }
</script>

</head>
<body onload="init()">
 <h3>WebSocket Test</h3>
 <p>Please run Project31SimpleEchoServer or Project31WinHTTPEchoServer on this computer!</p>
 <div id="log"></div>
 <input id="msg" type="textbox" onkeypress="onkey(event)"/>
 <button onclick="send()">Send</button>
 <button onclick="med()">6KB Msg</button>
 <button onclick="big()">1MB Msg</button>
 <button onclick="quit()">Quit</button>
 <div>Server will echo your response!</d