<nav class="om-nav" id="ow_nav" style="display:none;">
    <section>
        <ul class="base" id="ow_nav_base">
            {nav type="5" parent_id="0"}
            {nav:loop}
            <li class="n1" n1="true" i="[nav:i]" url="[nav:url]"><a class="n1" href="[nav:url]"><i style="background-image:url([nav:icon]);"></i>[nav:name]</a>
                {if:OW.int("[nav:children]")>0}
                    <span class="caret"></span>
                    {nav2 parent_id="[nav:nav_id]"}
                    <div class="subnav" name="subnav" i="[nav:i]">
                    <ul>
                    {nav2:loop}
                    <li class="n2"><a class="n2" href="[nav2:url]">[nav2:name]</a></li>
                    {/nav2:loop}
                    </ul>
                    </div>
                    {/nav2}
                {/if}
            </li>
            {/nav:loop}
            {/nav}
        </ul>
    </section>
</nav>