<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
Author: Philippe Fery
-->
<html>
<head>
<title>Focus</title>
<script language="javascript" type="text/javascript">
function forceFocus(elmRef){
if(navigator.appName=="Microsoft Internet Explorer"){
document.all(elmRef).focus();
}else if(navigator.appName=="Netscape"){
document.getElementsByName(elmRef)[0].focus();
}
}
</script>
</head>
<body onload="forceFocus('last');">
<table>
<tr>
<td>Last name:</td>
<td><input onclick="forceFocus('first');" onchange="forceFocus('first');"type="text" name="last" /></td>
</tr>
<tr>
<td>First name:</td>
<td><input onclick="forceFocus('last');" onchange="forceFocus('last');" type="text" name="first" /></td>
</tr>
</table>
</body>
</html>
;-)