<%@ Control Language="VB" AutoEventWireup="false" CodeFile="FinishOrder.ascx.vb"  Inherits="Controls_FinishOrder" %>
<%@ Register Src="../Controls/CustomContent.ascx" TagName="CustomContent" TagPrefix="uc" %>

<script type="text/javascript" src="https://as00.estara.com/as/InitiateCall2.php?accountid=200106286771"></script>

<asp:Panel ID="pnlAlmostFinished" runat="server" Visible="false">
       <asp:Literal ID="ltlFinishOrderAlmostFinished" runat="server"></asp:Literal>   
</asp:Panel>
<asp:Panel ID="pnlThankYou" runat="server"  Visible="false">
    <div class="dotruleCenter">
        <h2>
            Thank You!</h2>
        <table id="order" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0">
                        <tr id="sub">
                            <td style="text-align: left">
                                <asp:Label ID="lblEmailAddress" runat="server"></asp:Label></td>
                        </tr>
                        <tr>
                            <td>
                                <p style="text-align: left">
                                    <asp:Literal ID="ltrConfirmations" runat="server"></asp:Literal></p>
                                <p style="text-align: left">
                                    <asp:Literal ID="ltrAppointments" runat="server"></asp:Literal>&nbsp;</p>
                                <p>
                                    <asp:Literal ID="ltrElig" runat="server"></asp:Literal>&nbsp;</p>
                                 <p style="text-align: left">
                                    <asp:Literal ID="ltrThankYouGift" runat="server"></asp:Literal></p>
                                <p style="text-align: left">
                                    <asp:HyperLink ID="lnkPrintReceipt" runat="server" NavigateUrl="~/Order/Receipt.aspx"
                                        Target="_charter_receipt">Print a receipt</asp:HyperLink> for your records.</p>
                                <p style="text-align: left">
                                    <a href="../visitors/policies.aspx">Charter Communications Terms and Conditions</a></p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div class="dotruleCenter">
            <table id="tblThankYouDisclaimer" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <p class="disclaimer" style="text-align: left">
                                    <asp:Literal ID="ltrThankYouDisclaimer" runat="server"></asp:Literal></p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <uc:CustomContent ID="ucTrackingPixels" runat="server" ContentKey="TrackingPixels"/>
    </div>
