<html>
<body onload="this.focus();" onfocus="document.getElementById('foo').focus();"
onblur="/*alert('hello');*/this.focus();">
<input type="text" id="foo">
</body>
</html>