<%@ page language="VB" autoeventwireup="false" inherits="Main, App_Web_3hlfyjzw" enableEventValidation="false" %>
<%@ Register Assembly="obout_Splitter2_Net" Namespace="OboutInc.Splitter2" TagPrefix="obspl" %>
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
<%@ Register TagPrefix="oem" Namespace="OboutInc.EasyMenu_Pro" Assembly="obout_EasyMenu_Pro" %>
<%@ Register TagPrefix="owd" Namespace="OboutInc.Window" Assembly="obout_Window_NET" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>eBio Server Online</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body onload="javascript:SelectMenuItem('WorkerPage.aspx');" style="margin: 0; padding: 0;
    height: 100%; width: 100%; overflow: hidden;">
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="0" style="">
            <tr style="font-size: 0;">
                <td style="width: 403px; height: 85px;">
                    <img alt="Logo" src="images/logo.gif" border="0" />
                </td>
                <td align="right" width="100%">
                    <img alt="Top Header Image" src="images/tophimg.gif" border="0" />
                </td>
            </tr>
            <tr style="background-image: url(Images/mid.gif); background-repeat: repeat-x;">
                <td colspan="2" style="height: 13px">
                    <oem:EasyMenu ID="EasymenuMain" IconsFolder="MenuIcons" UseIcons="true" runat="server"
                        ShowEvent="Always" StyleFolder="styles/EasyMenu/Styles/horizontal1" Position="Horizontal"
                        CSSMenu="ParentMenu" CSSMenuItemContainer="ParentItemContainer" IconsPosition="Left">
                        <CSSClassesCollection>
                            <oem:CSSClasses ObjectType="OboutInc.EasyMenu_Pro.MenuItem" ComponentSubMenuCellOver="ParentItemSubMenuCellOver"
                                ComponentContentCell="ParentItemContentCell" Component="ParentItem" ComponentSubMenuCell="ParentItemSubMenuCell"
                                ComponentIconCellOver="ParentItemIconCellOver" ComponentIconCell="ParentItemIconCell"
                                ComponentOver="ParentItemOver" ComponentContentCellOver="ParentItemContentCellOver">
                            </oem:CSSClasses>
                            <oem:CSSClasses ObjectType="OboutInc.EasyMenu_Pro.MenuSeparator" ComponentSubMenuCellOver="ParentSeparatorSubMenuCellOver"
                                ComponentContentCell="ParentSeparatorContentCell" Component="ParentSeparator"
                                ComponentSubMenuCell="ParentSeparatorSubMenuCell" ComponentIconCellOver="ParentSeparatorIconCellOver"
                                ComponentIconCell="ParentSeparatorIconCell" ComponentOver="ParentSeparatorOver"
                                ComponentContentCellOver="ParentSeparatorContentCellOver"></oem:CSSClasses>
                        </CSSClassesCollection>
                        <Components>
                            <oem:MenuSeparator InnerHtml="|" ID="mainMenuSeparator1">
                            </oem:MenuSeparator>
                            <oem:MenuItem InnerHtml="&nbsp;Device Management&nbsp;" ID="DeviceManagement">
                            </oem:MenuItem>
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator27">
                            </oem:MenuSeparator>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Admin/Users.aspx');" InnerHtml="&nbsp;System Users&nbsp;"
                                ID="Admin_SystemUser">
                            </oem:MenuItem>
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator4">
                            </oem:MenuSeparator>
                            <oem:MenuItem ID="Utilities" runat="server" InnerHtml="&nbsp;Utilities&nbsp;">
                            </oem:MenuItem>
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator2">
                            </oem:MenuSeparator>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Admin/DatabaseSettings.aspx');"
                                InnerHtml="&nbsp;Database Settings&nbsp;" ID="MenuItem26">
                            </oem:MenuItem>
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator6">
                            </oem:MenuSeparator>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Admin/ChangePassword.aspx');"
                                InnerHtml="&nbsp;Change Password&nbsp;" ID="Admin_ChangePassword">
                            </oem:MenuItem>
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator1">
                            </oem:MenuSeparator>

                             <oem:MenuItem InnerHtml="&nbsp;About&nbsp;" ID="About">
                            </oem:MenuItem>
                            
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator5">
                            </oem:MenuSeparator>

                            <oem:MenuItem OnClientClick="window.parent.location.href='LogOut.aspx'" InnerHtml="&nbsp;Log Off&nbsp;&nbsp;&nbsp;"
                                ID="LogOff1">
                            </oem:MenuItem>
                            <oem:MenuSeparator InnerHtml="|" ID="MenuSeparator3">
                            </oem:MenuSeparator>


                        </Components>
                    </oem:EasyMenu>
                    <!--// The menus //-->
                    <oem:EasyMenu ID="Easymenu4" runat="server" ShowEvent="MouseOver" AttachTo="DeviceManagement"
                        UseIcons="true" IconsFolder="MenuIcons" IconsPosition="Left" Align="Under" OffsetVertical="-2"
                        Width="223" StyleFolder="styles/horizontal1">
                        <Components>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/Devices.aspx');" InnerHtml="Device List"
                                ID="MenuItem17" Icon="Device.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/DeviceLogList.aspx');"
                                InnerHtml="Employee Device Logs" ID="MenuItem19" Icon="logs.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/DeviceCommands.aspx');"
                                InnerHtml="Device Commands" ID="MenuItem74" Icon="deviceOpLog.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/DeviceOperationLogs.aspx');"
                                InnerHtml="Device Operation Logs" ID="MenuItem75" Icon="deviceOpLog.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/Employees.aspx');"
                                InnerHtml="Employees" ID="MenuItem2" Icon="deviceOpLog.gif">
                            </oem:MenuItem>
                             <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/UploadUsersToMultipleDevice.aspx');"
                                InnerHtml="Upload Users To Multiple Device" ID="MenuItem96" Icon="deviceOpLog.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/MasterSlaveDeviceList.aspx');"
                                InnerHtml="Master Slave Device List" ID="MenuItem76" Icon="deviceOpLog.gif">
                            </oem:MenuItem>
                             <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/MasterSettings.aspx');"
                                InnerHtml="Master Settings" ID="Manage_MasterSettings" Icon="masterSettings.gif">
                            </oem:MenuItem>
                            
                            <%--  
                         
                          <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/EmployeeDeviceLogs.aspx');"
                                InnerHtml="Employee Device Logs" ID="MenuItem19" Icon="logs.gif">
                            </oem:MenuItem>
                          
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/DeviceLogList1.aspx');"
                                InnerHtml="Device Log List1" ID="MenuItem96" Icon="deviceOpLog.gif">
                            </oem:MenuItem>--%>
                            <%--<oem:MenuItem OnClientClick="javascript:SelectMenuItem('Manage/DeviceGreetings.aspx');"
                                InnerHtml="Device Greetings" ID="MenuItem83" Icon="deviceOpLog.gif">
                            </oem:MenuItem>--%>
                        </Components>
                    </oem:EasyMenu>
                    <oem:EasyMenu ID="Easymenu5" runat="server" ShowEvent="MouseOver" AttachTo="Utilities"
                        UseIcons="true" IconsFolder="MenuIcons" IconsPosition="Left" Align="Under" OffsetVertical="-2"
                        Width="250" StyleFolder="styles/horizontal1">
                        <Components>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Utilities/ImportEmployeesDetails.aspx?Id=1');"
                                InnerHtml="Import Employees Details" ID="MenuItem20" Icon="import.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Utilities/ExportEmployeesDetails.aspx?Id=1');"
                                InnerHtml="Export Employees Details" ID="MenuItem22" Icon="export.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Utilities/ParallelDatabaseExport.aspx');"
                                InnerHtml="Parallel Database Export" ID="MenuItem77" Icon="import.gif">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('Utilities/ImportLogs.aspx');"
                                InnerHtml="Import Log Records" ID="MenuItem25" Icon="import.gif">
                            </oem:MenuItem>
                        </Components>
                    </oem:EasyMenu>

                     <oem:EasyMenu ID="Easymenu1" runat="server" ShowEvent="MouseOver" AttachTo="About"
                        Align="Under" OffsetVertical="-2" Width="170" StyleFolder="styles/horizontal1">
                        <Components>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('AboutUs.aspx');" InnerHtml="About us"
                                ID="MenuItem29">
                            </oem:MenuItem>
                            <oem:MenuItem OnClientClick="javascript:SelectMenuItem('ExtendEvalution.aspx');"
                                InnerHtml="Extend Evaluation" ID="MenuItem80">
                            </oem:MenuItem>
                        </Components>
                    </oem:EasyMenu>

                </td>
            </tr>
            <%--For Tool Box Items--%>
            <tr style="background-image: url(Images/mid.gif); background-repeat: repeat-x">
                <td colspan="2">
                    <oem:EasyMenu ID="Easymenu9" IconsFolder="MenuIcons" UseIcons="true" runat="server"
                        ShowEvent="Always" StyleFolder="styles/EasyMenu/Styles/horizontal1" Position="Horizontal"
                        CSSMenu="ParentMenu" CSSMenuItemContainer="ParentItemContainer" IconsPosition="Left">
                        <CSSClassesCollection>
                            <oem:CSSClasses ObjectType="OboutInc.EasyMenu_Pro.MenuItem" ComponentSubMenuCellOver="ParentItemSubMenuCellOver"
                                ComponentContentCell="ParentItemContentCell" Component="ParentItem" ComponentSubMenuCell="ParentItemSubMenuCell"
                                ComponentIconCellOver="ParentItemIconCellOver" ComponentIconCell="ParentItemIconCell"
                                ComponentOver="ParentItemOver" ComponentContentCellOver="ParentItemContentCellOver">
                            </oem:CSSClasses>
                            <oem:CSSClasses ObjectType="OboutInc.EasyMenu_Pro.MenuSeparator" ComponentSubMenuCellOver="ParentSeparatorSubMenuCellOver"
                                ComponentContentCell="ParentSeparatorContentCell" Component="ParentSeparator"
                                ComponentSubMenuCell="ParentSeparatorSubMenuCell" ComponentIconCellOver="ParentSeparatorIconCellOver"
                                ComponentIconCell="ParentSeparatorIconCell" ComponentOver="ParentSeparatorOver"
                                ComponentContentCellOver="ParentSeparatorContentCellOver"></oem:CSSClasses>
                        </CSSClassesCollection>
                    </oem:EasyMenu>
                </td>
            </tr>
        </table>
        <div id="Div_IFrame" style="width: 100%; height: 100%; position: absolute; border: none;
            overflow: hidden;">
            <iframe id="tabIframe" style="width: 100%; height: 100%; border: none;"></iframe>
        </div>
        <owd:Window ID="mySessionTimeOutWindow" runat="server" Left="580" Top="320" Height="80"
            Width="250" VisibleOnLoad="false" StyleFolder="~/Styles/mainwindow/blue" Title="Session Time Out"
            IsModal="True" ShowStatusBar="False" ShowCloseButton="false" OnClientOpen="mySessionTimeOutWindow.screenCenter();">
            <table>
                <tr>
                    <td align="left">
                        <asp:Label ID="lblSession" runat="server" Text="Session Timed Out. System will re-login."
                            Font-Size="11px" ForeColor="Black" Font-Names="Verdana"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">
                        <input id="btnSessionOk" type="button" value="OK" onclick="SessionTimeOutCloseWindow()" /></td>
                </tr>
            </table>
        </owd:Window>
    </form>

    <script type="text/javascript">
    
   function lnk_LogOff_OnClientClick()
    {
        window.parent.location.href='LogOut.aspx';
        return false;
    }
    
  function SessionTimeOutCloseWindow()
    {
        window.parent.location.href='LogOut.aspx';
    }
    
   function LoadMainPage(cId)
		{
           	window.parent.splMain.loadPage('RightContent', cId + '.aspx' );
		}
			
	function LoadMainPageWithQueryString(cId)
	{
		window.parent.splMain.loadPage('RightContent', cId);
	}
    
