{*
    The page with a load bar - done
*}
        
    </div>

    <script type="text/javascript">$('#midblock').hide();</script>

    <div class="ui-report-header ui-widget-header ui-corner-all" style="margin:40px; padding:20px;">
        {if !empty($warning)}
            {$warning}
        {/if}

        <p style="padding-top:10px;">
            <a href="{$rep_url}" class="dialog_make_text_btn ui-corner-all" {if $rep_newwin}target="_blank"{/if}}>
                {if !empty($warning)}
                    <span class="dialog_make_btn16 ok ui-corner-all"></span>
                    {$i.basic_yes}
                {else}
                    {$i.basic_done}
                {/if}
            </a>
        </p>
    </div>

    {if empty($warning)}
        <script type="text/javascript">
            {if $rep_newwin}
                usComm.windowOpen('{$rep_url}');
            {else}
                window.location.href='{$rep_url}';
                {$check_script};
            {/if}
        </script>
    {/if}

</body>
</html>