navbars and class="ui-btn-active ui-state-persist" using server side includes?

navbars and class="ui-btn-active ui-state-persist" using server side includes?

Hi all,
I have a web app built using jqm 1.3.1 and every page has a navbar in the footer.
Actually the navabar are static but I would like to replace them with a server side include, so that updating one file will update the whole navbars.
But I would like to use the class="ui-btn-active ui-state-persist" options.
How can I use the persist state on SSI?
Is there a sample somewhere?
I can't imagine you edit every footer/navbar each time some link in a navbar change.

TIA for any reply.

tony