//    function SelectMenuItem(itemID)
//    {
//    var WindowHeight=window.screen.height;
//    switch (WindowHeight)
//        {
//            case 768:
//              document.getElementById('Div_IFrame').style.height='80.7%'
//              break;
//            case 864:
//              document.getElementById('Div_IFrame').style.height='83.4%'
//              break;
//            case 900:
//              document.getElementById('Div_IFrame').style.height='84%'
//              break;
//              case 960:
//              document.getElementById('Div_IFrame').style.height='85.3%'
//              break;
//            default:
//              document.getElementById('Div_IFrame').style.height='84.2%'
//        }
//	    window.frames['tabIframe'].location.replace(itemID);
//    }


function SelectMenuItem(itemID)
    {
    var WindowHeight=window.screen.height;
    switch (WindowHeight)
        {
            case 768:
              document.getElementById('Div_IFrame').style.height='76.7%'
              break;
            case 864:
              document.getElementById('Div_IFrame').style.height='79.4%'
              break;
            case 900:
              document.getElementById('Div_IFrame').style.height='80%'
              break;
              case 960:
              document.getElementById('Div_IFrame').style.height='81.3%'
              break;
            default:
              document.getElementById('Div_IFrame').style.height='80.2%'
        }
        
	   document.getElementById('tabIframe').src= itemID;
    }
    
    </script>

</body>
</html>
