<html>
<head>
    <title>VistA Login Control</title>
    <!-- NOTE: ClientGlobalContext.js.aspx URL below is set with ../../ because the web resource that needs it is installed in a 3 level folder structure -->
    <script src="../../ClientGlobalContext.js.aspx" type="text/javascript"></script>
    <!-- VistA Login Control Custom Stylesheet -->
    <link href="../../vhacrm_/via/VistaLoginControlStyle.css" rel="stylesheet">
    <script src="../../bah_jquery1.4.1.min.js" type="text/javascript"></script>
    <script src="../../bah_SDK.REST.js" type="text/javascript"></script> 
    <script src="../../vhacrm_/via/vhacrm_via_library.js" type="text/javascript"></script> 
    <script src="../../vhacrm_/via/VistaLoginControlScriptLib.js" type="text/javascript"></script>
</head>
<body class="VistaLoginForm">﻿
    <div id="VistaLoginForm">
        <table class="stdTable">
            <tbody>
                <tr>
                    <td style="width: 120px;">Access Code:</td><td><input title="Access Code" id="vlc_accessCode" type="text" maxlength="30" value=""></td>
                </tr>
                <tr>
                    <td>Verify Code:</td><td><input title="Verify Code" id="vlc_verifyCode" type="password" maxlength="30" value=""></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input name="vlc_loginbutton" title="Login to VISTA" id="vlc_loginbuttonid" style="vertical-align: bottom; cursor: pointer;" onclick="vlc_vistaLogin();" type="button" value="Login">
                    </td>
                </tr>
            </tbody>
        </table>
    </div>

    <script type="text/javascript">
        $(document).ready(function ($) {
            //Actions/Functions to execute as soon as the form is at a ready state.
            try {
                if (typeof (VIAServices) === "undefined") {
                    VIAServices = { __namespace: true };
                }

                //Construct the initial Login Control
                vlc_formLoad();
            }
            catch (err) {
                //Display Error....
                alert("VIALoginControl.html Script Document Ready Error: " + err.message);
            }
        });
    </script>
</body></html>