<div class="text-center">
{include file="$template_path/html/pagenav-itempreview.html"}
<iframe id="preview-frame" src="{$item.demo_url}" name="preview-frame" frameborder="0" noresize="noresize" style="margin-top: 3rem">
</iframe>
{literal}
<style>
    .inlinei{
        vertical-align: -11px;
    }
    #preview-frame{
        width:100%;
        height: 100%;
        background-color:#fff;
        margin: 0 auto;
    }
</style>
{/literal}
    {literal}
    <script type="text/javascript">
        seajs.use(["jq", "modules/preview"], function($, pre){
            $(function(){
                pre.init();
            });
        });
    </script>
    {/literal}
</div>