Index: package_branches/invirt-web/cherrypy/code/templates/terminal.mako
===================================================================
--- package_branches/invirt-web/cherrypy/code/templates/terminal.mako	(revision 2448)
+++ package_branches/invirt-web/cherrypy/code/templates/terminal.mako	(revision 2451)
@@ -22,8 +22,9 @@
 window.onload=function() {
 	t=ajaxterm.Terminal("term", ${machine.machine_id});
+        $('term').focus();
 }
 </script>
 </%def>
 
-<div id="term"></div>
+<div tabindex="0" id="term"></div>
 <div style="clear: both;"></div>
