[jQuery] ui.tabs - appending multiple new tabs

[jQuery] ui.tabs - appending multiple new tabs


Adding (appending) new tabs in ui.tabs is pretty straightforward, but
I notice in the example:
http://stilbuero.de/jquery/tabs_3/#container-9
that if I append multiple new tabs, they are all given the same ID
(which won't work well in real life)
Is there an easy way to generate sequential IDs? e.g. #appendedTab_1,
#appendedTab_2
Also, is it possible to 'append' the *first* tab - in other words, add/
create a tab to an 'empty' container?
Thanks - this is the first time I've delved into the more advanced
variations with this plugin
rolfsf