</asp:Panel>
<asp:Panel ID="pnlFirstMonthPayment" runat="server" DefaultButton="btnGetReceipt" Visible="false">
    <h2>
        First Month's Payment</h2>
    <asp:RadioButtonList ID="rblFirstMonthPayment" runat="server" AutoPostBack="true"
        CausesValidation="false">
        <asp:ListItem Selected="True" Text="Pay at time of installation (COD)"></asp:ListItem>
        <asp:ListItem Text="Pay with bank account transfer"></asp:ListItem>
        <asp:ListItem Text="Pay with credit card"></asp:ListItem>
    </asp:RadioButtonList>
    <asp:Panel ID="pnlBankAccountInfo" runat="server" Visible="false">
        <table cellspacing="5">
            <tr>
                <th colspan="2">
                    Bank Account Information</th>
            </tr>
            <tr>
                <td colspan="2">
                    * Required</td>
            </tr>
            <tr>
                <td style="text-align: right">
                    Amount Due:</td>
                <td>
                    <asp:Label ID="lblAmountDueBA" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Financial Institution:</td>
                <td>
                    <asp:TextBox ID="txtInstitution" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="vldInstitutionRequired" runat="server" ControlToValidate="txtInstitution"
                        Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Routing Number:</td>
                <td>
                    <asp:TextBox ID="txtRoutingNumber" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="vldRoutingNumberRequired" runat="server" ControlToValidate="txtRoutingNumber"
                        Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Account Number:</td>
                <td>
                    <asp:TextBox ID="txtAccountNumber" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="vldAccountNumberRequired" runat="server" ControlToValidate="txtAccountNumber"
                        Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Account Type:</td>
                <td>
                    <asp:DropDownList ID="ddlAccountType" runat="server">
                        <asp:ListItem Text="" Value="0"></asp:ListItem>
                        <asp:ListItem Text="Checking" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Saving" Value="2"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="vldAccountTypeRequired" runat="server" ControlToValidate="ddlAccountType"
                        InitialValue="0" Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlCreditCardInfo" runat="server" Visible="false">
        <table cellspacing="5">
            <tr>
                <th colspan="2">
                    Credit Card Information</th>
            </tr>
            <tr>
                <td colspan="2">
                    * Required</td>
            </tr>
            <tr>
                <td style="text-align: right">
                    Amount Due:</td>
                <td>
                    <asp:Label ID="lblAmountDueCC" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Name on Card:</td>
                <td>
                    <asp:TextBox ID="txtNameOnCard" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="vldNameOnCardRequired" runat="server" ControlToValidate="txtNameOnCard"
                        Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Card Issuer:</td>
                <td>
                    <asp:DropDownList ID="ddlCardIssuer" runat="server">
                        <asp:ListItem Text="" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="vldCardIssuerRequired" runat="server" ControlToValidate="ddlCardIssuer"
                        InitialValue="0" Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Card Number:</td>
                <td>
                    <asp:TextBox ID="txtCardNumber" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="vldCardNumberRequired" runat="server" ControlToValidate="txtCardNumber"
                        Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    * Expiration Date:</td>
                <td>
                    <asp:DropDownList ID="ddlExpirationMonth" runat="server">
                        <asp:ListItem Text="" Value="0"></asp:ListItem>
                        <asp:ListItem Text="January" Value="1"></asp:ListItem>
                        <asp:ListItem Text="February" Value="2"></asp:ListItem>
                        <asp:ListItem Text="March" Value="3"></asp:ListItem>
                        <asp:ListItem Text="April" Value="4"></asp:ListItem>
                        <asp:ListItem Text="May" Value="5"></asp:ListItem>
                        <asp:ListItem Text="June" Value="6"></asp:ListItem>
                        <asp:ListItem Text="July" Value="7"></asp:ListItem>
                        <asp:ListItem Text="August" Value="8"></asp:ListItem>
                        <asp:ListItem Text="September" Value="9"></asp:ListItem>
                        <asp:ListItem Text="October" Value="10"></asp:ListItem>
                        <asp:ListItem Text="November" Value="11"></asp:ListItem>
                        <asp:ListItem Text="December" Value="12"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="vldExpirationMonthRequired" runat="server" ControlToValidate="ddlExpirationMonth"
                        InitialValue="0" Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                    <asp:DropDownList ID="ddlExpirationYear" runat="server">
                        <asp:ListItem Text="" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="vldExpirationYearRequired" runat="server" ControlToValidate="ddlExpirationYear"
                        InitialValue="0" Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Button ID="btnGetReceipt" runat="server" Text="Continue & Get Receipt" />
</asp:Panel>
<asp:Panel ID="pnlRegisterNow" runat="server" Visible="false">
    <div class="dotruleCenter">
        <asp:Literal ID="ltrContent" runat="server"></asp:Literal>
        <asp:Button ID="btnRegisterNow" runat="server" Text="Register Now & Set up Automatic Bill Pay" />
    </div>
