<html>
<body onload=getfocus()><input type=text name=tt>
<script>
function getfocus(){
tt.focus();}
</script>
</body>
</html>
<body onload=getfocus()><input type=text name=tt>
<script>
function getfocus(){
tt.focus();}
</script>
</body>
</html>
<body onload=getfocus()><input type=text name=tt>
<script>
function getfocus(){
document.getElementById("tt").focus();}
</script>
</body>
</html>