>in the lost focus. This isn't working, the focus is going to the page1 of the frame because of the
>click on the tab. How can I stop this?
The most intuitive method (IMO) is to disable the pages that are off-limits. That solves the problem, and shows the user where they should be, as well.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.