[Tabs] It is possible to use ui.tabs in different content structure?

[Tabs] It is possible to use ui.tabs in different content structure?

Hi,
I've got a problem with jQuery Tabs. I want to use it with non-ordinary tab/content structure.

My structure is:
  1. <ul id="tabs">
        <li>
            <h2>
                <a href="#t1">Tab1</a>
            </h2>
            <div class="box" id="t1">
                content
            </div>
        </li>
        <li>
            <h2>
                <a href="#t2">Tab2</a>
            </h2>
            <div class="box" id="t2">
                content
            </div>
        </li>
    </ul>

















Is there an easy way to force this plugin to work with this?