Problem with tabs and tables

I have a table with data in a div and then a set of tabs on another div.

when i select a tab, the focus moves to the first cell on the first row of the table.

what might be causing this??

is there a way to just code this problem away by setting the focus on my tab’s html output when i select a tab??

thanks