<%@ page language="C#" autoeventwireup="true" inherits="AppTOP, App_Web_apptop.aspx.16ccd3f0" enableEventValidation="false" %>

<!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 runat="server">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

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

    <script language="javascript" type="text/javascript">
        window.onbeforeunload = confirmExit;

        function confirmExit() {
            xmlhttp = new XMLHttpRequest();
            xmlhttp.open("GET", "../LogOut.aspx", false);
            xmlhttp.send();
        } 
    </script>

    <script language="javascript">

        function logout() {
            try {
                if (self.parent.frames.length != 0)
                    self.parent.location = "../LogOut.aspx";
            }
            catch (Exception) { }
        }

        function TimeOutRedirect() {
            try {
                if (self.parent.frames.length != 0)
                    self.parent.location = "../Logout.aspx";
            }
            catch (Exception) { }
        }      
    </script>

  </head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" oncontextmenu="return false;">
    <form id="form1" runat="server">
    <%--<div id="timeout">
        <h1>
            Session About To Timeout</h1>
        <p>
            You will be automatically logged out in 1 minute.<br />
        To remain logged in move your mouse over this window.
    </div>--%>
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"
        AsyncPostBackTimeout="0" />
    <asp:UpdatePanel ID="InsertUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <table width="100%" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="center" valign="top">
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Always">
                            <ContentTemplate>
                                <table width="100%" cellpadding="0" cellspacing="0" class="top-bg">
                                    <tr>
                                        <td align="left" class="topbg" rowspan="2">
                                            <img src="../Images/Logo.jpg" width="115" height="20" border="0" style="vertical-align: middle">
                                        </td>
                                        <td align="Right" class="topbg" rowspan="2">
                                            <asp:Literal ID="litCompany" runat="server"></asp:Literal>&nbsp;
                                        </td>
                                        <td width="250" align="left" valign="middle" height="10" class="heading-right" style="border-left-style: solid;
                                            border-left-width: thin; border-bottom-style: solid; border-bottom-width: thin;">
                                            &nbsp;<img src="../Icon/unit.png" width="10" height="10" border="0" style="vertical-align: middle">
                                            <asp:Label CssClass="black-text" ID="lblBUnit" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="250" align="left" valign="middle" height="10" class="heading-right" style="border-left-style: solid;
                                            border-left-width: thin; border-bottom-style: solid; border-bottom-width: thin;">
                                            &nbsp; <a href="../BranchSelect.aspx" target="Details" id="aBranch" runat="server">
                                                <img src="../Icon/branch.png" width="10" height="10" border="0" style="vertical-align: middle">
                                                <asp:Label CssClass="black-text" ID="lblBranch" runat="server"></asp:Label>
                                            </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                            <Triggers>
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td valign="middle" class="greybg" height="22">
                        <table width="100%" align="right" cellpadding="0" cellspacing="1">
                            <tr>
                                <td align="left" valign="middle" width="2%">
                                    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
                                        <ContentTemplate>
                                            &nbsp;<img id="imgCommunication" src="../Images/CommunicationRed.png" border="0"
                                                style="cursor: hand; vertical-align: middle;" runat="server">
                                        </ContentTemplate>
                                        <Triggers>
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                                <td align="left" class="grey-text">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                        <ContentTemplate>
                                            <asp:Label ForeColor="White" ID="lblRegisterInfo" runat="server" Text="Communication Offline"></asp:Label>
                                            <asp:Timer ID="Timer1" OnTick="Timer1_Tick" runat="server" Interval="5000" Enabled="true">
                                            </asp:Timer>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                                <td align="right" class="grey-text" valign="middle" width="15%">
                                    <img src="../Icon/name.png" border="0" style="cursor: pointer; vertical-align: middle">
                                    <asp:Label CssClass="blue-text" ID="lbluname" runat="server"></asp:Label>
                                </td>
                                <td align="right" class="grey-text" width="15%" valign="middle">
                                    <img src="../Icon/date.png" border="0" style="cursor: none; vertical-align: middle;">
                                    <asp:Label CssClass="blue-text" ID="lbldate" runat="server"></asp:Label>
                                </td>
                                <%--<td align="right" class="grey-text" valign="middle">
                                    <a href="../RealTime/RealTime.aspx" target="_blank" id="aRealTime" runat="server">
                                        <img src="../Icon/realtime.png" width="16" height="16" border="0" style="cursor: pointer;
                                            vertical-align: middle">
                                        <span class="blue-text">Real Time</span></a>
                                </td>--%>
                                <td align="right" class="grey-text" valign="middle" width="15%">
                                    <a href="../App_Admin/ChangePassword.aspx" target="Details">
                                        <img src="../Icon/change-password.png" width="12" height="15" border="0" style="cursor: pointer;
                                            vertical-align: middle">
                                        <span class="blue-text">Change Password</span></a>
                                </td>
                                <td align="right" width="10%" valign="middle" class="grey-text">
                                    <img src="../Icon/logout.png" border="0" style="vertical-align: middle" onclick="logout();">
                                    <a style="cursor: pointer;" onclick="logout();"><span class="blue-text">Logout</span></a>
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:HiddenField ID="HdnMemberId" runat="server" />
    <asp:HiddenField ID="HdnMemberName" runat="server" />
    <asp:HiddenField ID="HdnTeamId" runat="server" />
    <asp:HiddenField ID="HdnTeamName" runat="server" />
    <asp:HiddenField ID="HdnGroupId" runat="server" />
    <asp:HiddenField ID="HdnBusinessUnitId" runat="server" />
    <asp:HiddenField ID="HdnBranchId" runat="server" />
    <asp:HiddenField ID="HdnColorTheme" runat="server" />
    <asp:HiddenField ID="hdnUserName" runat="server" />
    <asp:HiddenField ID="hdnReportDocument" runat="server" />
    <asp:HiddenField ID="hdnMenuName" runat="server" />
    <asp:HiddenField ID="hdnEquipmentMasterId" runat="server" />
    <asp:HiddenField ID="hdnDefaultPage" runat="server" />
    <asp:HiddenField ID="hdnGATempData" runat="server" />
    <asp:HiddenField ID="hdnRegistrationInfo" runat="server" />
    <asp:HiddenField ID="hdnReportOption" runat="server" />
    <asp:HiddenField ID="hdnFLanguageId" runat="server" />
    <asp:HiddenField ID="hdnWEBSERVICE" runat="server" />
    <asp:HiddenField ID="hdnGRNQCDIRECT" runat="server" />
    <asp:HiddenField ID="hdnCLASS2NEW" runat="server" />
    <asp:HiddenField ID="hdnWODESIGNER" runat="server" />
    <asp:HiddenField ID="hdnSALESCONSIGNEE" runat="server" />
    <asp:HiddenField ID="hdnSALESPAYSCHEDULE" runat="server" />
    <asp:HiddenField ID="hdnPURCHASECONSIGNEE" runat="server" />
    <asp:HiddenField ID="hdnPURCHASEPAYSCHEDULE" runat="server" />
    <asp:HiddenField ID="hdnAGENT" runat="server" />
    <asp:HiddenField ID="hdnSALESMAN" runat="server" />
    <asp:HiddenField ID="hdnTRANSPORTER" runat="server" />
    <asp:HiddenField ID="hdnEXCISE" runat="server" />
    <asp:HiddenField ID="hdnNEGATIVESTOCK" runat="server" />
    <asp:HiddenField ID="hdnNEGATIVEPROMPT" runat="server" />
    <asp:HiddenField ID="hdnREPORTOUTPUT" runat="server" />
    <asp:HiddenField ID="hdnMONTHFROM" runat="server" />
    <asp:HiddenField ID="hdnMONTHTO" runat="server" />
    <asp:HiddenField ID="hdnintTmrCounter" runat="server" />
    <asp:HiddenField ID="hdnGVEquipmentDiagnosisTempData" runat="server" />
    <asp:HiddenField ID="hdnGVSYSTEMDIAGNOSISTempData" runat="server" />
    <asp:HiddenField ID="hdnNoofCh" runat="server" />
    <asp:HiddenField ID="hdnChannelStr" runat="server" />
    <asp:HiddenField ID="hdnChannelNameStr" runat="server" />
    <asp:HiddenField ID="hdnEquipmentNm" runat="server" />
    </form>
</body>
</html>
