<%@ page language="C#" autoeventwireup="true" inherits="BranchMaster, App_Web_branchmaster.aspx.de3fb1ff" enableEventValidation="false" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/UserControls/iERPToolBar.ascx" TagName="iERPToolBar" TagPrefix="dsit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head id="Head1" runat="server">
    <title>..:: ICDAS 2.1 ::..</title>
    <meta http-equiv="X-UA-Compatible" content="IE=9" />

    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/js_functions.js"> </script>

    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/email.js"> </script>

    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/ScreenSaverStar.js"> </script>

    <script type="text/javascript" language="javascript">

        function resizeObject() {
            var w = getBrowserWindowSize().width;
            var h = getBrowserWindowSize().height - 5;
            //window.resizeTo(w, h);
            var cObj = document.getElementById("divChildBody");
            if (cObj != null) {
                //cObj.style.height = parseInt((h*79)/100) +"px";
                cObj.style.height = (parseInt(h) - 10) + "px";
                //cObj.style.width = parseInt(w) +"px";
            }
            hideWait();
        }


        function hidedivImg() {
            var cObj = document.getElementById("<%# divImg.ClientID %>");
            //alert(cObj);
            if (cObj != null) {
                cObj.style.visibility = "visible";
                cObj.style.display = "hidden";
            }
        }

        function showdivImg(strFld) {
            var cObj = document.getElementById("<%# divImg.ClientID %>");
            //alert(cObj);
            if (cObj != null) {
                cObj.style.visibility = "visible";
                cObj.style.display = "block";
            }
        }

        function suppresskey() {
            window.event.returnValue = false;
        }

        function validateRecord() {
            var doc = document.forms[0];


            if (Trim(doc.txtBranchName.value.trim()) == "") {
                alert("Please Enter Name...");
                document.forms[0].txtBranchName.focus()
                return false;
            }

            else if (doc.cmbBusinessUnitId.selectedIndex <= 0) {
                alert("Please Select Comm. Group...");
                document.forms[0].cmbBusinessUnitId.focus()
                return false;
            }

            else if (doc.txtHeaderNote.value.trim() == "") {
                alert("Please Enter Header Note...");
                document.forms[0].txtHeaderNote.focus()
                return false;
            }
            else if (doc.txtFooterNote.value.trim() == "") {
                alert("Please Enter Foter Note...");
                document.forms[0].txtFooterNote.focus()
                return false;
            }
            else if (doc.cmbArchiveMonth.selectedIndex == 0) {
                alert("Please Select Archive Month...");
                document.forms[0].cmbArchiveMonth.focus()
                return false;
            }
            if (doc.hdnMainEmailSystem.value == 0 && doc.rdBtnEnabled.checked == true) {


                if (Trim(doc.txtEmailAlertDelay.value.trim()) == "") {
                    alert("Please Enter Enter Email Alert Delay...");
                    document.forms[0].txtEmailAlertDelay.focus()
                    return false;
                }

                if (parseInt(doc.txtEmailAlertDelay.value.trim()) < 1) {
                    alert("Please Enter Email Alert Delay > 0...");
                    document.forms[0].txtEmailAlertDelay.focus();
                    return false;
                }
                if (parseInt(doc.txtEmailAlertDelay.value.trim()) > 180) {
                    alert("Please Enter Email Alert Delay <= 180...");
                    document.forms[0].txtEmailAlertDelay.focus();
                    return false;
                }

                if (doc.txtEmailAddress1.value.trim() == "") {
                    alert("Please Enter Email Address 1...");
                    document.forms[0].txtEmailAddress1.focus()
                    return false;
                }

                if (validateEmail(doc.txtEmailAddress1.value, 1, 0) == false) {
                    alert("Invalid Email Address 1...");
                    document.forms[0].txtEmailAddress1.focus()
                    return false;
                }

                if (doc.txtEmailAddress2.value != "" && validateEmail(doc.txtEmailAddress2.value, 1, 0) == false) {
                    alert("Invalid Email Address 2...");
                    document.forms[0].txtEmailAddress2.focus()
                    return false;
                }

                if (doc.txtEmailAddress3.value != "" && validateEmail(doc.txtEmailAddress3.value, 1, 0) == false) {
                    alert("Invalid Email Address 3...");
                    document.forms[0].txtEmailAddress3.focus()
                    return false;
                }

                if (doc.txtEmailAddress4.value != "" && validateEmail(doc.txtEmailAddress4.value, 1, 0) == false) {
                    alert("Invalid Email Address 4...");
                    document.forms[0].txtEmailAddress4.focus()
                    return false;
                }

                if (doc.txtEmailAddress5.value != "" && validateEmail(doc.txtEmailAddress5.value, 1, 0) == false) {
                    alert("Invalid Email Address 5...");
                    document.forms[0].txtEmailAddress5.focus()
                    return false;
                }


                if (doc.cmbEmailHours.selectedIndex <= 0) {
                    alert("Please Select Email Hours...");
                    document.forms[0].cmbEmailHours.focus()
                    return false;
                }

                if (doc.cmbEmailMins.selectedIndex <= 0) {
                    alert("Please Select Email Mins...");
                    document.forms[0].cmbEmailMins.focus()
                    return false;
                }
                if (doc.txtSupervisorEmailAddress.value == "") {
                    alert("Please Enter Supervisor Email Address 1...");
                    document.forms[0].txtSupervisorEmailAddress.focus()
                    return false;
                }
                if (validateEmail(doc.txtSupervisorEmailAddress.value, 1, 0) == false) {
                    alert("Invalid Supervisor Email Address 1...");
                    document.forms[0].txtSupervisorEmailAddress.focus()
                    return false;
                }

                if (doc.txtSupervisorEmailAddress2.value != "") {
                    if (validateEmail(doc.txtSupervisorEmailAddress2.value, 1, 0) == false) {
                        alert("Invalid Supervisor Email Address 2...");
                        document.forms[0].txtSupervisorEmailAddress2.focus()
                        return false;
                    }
                }

            }

            if (doc.hdnMainSMSSystem.value == 0 && doc.rdBtnSMSEnabled.checked == true) {


                if (Trim(doc.txtSMSAlertDelay.value.trim()) == "") {
                    alert("Please Enter SMS Alert Delay...");
                    document.forms[0].txtSMSAlertDelay.focus()
                    return false;
                }

                if (parseInt(doc.txtSMSAlertDelay.value.trim()) < 1) {
                    alert("Please Enter SMS Alert Delay > 0...");
                    document.forms[0].txtSMSAlertDelay.focus();
                    return false;
                }
                if (parseInt(doc.txtSMSAlertDelay.value.trim()) > 180) {
                    alert("Please Enter SMS Alert Delay <= 180...");
                    document.forms[0].txtSMSAlertDelay.focus();
                    return false;
                }

                if (doc.txtMobileUserName1.value.trim() == "") {
                    alert("Please Enter Mobile User Name 1...");
                    document.forms[0].txtMobileUserName1.focus()
                    return false;
                }

                if (document.getElementById("txtMobileUserName1").value.indexOf(",") !== -1) {
                    alert("Invalid Mobile UserName 1..");
                    document.forms[0].txtMobileUserName1.focus();
                    return false;
                }

                if (doc.txtmobileno1.value.trim() == "") {
                    alert("Please Enter Mobile No 1...");
                    document.forms[0].txtmobileno1.focus()
                    return false;
                }

                if (doc.txtMobileUserName2.value.trim() != "") {
                    if (document.getElementById("txtMobileUserName2").value.indexOf(",") !== -1) {
                        alert("Invalid Mobile UserName 2..");
                        document.forms[0].txtMobileUserName2.focus();
                        return false;
                    }
                }

                if (doc.txtMobileUserName3.value.trim() != "") {
                    if (document.getElementById("txtMobileUserName3").value.indexOf(",") !== -1) {
                        alert("Invalid Mobile UserName 3..");
                        document.forms[0].txtMobileUserName3.focus();
                        return false;
                    }
                }

                if (doc.txtMobileUserName4.value.trim() != "") {
                    if (document.getElementById("txtMobileUserName4").value.indexOf(",") !== -1) {
                        alert("Invalid Mobile UserName 4..");
                        document.forms[0].txtMobileUserName4.focus();
                        return false;
                    }
                }

                if (doc.txtMobileUserName5.value.trim() != "") {
                    if (document.getElementById("txtMobileUserName5").value.indexOf(",") !== -1) {
                        alert("Invalid Mobile UserName 5..");
                        document.forms[0].txtMobileUserName5.focus();
                        return false;
                    }
                }
            
            }
            return true;
        }

        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if ((charCode >= 48 && charCode <= 57) || charCode == 43)
                return true;
            return false;
        }		
    </script>

