<script src="xex.js"></script>
</head>
-<body onload="MIM.test ()">
-<h1>m17n-lib input method in Javascript</h1>
-<h3>textarea</h3>
+<body onload="MIM.init_debug ()">
+<h4>m17n-lib input method in Javascript</h4>
+<h4>textarea</h4>
<textarea name="TEXTAREA"></textarea>
-<h3>text</h3>
-<form><input type="text"></form>
-<br>
-<h3>debug Info</h3>
+<table><tr><td style="font-size: large; font-weight: bold;">text</td><td><form><input type="text"></form></td></tr></table>
+<div style="font-weight: bold;">debug Info</div>
<table border="1">
-<tr><th>key</th><th>keycode</th><th>status</th><th>keyseq</th><th>range</th></tr>
-<tr><th>down</th><td id="keydown">0</td><td id="status0"><td id="keyseq0"></td><td id="range0"></td></tr>
-<tr><th>press</th><td id="keypress">0</td><td id="status1"><td id="keyseq1"></td><td id="range1"></td></tr>
+<tr><th>key</th><th>keycode</th><th>status</th><th>keymap</th><th>preedit</th></tr>
+<tr><th>down</th><td id="keydown">0</td><td id="status0"><td id="keymap0"></td><td id="preedit0"></td></tr>
+<tr><th>press</th><td id="keypress">0</td><td id="status1"><td id="keymap1"></td><td id="preedit1"></td></tr>
</table>
-<br>
-<form><input type="text" id="text" style="width:100mm"></form>
+<textarea style="font-size: small; width: 100%" rows="10"id="log"></textarea>
</body>