<%@ page language="VB" autoeventwireup="false" inherits="_Default, App_Web_3hlfyjzw" enableEventValidation="false" %>
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<%@ 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 runat="server">
    <title>eTimeTrackLite Server Online</title>

   

    <script type="text/javascript">
 window.onload = function(){
if (top.location.href != self.location.href)
top.location.href = 'Default.aspx';
};

         
        function EncryptPassword1()
        {
       
            var str = '<%= Session("rnumb") %>';
            if(document.getElementById('<%= Txt_Password.ClientID %>').value != "")
            {
                var passstr = document.getElementById('<%= Txt_Password.ClientID %>').value;
                var Res = btoa(passstr);
                document.getElementById('<%= Txt_Password.ClientID %>').value = str + Res;
            }
           return true;
       }

    </script>



    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="0">
            <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="font-size: 0;">
                <td colspan="2" style="background-color: lightsteelblue;">
                    <img alt="Top Header Divider" src="images/header_divider.gif" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <img alt="Background" src="images/bck1.gif" />
                </td>
            </tr>
        </table>
        <owd:Dialog ID="StaffloginDialog" runat="server" StyleFolder="~/Styles/mainwindow/blue"
            Title="Login Window" VisibleOnLoad="true" Width="420" Height="280" IsModal="true"
            ShowCloseButton="true">
            <table style="background-color: #F1F2EF; width: 100%;" cellpadding="0" cellspacing="0">
                <tr style="font-size: 0;">
                    <td>
                        <img src="images/login-header.gif" />
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 30px; padding-top: 20px;" align="left">
                        <table cellpadding="1px" style="width: 350px;">
                            <tr>
                                <td style="width: 100px;" align="right">
                                    <b>
                                        <asp:Label ID="Label1" runat="server" Text="Login Name"></asp:Label></b></td>
                                <td align="left">
                                    <asp:TextBox ID="txt_LoginName" AutoComplete="off" runat="server" Width="210px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <b>
                                        <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label></b></td>
                                <td align="left">
                                    <asp:TextBox ID="Txt_Password" runat="server" TextMode="Password" Width="210px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2">
                                    <table>
                                        <tr>
                                            <td>
                                                <cc1:captchacontrol id="Captcha1" runat="server" captchabackgroundnoise="Low" captchalength="5"
                                                    captchaheight="60"   captchawidth="200"  captchalinenoise="None" captchamintimeout="5" 
                                                    captchamaxtimeout="240"   fontcolor="#529E00" />
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtCaptcha" AutoComplete="off" runat="server" ></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lbl_InValidError"  runat="server" EnableViewState="False" ForeColor="Red"></asp:Label>
                                            </td>
                                            <td align="right">
                                                <asp:Button ID="Btn_Ok" runat="server" CausesValidation="true" OnClientClick="return EncryptPassword1()"
                                                    Width="70px" Text="Login" />&nbsp;&nbsp;&nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </owd:Dialog>
        <owd:Dialog ID="wnd_UpdateLicesnseMessageWindow" runat="server" ShowCloseButton="False"
            VisibleOnLoad="false" Height="125" Width="300" StyleFolder="~/Styles/mainwindow/blue"
            Title="Update License Key" IsModal="False">
            <table>
                <tr>
                    <td>
                        <fieldset style="width: 280px">
                            <legend>Update Licesnse Key</legend>
                            <table>
                                <tr>
                                    <td>
                                        Your Evalution period has expired. Please update licesnse key?
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:Button ID="Btn_LicenseYes" runat="server" Text="Yes" />
                                        &nbsp;<input id="Btn_LicenseNo" type="button" value="No" onclick="javascript:wnd_UpdateLicesnseMessageWindow.Close();" />
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lbl_DelError" runat="server" EnableViewState="False" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </table>
        </owd:Dialog>
        &nbsp;
    </form>
</body>
</html>