</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" onload="resizeObject(); resizeHolder(); init(); initScreenSaver('1',<%=Session["AutoLogOutTime"]%>);">
    <form id="Form1" runat="server" class="formbg" target="_blank">
    <asp:ToolkitScriptManager runat="Server" EnablePartialRendering="true" AsyncPostBackTimeout="0"
        ID="ToolkitScriptManager1" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left" class="formbg">
        <tr>
            <td valign="top" align="left">
                <div id="divMainBody" align="center" runat="server" width="100%" height="100%">
                    <div id="divHeader" runat="server" style="border-style: none; height: 26px; width: 100%;
                        position: absolute; left: 1px; top: 8px;" align="center">
                        <dsit:iERPToolBar ID="iERPToolBar1" runat="server" PageAccess="11111" />
                    </div>
                    <asp:UpdatePanel ID="uplChildBody" runat="server" UpdateMode="Always">
                        <ContentTemplate>
                            <asp:HiddenField ID="hdnRecordKeyId" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnRecordIds" runat="server" Value="" />
                            <asp:HiddenField ID="hdnUserId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBusinessUnitId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBranchId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEmailAddress" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEmailTime" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEmailSystem" runat="server" Value="" />
                            <asp:HiddenField ID="hdnSMSAddress" runat="server" Value="" />
                            <asp:HiddenField ID="hdnSMSSystem" runat="server" Value="" />
                            <asp:HiddenField ID="hdnMainEmailSystem" runat="server" Value="" />
                            <asp:HiddenField ID="hdnMainSMSSystem" runat="server" Value="" />
                            <asp:HiddenField ID="hdnMobileUserName" runat="server" Value="" />
                            <asp:HiddenField ID="hdnSuperVisorEmailAddress" runat="server" Value="" />
                            <asp:HiddenField ID="hdnArchiveEmailReminderDate" runat="server" Value="" />
                            <div id="divChildBody" runat="server" style="overflow: auto; width: 99%;">
                                <table width="100%" align="left" cellpadding="1" cellspacing="0" class="tablefont">
                                    <tr height="62px">
                                        <td colspan="4">
                                            &nbsp
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="18%">
                                            Name*
                                        </td>
                                        <td width="32%">
                                            <asp:TextBox ID="txtBranchName" runat="server" Width="94%" MaxLength="30"></asp:TextBox>
                                        </td>
                                        <td width="18%">
                                        </td>
                                        <td width="32%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="18%">
                                            Comm. Group*
                                        </td>
                                        <td width="32%">
                                            <asp:DropDownList ID="cmbBusinessUnitId" runat="server" Width="94%" OnSelectedIndexChanged="cmbBusinessUnitId_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                        <td width="18%">
                                        </td>
                                        <td width="32%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="18%">
                                            Header Note*
                                        </td>
                                        <td width="82%" colspan="4">
                                            <asp:TextBox MaxLength="100" ID="txtHeaderNote" runat="server" Width="99%"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="18%">
                                            Footer Note*
                                        </td>
                                        <td width="82%" colspan="4">
                                            <asp:TextBox MaxLength="100" ID="txtFooterNote" runat="server" Width="99%"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="18%">
                                            Archive Month*
                                        </td>
                                        <td colspan="4">
                                            <asp:DropDownList ID="cmbArchiveMonth" runat="server">
                                                <asp:ListItem Value="0" Text="Select Archive Month" Selected="True"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="Jan"></asp:ListItem>
                                                <asp:ListItem Value="2" Text="Feb"></asp:ListItem>
                                                <asp:ListItem Value="3" Text="Mar"></asp:ListItem>
                                                <asp:ListItem Value="4" Text="Apr"></asp:ListItem>
                                                <asp:ListItem Value="5" Text="May"></asp:ListItem>
                                                <asp:ListItem Value="6" Text="Jun"></asp:ListItem>
                                                <asp:ListItem Value="7" Text="Jul"></asp:ListItem>
                                                <asp:ListItem Value="8" Text="Aug"></asp:ListItem>
                                                <asp:ListItem Value="9" Text="Sep"></asp:ListItem>
                                                <asp:ListItem Value="10" Text="Oct"></asp:ListItem>
                                                <asp:ListItem Value="11" Text="Nov"></asp:ListItem>
                                                <asp:ListItem Value="12" Text="Dec"></asp:ListItem>
                                            </asp:DropDownList>
                                            &nbsp; ( Archive data for more then 2 years. )
                                        </td>
                                    </tr>
                                    <tr class="frametitle" height="20px">
                                        <td colspan="4">
                                            Email
                                        </td>
                                    </tr>
                                    <asp:Panel ID="pnlMainEmail" runat="server">
                                        <tr>
                                            <td width="18%">
                                                Email System*
                                            </td>
                                            <td width="82%" colspan="4">
                                                <asp:RadioButton ID="rdBtnEnabled" runat="server" GroupName="EmailSystem" Text="Enabled"
                                                    Checked="True" AutoPostBack="true" OnCheckedChanged="rdBtnEnabled_CheckedChanged" />
                                                <asp:RadioButton ID="rdBtnDisabled" runat="server" GroupName="EmailSystem" Text="Disabled"
                                                    AutoPostBack="true" OnCheckedChanged="rdBtnDisabled_CheckedChanged" />
                                            </td>
                                        </tr>
                                        <asp:Panel ID="pnlEmail" runat="server">
                                            <tr>
                                                <td width="18%">
                                                    Email Alert Delay*
                                                </td>
                                                <td width="82%" colspan="4">
                                                    <asp:TextBox MaxLength="3" ID="txtEmailAlertDelay" runat="server" Width="4%" CssClass="numInput"></asp:TextBox>
                                                    &nbsp; in min ( Min 1 to Max 180 )
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Alert Email Address 1*
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="100" ID="txtEmailAddress1" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Alert Email Address 2
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="100" ID="txtEmailAddress2" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Alert Email Address 3
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="100" ID="txtEmailAddress3" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Alert Email Address 4
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="100" ID="txtEmailAddress4" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Alert Email Address 5
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="100" ID="txtEmailAddress5" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                </td>
                                                <td width="32%">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Email Time*
                                                </td>
                                                <td width="82%" colspan="4">
                                                    <asp:DropDownList ID="cmbEmailHours" runat="server">
                                                        <asp:ListItem Text="Hours" Value="-1" Selected="True" />
                                                        <asp:ListItem Text="00" Value="0" />
                                                        <asp:ListItem Text="01" Value="1" />
                                                        <asp:ListItem Text="02" Value="2" />
                                                        <asp:ListItem Text="03" Value="3" />
                                                        <asp:ListItem Text="04" Value="4" />
                                                        <asp:ListItem Text="05" Value="5" />
                                                        <asp:ListItem Text="06" Value="6" />
                                                        <asp:ListItem Text="07" Value="7" />
                                                        <asp:ListItem Text="07" Value="7" />
                                                        <asp:ListItem Text="08" Value="8" />
                                                        <asp:ListItem Text="09" Value="9" />
                                                        <asp:ListItem Text="10" Value="10" />
                                                        <asp:ListItem Text="11" Value="11" />
                                                        <asp:ListItem Text="12" Value="12" />
                                                        <asp:ListItem Text="13" Value="13" />
                                                        <asp:ListItem Text="14" Value="14" />
                                                        <asp:ListItem Text="15" Value="15" />
                                                        <asp:ListItem Text="16" Value="16" />
                                                        <asp:ListItem Text="17" Value="17" />
                                                        <asp:ListItem Text="18" Value="18" />
                                                        <asp:ListItem Text="19" Value="19" />
                                                        <asp:ListItem Text="20" Value="20" />
                                                        <asp:ListItem Text="21" Value="21" />
                                                        <asp:ListItem Text="22" Value="22" />
                                                        <asp:ListItem Text="23" Value="23" />
                                                    </asp:DropDownList>
                                                    :
                                                    <asp:DropDownList ID="cmbEmailMins" runat="server">
                                                        <asp:ListItem Text="Mins" Value="-1" Selected="True" />
                                                        <asp:ListItem Text="00" Value="0" />
                                                        <asp:ListItem Text="05" Value="10" />
                                                        <asp:ListItem Text="10" Value="10" />
                                                        <asp:ListItem Text="15" Value="15" />
                                                        <asp:ListItem Text="20" Value="20" />
                                                        <asp:ListItem Text="25" Value="25" />
                                                        <asp:ListItem Text="30" Value="30" />
                                                        <asp:ListItem Text="35" Value="35" />
                                                        <asp:ListItem Text="40" Value="40" />
                                                        <asp:ListItem Text="45" Value="45" />
                                                        <asp:ListItem Text="50" Value="50" />
                                                        <asp:ListItem Text="55" Value="55" />
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Supervisor Email Add. 1*
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="50" ID="txtSupervisorEmailAddress" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Supervisor Email Add. 2
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox MaxLength="50" ID="txtSupervisorEmailAddress2" runat="server" Width="90%"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </asp:Panel>
                                    </asp:Panel>
                                    <tr class="frametitle" height="15px">
                                        <td colspan="4">
                                            SMS
                                        </td>
                                    </tr>
                                    <asp:Panel ID="pnlMainSMS" runat="server">
                                        <tr>
                                            <td width="18%">
                                                SMS System*
                                            </td>
                                            <td width="82%" colspan="4">
                                                <asp:RadioButton ID="rdBtnSMSEnabled" runat="server" GroupName="SMSSystem" Text="Enabled"
                                                    Checked="True" AutoPostBack="true" OnCheckedChanged="rdBtnSMSEnabled_CheckedChanged" />
                                                <asp:RadioButton ID="rdBtnSMSDisabled" runat="server" GroupName="SMSSystem" Text="Disabled"
                                                    AutoPostBack="true" OnCheckedChanged="rdBtnSMSDisabled_CheckedChanged" />
                                            </td>
                                        </tr>
                                        <asp:Panel ID="PnlSMS" runat="server">
                                            <tr>
                                                <td width="18%">
                                                    SMS Alert Delay*
                                                </td>
                                                <td width="82%" colspan="4">
                                                    <asp:TextBox MaxLength="3" ID="txtSMSAlertDelay" runat="server" Width="4%" CssClass="numInput"></asp:TextBox>
                                                    &nbsp; in min ( Min 1 to Max 180 )
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Mobile User Name 1*
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtMobileUserName1" runat="server" Width="90%" MaxLength="30"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Mobile No 1*
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtmobileno1" runat="server" Width="32%" MaxLength="15"></asp:TextBox>&nbsp;(e.g
                                                    +919020059100 )
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Mobile User Name 2
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtMobileUserName2" runat="server" Width="90%" MaxLength="30"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Mobile No 2
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtmobileno2" runat="server" Width="32%" MaxLength="15"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Mobile User Name 3
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtMobileUserName3" runat="server" Width="90%" MaxLength="30"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Mobile No 3
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtmobileno3" runat="server" Width="32%" MaxLength="15"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Mobile User Name 4
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtMobileUserName4" runat="server" Width="90%" MaxLength="30"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Mobile No 4
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtmobileno4" runat="server" Width="32%" MaxLength="15"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%">
                                                    Mobile User Name 5
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtMobileUserName5" runat="server" Width="90%" MaxLength="30"></asp:TextBox>
                                                </td>
                                                <td width="18%">
                                                    Mobile No 5
                                                </td>
                                                <td width="32%">
                                                    <asp:TextBox ID="txtmobileno5" runat="server" Width="32%" MaxLength="15"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </asp:Panel>
                                    </asp:Panel>
                                </table>
                            </div>
                        </ContentTemplate>
                        <Triggers>
                        </Triggers>
                    </asp:UpdatePanel>
                    <div id="divImg" runat="server" align="center" style="width: 100%; height: 1500px;
                        visibility: hidden; top: 0px; left: 0px; position: absolute; background-color: #333333;
                        padding-left: 10%; text-align: center; vertical-align: middle; filter: alpha(opacity=90);
                        opacity: 0.90;">
                        <%--filter: alpha(opacity=75); opacity: 0.75;--%>
                        <%--<div id="divImg" runat="server" class="LockOff">--%>
                        <br />
                        <br />
                    </div>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