</asp:Panel>

    <asp:Panel ID="pnlELOA_Host" runat="server" Visible="true">
        <asp:ValidationSummary ID="vldSummaryContact" ValidationGroup="Send" runat="server" HeaderText="<img src='../Images/error-icon_big.gif' />" DisplayMode="List" />
            <center>
                <b>
                    <asp:Panel ID="pnlELOA_Port_Title" runat="server" Visible="false">
                        Charter Telephone Service<br />
                        Electronic Letter of Authorization for Change in Local Exchange Service Provider<br />
                        and Charter E911 Services<br />
                        (Residential Telephone Service)
                    </asp:Panel>   
                    <asp:Panel ID="pnlELOA_Host_Title" runat="server" Visible="false">
                        Charter Telephone Service<br />
                        Electronic Letter of Authorization for Charter E911 Services<br />
                        (Residential Telephone Service)
                    </asp:Panel>  
                    <br />            
                </b>
            </center>
      
        <p style="azimuth: left-side" id="pContent" runat="server">

            <asp:Literal ID="ltrName" runat="server"></asp:Literal>
            
        </p>
        
        <asp:Panel ID="pnlELOA_Port" runat="server" Visible="true">
            <%--<uc:CustomContent ID="ucELOANUMPORTQUESTIONS" runat="server" ContentKey="ELOA:NUMPORTQUESTIONS" />--%>
            <div class="noHeader"><asp:CheckBox ID="chkLocalServiceProvider" runat="server" Font-Bold="true"  Text="I want to change my Local Service Provider" /></div>        
            By checking here and selecting Accept below, I authorize Charter Telephone to become my new telephone service provider in place of my current provider(s)
            for local telephone service for the telephone number(s) listed above
            <br />
            <br />
            <div class="noHeader"><asp:CheckBox ID="chkLocalTollServiceProvider" runat="server" Font-Bold="true"  Text="I want to change my Local Toll Service Provider" /></div>        
            By checking here and selecting Accept below, I authorize Charter Telephone to
            Become my local toll service provider in place of the current
            provider(s) for local toll service for the telephone number(s) listed above. 
            <br />
            <br />
            <div class="noHeader"><asp:CheckBox ID="chkLongDistanceServiceProvider" runat="server" Font-Bold="true"  Text="I want to change my Long Service Provider" /></div>        
            By checking here and selecting Accept below, I authorize Charter Telephone to
            Become my long distance service provider in place of the current 
            provider(s) for long distance for the telephone number(s) listed above. 
            <br />
            <br />
            <div class="noHeader"><asp:CheckBox ID="chkInternationServiceProvider" runat="server" Font-Bold="true"  Text="I want to change my International Service Provider" /></div>        
            By checking here and selecting Accept below, I authorize Charter Telephone to
            Become my international service provider in place of my current
             provider(s) for international service for the telephone number(s) listed above.
            <br />
            <br />
    </asp:Panel>
    
    <div class="noHeader"><asp:CheckBox ID="chkAccept911Services" runat="server" Font-Bold="true"  Text="I am confirming my understanding of Charter’s E911 Services" />
    <%--<asp:RequiredFieldValidator ID="vldAccept911ServicesRequired" runat="server" Text="<img src='../Images/error-icon_small.gif'/>"
                    ControlToValidate="chkAccept911Services" Display="Dynamic" ErrorMessage="<b>E911 Services Option</b> is required."
                    ValidationGroup="Send"></asp:RequiredFieldValidator>--%>
    </div>
    
    
    
    
    <uc:CustomContent ID="ucELOA911" runat="server" ContentKey="ELOA:911" />
    
    
    
    
    <table cellpadding="0" cellspacing="5" width="100%">
        <tr>
            <td style="text-align: right; width: 30%">
                * Your Full Name:</td>
            <td>
                <asp:TextBox ID="txtFullName" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="vldFullNameRequired" runat="server" Text="<img src='../Images/error-icon_small.gif'/>"
                    ControlToValidate="txtFullName" Display="Dynamic" ErrorMessage="<b>Full Name</b> is required."
                    ValidationGroup="Send"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">
                * Date: (mm/dd/yyyy):</td>
            <td>
                <asp:TextBox ID="txtDate" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="vldDateRequired" runat="server" Text="<img src='../Images/error-icon_small.gif'/>"
                    ControlToValidate="txtDate" Display="Dynamic" ErrorMessage="<b>Date</b> is required."
                    ValidationGroup="Send"></asp:RequiredFieldValidator>
                    <asp:RangeValidator id="valRange" runat="server" 
                        Text="<img src='../Images/error-icon_small.gif'/>" ValidationGroup="Send"
                        ControlToValidate="txtDate"
                        MaximumValue="12/31/2100"
                        MinimumValue="1/1/1900"
                        Type="Date"
                        ErrorMessage="<b>* The date</b> must be between 1/1/1900 and 12/13/2100" Display="Dynamic"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">
                * Mother’s Maiden Name:</td>
            <td>
                <asp:TextBox ID="txtMothersname" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="vldMothersname" runat="server" Text="<img src='../Images/error-icon_small.gif'/>"
                    ControlToValidate="txtMothersname" Display="Dynamic" ErrorMessage="<b>Mother’s Maiden Name</b> is required."
                    ValidationGroup="Send"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: right"><asp:Button ID="btnAccept" runat="server" Text="Accept" ValidationGroup="Send" /></td>
            <td><asp:Button ID="btnDecline" runat="server" Text="Decline" ValidationGroup="Send" /></td>
        </tr>
    </table>
</asp:Panel>
