<%@ Import Namespace="MTCUN" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ReportServer.ascx.cs"
    Inherits="MTCUN.UserCol.ReportServer" %>

<style type="text/css">
    .divPrint {
        position: absolute;
        top: 40px;
        left: 10px;
        right: 10px;
        bottom: 20px;
        z-index: 1000000000;
        border: 0px solid #ccc;
        border-radius: 5px;
        padding: 5px;
        margin-top: 20px;
        background-color:#5F6F8F;
        box-shadow: 0 0 10px rgba(95,111,143,0.8);
        position: fixed;
    }
</style>

<script type="text/javascript">
    var IsPrint = false;

    function __mt_bg(sender)
    {
        document.getElementById("__mt_netPrintWeb").style.backgroundColor = "#c0c0c0";
    }
</script>
<div style="display: none">
    <iframe id="PrintWeb" width="0" height="0"></iframe>
</div>

<div class="divPrint" id="__mt_divPrint" style="display: none">
    <table class="table_simple_kuan" style="height: 100%">
        <tr>
            <td>
                <div>
                    预览：第1页
                    <br />
                    <span class="lab_button" id="__mt_printButton" onclick="__mt_StartPrint(this)">打印</span>
                    <span class="lab_button" onclick="__mt_ClosePrint();"><a>关闭</a></span>
                </div>
            </td>
        </tr>
        <tr>
            <td style="height: 100%">
                <iframe id="__mt_netPrintWeb" style="width: 100%; height: 100%" onload="__mt_bg(this)"></iframe>
            </td>
        </tr>
    </table>
</div>
