<%@ Page Language="VB" AutoEventWireup="false" CodeFile="EmailArticle.aspx.vb" Inherits="Customers_EmailArticle" %>
<%@ Register Src="../Controls/CustomContent.ascx" TagName="CustomContent" TagPrefix="uc" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Charter Communications : Digital Cable, High Speed Internet and Telephone</title>
    <link id="Link1" href="../css/charter_main.css" rel="stylesheet" type="text/css" runat="server"/>
    <link id="Link2" href="../css/superfish.css" rel="stylesheet" type="text/css" runat="server"/>
    <link id="Link3" href="../css/superfish-navbar.css" rel="stylesheet" type="text/css" runat="server"/>
    <link id="Link4" href="../css/charter_home.css" rel="stylesheet" type="text/css" runat="server"/>
    <link id="Link5" href="../css/charter_support_2.css" rel="stylesheet" type="text/css" runat="server"/>
    <script src="../js/jquery-1.2.6.min.js" type="text/javascript"></script>
    <script src="../js/eventhover_jq.js" type="text/javascript"></script>
    <script src="../js/superfish.js" type="text/javascript"></script>
    <script src="../js/iepngfix_tilebg.js" type="text/javascript"></script>
    <script src="../js/site_jq.js" type="text/javascript"></script>
</head>
<body>
	<div class="modalSupport">
    	<div class="top_border">
        	<img src="/CMS_IMAGES/modal_corner_tl.ccom" alt="" />
        </div>
        <div class="content">
        	<div class="top_gradient">
                <form id="frmEmailArticle" action="" runat="server">
                <div class="padding">
                    <div id="modalTitle">Email this Article</div>
                    <div style="float:right; z-index:10">
                        <asp:ImageButton ImageUrl="modal_icon_close.ccom" ID="closeBut" runat="server" />
                    </div>
                    <div class="clear"></div>
                    <p><uc:CustomContent ID="ucEmailInstructions" ContentKey="Support:EmailThisArticle:Instructions" runat="server" />
                    </p>
                    <label>To:&nbsp;&nbsp;</label>
                    <asp:TextBox ID="txtTo" runat="server" Width="215px" Text="Enter recipient email address"></asp:TextBox>
                    <label class="padLeft10">From:&nbsp;&nbsp;</label>
                    <asp:TextBox ID="txtFrom" runat="server" Width="215px" Text="Enter your email address"></asp:TextBox><br />
                    <asp:Label runat="server" ID="lblError" ForeColor="red"></asp:Label>
                    <p><span class="helptext">Separate each address by a space, comma or semi-colon</span>
                    </p>
                    <label>Subject:&nbsp;&nbsp;</label>
                    <asp:TextBox runat="server" ID="txtSubject" Enabled="false"  Width="453px"  ReadOnly="true"
                        style="border:none;background:transparent"></asp:TextBox>
                    <br />
                    <label>Message:&nbsp;&nbsp;</label><br />
                    <asp:TextBox runat="server" ID="txtBody" TextMode="MultiLine" 
                        enabled="false" style="width:501px;height:135px;" ReadOnly="true"></asp:TextBox><br />
                    <div class="ccbox">
                        <asp:CheckBox  Checked="true" runat="server" ID="chkCC"/>CC me on this email
                    </div>
                    <div class="btn_send">
                        <asp:ImageButton runat="server" ID="btnSend" ImageUrl="/CMS_IMAGES/btn_send.ccom" />
                    </div>
                    <div class="clear"></div>
                </div>
                </form>
           </div>
        </div>
        <div class="bot_border">
        	<img src="/CMS_IMAGES/modal_corner_bl.ccom" alt="" />
        </div>
    </div>
    
    <uc:CustomContent ID="ucGoogleAnalyticsScriptBlock" runat="server" 
            ContentKey="analytics:google:scriptblock" />
    
</body>
<!-- issue 17858 -->
<script language='javascript' type="text/javascript" >
    document.onkeydown = document.onkeypress = function blockBackspaceAndEnter(e) {
    if (!e) 
        { // IE reports window.event instead of the argument
            e = window.event;
        }
    var keycode;
    if (document.all)     // IE
        {
            keycode = e.keyCode;
        }
    else			    // Not IE
        {
            keycode = e.which;
        }

    /* Enter is only allowed in textareas, 
    and Backspace is only allowed in textarea and input text and password
    */
    if ((keycode == 8
        && e.srcElement.type != "text"
        && e.srcElement.type != "textarea"
        && e.srcElement.type != "password")
       ||
        (keycode == 13 
        && e.srcElement.type != "textarea")) 
        {
            e.keyCode = 0;          // WIPE OUT the backspace key from this event
            if (document.all) 	    // IE
            {
                event.returnValue = false;
            }
            else 				    // Non IE
            {
                Event.stop(e);
            }
        }
    }

    for (var i = 0; i < document.forms.length; i++) 
    {
        document.forms[i].onkeydown = blockBackspaceAndEnter;
    }
</script>
</html>