<%@ Register Src="../Controls/CustomContent.ascx" TagName="CustomContent" TagPrefix="uc" %>
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="IdTheft.ascx.vb" Inherits="Controls_IdTheft" %>
<asp:Panel ID="IdTheftPanel" runat="server" Visible="false">
    <script type="text/JavaScript">
      window.onload = function()
      {
            var myBoxObject = new curvyCorners(settings, "ValidationSummary");
            myBoxObject.applyCornersToAll();
      }

     function hideRoundBox()
      {
            if (document.getElementById ("summaryBox"))
                document.getElementById ("summaryBox").className = "HideValidationSummaryBox";
      }
    </script>

    <!-- there should be no space between summarBox div and the asp:label -->
    <!-- the following div (summaryBox) must be there to display the rounded border and must not have any space after it -->
    <div id="summaryBox" style="padding-left:10px;"><asp:Label runat="server" ID="lblStatusV3" Style="color: red;"></asp:Label></div>

    <!-- Entry Form -->
    <asp:Panel ID="IdTheftEntryPanel" runat="server" DefaultButton="btnIdTheftEntry">
        <div id="ContentPlaceHolderHome_IdTheftPanel_CustomContent1_pnlContent" style="border:0;">
            <p>Please provide your mailing address and click submit. An ID Theft packet will be mailed to you.&nbsp;</p>
        </div>

        <!-- ENTRY FORM -->
        <div class="innerbox" style="background: none!important; border: none!important; width: 95%;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top: 10px; line-height:22px; margin-left:0px;">

                <!-- First Name -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                        <font color="red">*</font><strong>First Name</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:TextBox ID="FirstName" runat="server" MaxLength="16" TabIndex="11001"
                            Style="padding-left: 1px" Width="200" /><img alt=""
                                src="../images/spacer.gif" height="5" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvFirstName"
                            ErrorMessage="<b>First Name</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="FirstName"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <!-- Last Name -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                         <font color="red">*</font><strong>Last Name</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:TextBox ID="LastName" runat="server" MaxLength="16" TabIndex="11002"
                            Style="padding-left: 1px" Width="200" /><img alt=""
                                src="../images/spacer.gif" height="5" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvLastName"
                            ErrorMessage="<b>Last Name</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="LastName"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <!-- Address -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                         <font color="red">*</font><strong>Address</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:TextBox ID="Address" runat="server" MaxLength="16" TabIndex="11003"
                            Style="padding-left: 1px" Width="200" /><img alt=""
                                src="../images/spacer.gif" height="5" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvAddress"
                            ErrorMessage="<b>Address</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="Address"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <!-- City -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                         <font color="red">*</font><strong>City</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:TextBox ID="City" runat="server" MaxLength="16" TabIndex="11004"
                            Style="padding-left: 1px" Width="200" /><img alt=""
                                src="../images/spacer.gif" height="5" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvCity"
                            ErrorMessage="<b>City</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="City"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <!-- State -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                         <font color="red">*</font><strong>State</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
<%--
                        <asp:TextBox ID="State" runat="server" MaxLength="16" TabIndex="11005"
                            Style="padding-left: 1px" Width="200" /><img alt="" src="../images/spacer.gif" height="5" />
