<%@ page language="C#" autoeventwireup="true" inherits="Pages_OnlineAdmission_AdmissionHome, App_Web_3jllk20f" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
        input[type="submit"] {
            border-left: 1px solid #8B2323;
            border-right: 1px solid #8B2323;
            border-top: 1px solid #8B2323;
            border-bottom: 3px solid #8B2323;
            position: relative;
            display: block;            
            padding: 9px 29px 10px 29px;
            color: #FFF;
            background: #A62A2A;
            font-weight: 600;
            font-size: medium;
            text-align: center;
            font-style: normal;
            width: 30% !important;
            margin-bottom: 10px;
            border-radius: 4px;
            transition: all 0.2s linear;
            top: 0px;
            left: 0px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 0;
        }
        input[type="submit"]:hover {
            transition: all 0.2s linear;
            background: #8B2323;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table class="auto-style1" style="top: 30%; left: 0%; position: fixed;">
                <tr>
                    <td>                        
                        <asp:Button ID="NewButton" runat="server" Text="Click here for new admission application" OnClick="NewButton_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="ExistedButton" runat="server" Text="Click here for existing application" OnClick="ExistedButton_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
<script type="text/javascript">
    function openWindow() {
        var browser = navigator.appName;
        if (browser == "Microsoft Internet Explorer") {
            window.opener = self;
        }            
        window.open('NewAdmissionForm.aspx?OrgGroupId=' +<%= ConfigurationManager.AppSettings["DefaultOrgGroupId"] %> , '', '');
        window.moveTo(0, 0);
        window.resizeTo(screen.availWidth, screen.availHeight);
    }
    function openWindow1() {
        var browser = navigator.appName;
        if (browser == "Microsoft Internet Explorer") {
            window.opener = self;
        }     
        window.open('AdmissionFormLogin.aspx');
        window.moveTo(0, 0);
        window.resizeTo(screen.availWidth, screen.availHeight);
    }
</script>