<%@ page language="C#" masterpagefile="~/MasterPages/NoMenuNoSecurity.master" autoeventwireup="true" inherits="Security_LoginPage, App_Web_loginpage.aspx.cecc3084" viewStateEncryptionMode="Always" maintainScrollPositionOnPostBack="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <script language="javascript" type="text/javascript">
function validate()
{
    var message = "";
    if (document.getElementById("<%=txtUserID.ClientID%>").value=="")
        message += "User ID Feild can not be blank\n";
    if (document.getElementById("<%=txtPass1.ClientID%>").value=="")
        message += "Password Feild can not be blank\n";
    
    if(message.length >0)
    {
        message = "please notice the following requirments:\n\n" + message;
        alert(message);
        return false;
    }
      return true;
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
                    <tr align="center">
                        <td valign="top">
                            <!------------------------------------body St  ---------------------------------------------->
                            <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                                <tr>
                                    <td>
                                        Login
                                    </td>
                                </tr>
                            </table>
                            <br >
                            <!------------------------------------body End1 ----------------------------------------------->
                            <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                                <tr>
                                    <td align="center">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Frow">
                                            <tr>
                                                <td>
                                                </td>
                                            </tr>
                                        </table>
                                        <br />
                                        <!------------------------------------body End1 ----------------------------------------------->
                                            <fieldset id="addItem">
                                                <legend id="addItem">Login Credintials</legend>
                                            </fieldset>
                                            <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr runat=server id="rowuser">
                                                <td class="tdNormal" style="width:15%">
                                                    </td>
                                                    <td class="tdNormal" style="width:15%">
                                                        User ID
                                                    </td>
                                                    <td class="tdNormal" style="width:30%">
                                                        <asp:TextBox ID="txtUserID" runat="server" Width="100%" class="fieldNormal" 
                                                            TabIndex="1" MaxLength="25"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                    </td>
                                                    
                                                    <td class="tdNormal" style="width:30%">
                                                    </td>
                                                </tr>
                                                <tr runat=server id="rowpass">
                                                <td></td>
                                                    <td>
                                                        Password
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtPass1" runat="server" Width="100%"  class="fieldNormal" autocomplete="off"
                                                            TextMode="Password" TabIndex="2"></asp:TextBox>                                                        
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                    <td></td>
                                                    <td><asp:RadioButton ID="rdLive" runat="server" GroupName="a" Text="Live" Checked="True" AutoPostBack="False"/></td>
                                                    <td><asp:RadioButton ID="rdArchive" runat="server" GroupName="a" Text="Archive" Checked="False" AutoPostBack="False"/></td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="5" style="text-align:center">
                                                        <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label>
                                                        <asp:Label ID="lbl_groups" runat="server" class="fieldError"></asp:Label>
                                                        <br /><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="ChangePassword.aspx" >Click here to change your password</asp:HyperLink>
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <td colspan="5" style="text-align:center">
                                                        <br />
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <td colspan="5" style="text-align:center">
                                                        <asp:Label ID="lbl_securityBanner" runat="server" Text="" Font-Size="XX-Small" ForeColor="Blue">
                                                        
                                                        </asp:Label>
                                                        
                                                        <br />
                                                    </td>
                                                </tr>
                                            </table>
                                            <table border="0" runat=server id="loginbutton" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="btnLogin" runat="server" 
                                                            Text="Enter Application" class="Btn_L_Normal1" onclick="btnLogin_Click" />
                                                    </td>
                                                </tr>
                                            </table>
                                            <table>
                                                <tr>
                                                    <td align="left">
                                                    </td>
                                                </tr>
                                            </table>
                                        <!------------------------------------body End2 ----------------------------------------------->
                                        <br>
                                    </td>
                                </tr>
                            </table>
                            <!------------------------------------body End2 ----------------------------------------------->
                        </td>
                    </tr>
                </table>
</asp:Content>