--%>

                        <asp:DropDownList ID="State" runat="server" TabIndex="11005" Style="padding-left: 1px" Width="200" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvState"
                            ErrorMessage="<b>State</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="State"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <!-- Zip -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                         <font color="red">*</font><strong>Zip</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:TextBox ID="Zip" runat="server" MaxLength="16" TabIndex="11006"
                            Style="padding-left: 1px" Width="200" /><img alt=""
                                src="../images/spacer.gif" height="5" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvZip"
                            ErrorMessage="<b>Zip</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="Zip"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>

                        <asp:RegularExpressionValidator
                            runat="server"
                            ID="vldZipCodeRegEx"
                            ErrorMessage="Invalid Format. Should be 12345 or 12345-6789."
                            SetFocusOnError="True"
                            ControlToValidate="Zip"
                            Display="Dynamic"
                            ValidationExpression="\d{5}(-\d{4})?"
                            ValidationGroup="IdTheftValidation"
                            ></asp:RegularExpressionValidator>
                    </td>
                </tr>

                <!-- Phone Number -->
                <tr align="left">
                    <td align="left" valign="top" style="text-align: right;" nowrap="nowrap">
                         <font color="red">*</font><strong>Phone Number</strong>&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:TextBox ID="PhoneNumber" runat="server" MaxLength="16" TabIndex="11007"
                            Style="padding-left: 1px" Width="200" /><img alt=""
                                src="../images/spacer.gif" height="5" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top">
                        <asp:RequiredFieldValidator
                            runat="server"
                            ID="rfvPhoneNumber"
                            ErrorMessage="<b>Phone Number</b> is required."
                            SetFocusOnError="True"
                            ControlToValidate="PhoneNumber"
                            Display="Dynamic"
                            Text=""
                            ValidationGroup="IdTheftValidation"
                            ></asp:RequiredFieldValidator>

                        <asp:RegularExpressionValidator
                            runat="server"
                            ID="vldPhoneNumber"
                            ErrorMessage="Invalid Format. Should be 555-555-1234 or (555) 555-1234."
                            SetFocusOnError="True"
                            ControlToValidate="PhoneNUmber"
                            Display="Dynamic"
                            Text=""
                            ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}|\(?\d{3}\)?[-\s.\s ]?\d{3}[-. ]\d{4}|(\d{10})"
                            ValidationGroup="IdTheftValidation"
                            ></asp:RegularExpressionValidator>
                    </td>
                </tr>

                <tr>
                    <td align="left" valign="top">
                        &nbsp;</td>
                    <td align="left" valign="top" nowrap="nowrap">
                        <asp:ImageButton ImageAlign="Top" ImageUrl="submit.ccom" alt="Submit ID Theft" ID="btnIdTheftEntry" runat="server" TabIndex="11008" CausesValidation="true" OnClientClick="removeSummaryBox()" ValidationGroup="IdTheftValidation" />&nbsp;
                        <asp:ImageButton ImageAlign="top" ID="ImageButton1" runat="server" ImageUrl="cancel.ccom" TabIndex="11009" PostBackUrl="~/Customers/support.aspx?supportarticleid=1784" />

<%--
                        <a style="padding: 1px 1px 1px 2px;" href="/Customers/support.aspx?supportarticleid=1784"><img alt="Ask Charter" src="/cms_images/cancel.ccom" /></a>
--%>
                    </td>
                </tr>
            </table>
        </div>
        <!-- END RECENT ACTIVITY -->
    </asp:Panel>

    <asp:Panel ID="IdTheftResultsPanel" runat="server" Visible="false">
        <div style="padding-left:20px;">
            Thank you, your request has been received.<br />
            <img alt="" src="../images/spacer.gif" height="5" /><br />
            <a style="padding: 1px 1px 1px 2px;" href="/Customers/support.aspx?supportarticleid=1784">Go to "Reporting ID Theft."</a>
<%--
            <!-- this goes in support article 1784 -->
            <hr />
            <h3><a name="report_idtheft"></a>How do I report Identity Theft to Charter?</h3>
            <p>In order for Charter to investigate Identity Theft, (in which someone used your identity to obtain services from Charter Communications), an Identity Theft packet must be completed.</p>
            <p><img border="0" alt="Download the ID Theft Packet - Requires Adobe Reader" align="absMiddle" src="../Visitors/_CMSImages/csslock.ccom" /> <a target="_blank" href="http://www.charter.com/GETBINARY.xbin?ID=1774">Download ID Theft Packet</a></p>

            <p>If you would like an ID Theft Packet sent to you via mail, please click <strong>Request ID Theft Packet</strong> link below.</p>
            <p><img border="0" alt="Get ID Theft Packet via mail" align="absMiddle" src="../Visitors/_CMSImages/csslock.ccom" /> <a target="_blank" href="/idtheft/idtheft.aspx">Request ID Theft Packet</a></p>
 --%>
        </div>
    </asp:Panel>

<%--
--%>

</asp:Panel>
