<%@ Page Language="vb" AutoEventWireup="false" Title="FinIQ Login Verify" Explicit="false"
    CodeBehind="FinIQAppLoginVerify.aspx.vb" Inherits="FinIQWebApp.FinIQAppLoginVerify" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">--%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Login</title>
    <link href="App_Themes/Style1.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">

        document.onkeydown = function() {
          
            if ((window.event.keyCode == 116) || (window.event.keyCode == 122) ||  ((window.event.keyCode == 78) && (window.event.ctrlKey)) || ((window.event.keyCode == 82) && (window.event.ctrlKey)) || ((window.event.keyCode == 67) && (window.event.ctrlKey)) || ((window.event.keyCode == 86) && (window.event.ctrlKey)) || ((window.event.keyCode == 88) && (window.event.ctrlKey)) || ((window.event.keyCode == 222) && (window.event.ctrlKey))||(window.event.keyCode == 32) ) {
                window.event.returnValue = false;
                window.event.cancelBubble = true;
                window.event.keyCode = 0;
                return false;
            }
//START-RajeshM. on 12-Sep-2014 JIRA ID FA-557 	Backspace is not handled on OTP page 
            if ((event.keyCode == 8 ||
           (event.keyCode == 37 && event.altKey) ||
           (event.keyCode == 39 && event.altKey))
            &&
           (event.srcElement.form == null || event.srcElement.isTextEdit == false)
          ) {
            
                event.cancelBubble = true;
                event.returnValue = false;
            }
//END-RajeshM. on 12-Sep-2014 JIRA ID FA-557 	Backspace is not handled on OTP page 
        }

      
    </script>
        <script type="text/javascript">
        document.oncontextmenu = cancelit;
        function cancelit() {
            event.returnValue = false;
        }
    </script>

    <script type="text/javascript">
        window.onbeforeunload = function() {

            if ((event.clientX < 0 || event.clientY < 0) || (event.altKey)) {
                var xmlhttp;
                if (window.ActiveXObject) { // IE                    
                    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                    var strCloseUrl;

                    strCloseUrl = document.getElementById("hdnBrowserCloseUrl").value;
                    xmlhttp.open("GET", strCloseUrl, false);
                    xmlhttp.send();
                }
            }
        }
    </script>

</head>
<body>
    <form id="Form_LoginVerify" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release" EnablePartialRendering="true">
        <CompositeScript ScriptMode="Release">
            <Scripts>
                <asp:ScriptReference Name="MicrosoftAjax.js" />
                <asp:ScriptReference Name="MicrosoftAjaxWebForms.js" />
            </Scripts>
        </CompositeScript>
    </asp:ScriptManager>
    <div id="container">
        <div id="header">
            <div id="logo">
            </div>
        </div>
        <asp:UpdatePanel ID="Updatepanel1" runat="server" >
            <ContentTemplate>
                <input id="hdnBrowserCloseUrl" runat="server" type="hidden" />
                <div id="body">
                    <table style="width: 100%;">
                        <tr>
                            <td style="text-align: center;">
                                <center>
                                    <asp:Panel ID="Panel1" runat="server" DefaultButton="btnVerifyLogIn1">
                                    
                                    <table id="tblLogin" class="Filter" cellpadding="0" cellspacing="0" runat="server"
                                        width="377px" style="height: 100px;">
                                        <tr>
                                            <td colspan="2" class="strip2">
                                                <asp:Label ID="lblHeader" runat="server" Text="* Please Enter Verification code"
                                                    CssClass="strip2"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr class="strip1">
                                            <td align="right">
                                                One Time Password(OTP) &nbsp;&nbsp;
                                            </td>
                                            <td align="left" >
                                                <asp:TextBox ID="txtOneTimePasswd" runat="server" CssClass="txt" Width="100px" AutoPostBack="false"
                                                    TabIndex="1" AutoCompleteType="Disabled" MaxLength="10" TextMode="Password" ></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr class="strip1">
                                            <td align="center" colspan="2">
                                                
                                                <asp:Button ID="btnVerifyLogIn1" runat="server" Text="Verify" class="btn" tabindex="2"/> 
                                                    &nbsp;&nbsp;&nbsp;
                                                <asp:Button ID="btnLogOut" runat="server" Text="Logout" CssClass="btn" tabindex="3" />
                                            </td>
                                        </tr>
                                        <tr class="strip1">
                                            <td align="center" colspan="2">
                                                <asp:Label ID="lblError" runat="server" CssClass="lblerror"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                    </asp:Panel>
                                </center>
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <div id="footer" style="text-align: center;">
            <br />
            Copyright © 2010 FinIQ Consulting . All Rights Reserved.
        </div>
    </div>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"
        DisplayAfter="0">
        <ProgressTemplate>
            <div>
                <img alt="Loading" src="App_Resources/loading.gif" /><span class="lbl">Loading...&nbsp;&nbsp;
                </span>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript">
    window.status = "FinIQ Consulting.All rights reserved. "
</script>

