<h4>Gallery</h4>
<hr>
<div class="tabbable">
    <ul class="nav nav-tabs" id="gallerytab">
        ${tabopts}
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="tab_gallery">${firsttab}</div>
    </div>
</div>