<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="~/PatientAccess/TermsAgreementOldVersion.aspx.cs" Inherits="Axium.Web.TermsAgreementOldVersion" EnableViewState="false" %>
<!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></title>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <script src="Includes/Scripts/jquery-3.5.1.min.js" type="text/javascript"></script>
    <script src="Includes/Scripts/jquery-migrate-3.3.2.min.js" type="text/javascript"></script>
    <script src="Includes/Scripts/json2.min.js" type="text/javascript"></script>
    <script src="Includes/Scripts/utilities.js" type="text/javascript"></script>
    <script src="Includes/Scripts/jqModal-r14.js" type="text/javascript"></script>
    <script src="Includes/Scripts/ui.datepicker.js" type="text/javascript"></script>
    <script src="Includes/Scripts/jquery.maxlength-1.0.3.min.js" type="text/javascript"></script>    
    <script src="Includes/Scripts/jquery.timer.js" type="text/javascript"></script>    
    <script src="Includes/Scripts/jquery.validate-1.19.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        function RefreshParent() {
            window.parent.location.href = '/PatientAccess/Default.aspx'; //window.parent.location.href;
        }
        function TermConditionAgreeChkBox_click(chk, ctr) { 
            ctr.disabled = (!chk.checked);
        }
    </script>

</head>
<body>
    <form id="form1" runat="server" >
        
        <div id="TermsAgreed">   
            <h1 id="PageTitle" runat="server"></h1>
            <div id="content1" class="TermsContentInstruction" runat="server"></div>
            <br/>
            <div id="content2" class="TermsContentText" runat="server"></div>
            <br/>
            <div id="AcceptCheckBoxDiv" class="TermsDivCheckBox" runat="server">
                <asp:CheckBox ID="TermConditionAgreeChkBox" runat="server" onclick="TermConditionAgreeChkBox_click(this, TermConditionAcceptBtn)" />
            </div>
            <div id="AcceptButtonDiv" class="TermsDivButton" runat="server">
                <asp:Button ID="TermConditionAcceptBtn" runat="server" Text="Button"  OnClick="TermConditionAcceptBtn_Click" />
            </div>                
        </div>
    </form>
    
    <script type="text/javascript">
        jQuery(document).ready(function () {
            $childHeight = jQuery('#TermsAgreed').outerHeight();
            $newheight = window.$childHeight + 30;
            jQuery('#TermsIfrmId', window.parent.document).css('height', $newheight);
        });   
    </script>
</body>
</html>
