Ok, here is he original problem that got me messing with all this:
Select an option in field 1 with your mouse, then click on field two.
When you click on field two (in IE 6 at least) the select box expands and then immediatley
collapses again which is annoying and forces you to click it a second time.
This happens becuase the onblur code gives it focus even though it ALREADY has focus. (Make sure you choose something in Field 2 of this example, or it will continue to steal focus from the bottom test.)
Field 1
Field 2
Here is my onblur and onfocus test.
Click in field 1 and then in field 2.
Instead of a global var, I am using field 3 so you can watch the value.