<%@ control language="C#" autoeventwireup="true" inherits="ECMe_WebUserControl_AjaxModal, ECMe_Deploy" %>
<style type="text/css">
    #showBox
    {
        text-align: center;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 99;
        width: 100%;
        height: 100%;
    }
    #msleft
    {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1002;
        width: 100%;
        height: 100%;
    }
    #alphaBox
    {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1000;
        width: 100%;
        height: 100%;
        background: #000;
        filter: alpha(opacity=30); /* IE */
        opacity: 0.6; /* 支持CSS3的浏览器（FF 1.5也支持）*/
        -moz-opacity: 0.6; /* Moz + FF */
    }
    #content
    {
        color: #0c63af;
        margin-top: 220px;
        width: 180px;
        height: 16px;
        border: 2px solid #0c63af;
        background-color: #eaf3fa;
        line-height: 16px;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
        font-size: 14px;
        font-weight: bold;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 15px;
    }
    span
    {
        float: left;
    }
    h1
    {
        text-align: center;
        float: left;
        font-size: 14px;
        padding-left: 10px;
    }
</style>
<div id="showBox" style="display: none;">
    <div id="msleft">
        <div id="content">
            <span>
                <img src="../CSS/Admin/images/loading.gif" alt="ico" /></span><h1>
                    数据正在处理中...</h1>
        </div>
    </div>
    <div id="alphaBox">
    </div>
</div>
<script type="text/javascript">
    function boxAlpha() {
        var showBox = document.getElementById("showBox");
        var bgalpaha = document.getElementById("alphaBox");
        var content = document.getElementById("content");
        if (showBox.style.display == "none") {
            showBox.style.display = "block";
            showBox.style.height = document.documentElement.scrollHeight;
            bgalpaha.style.height = document.documentElement.scrollHeight + "px";
            if (document.body.scrollHeight < 600)
                bgalpaha.style.height = "610px";
            if (navigator.appName == "Microsoft Internet Explorer")
                bgalpaha.style.width = document.documentElement.scrollWidth + "px";
            else
                bgalpaha.style.width = document.documentElement.scrollWidth + "px";
        }
        else
            showBox.style.display = "none";
    }
    boxAlpha();
</script>
