<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" MaintainScrollPositionOnPostback="true"
    AutoEventWireup="true" Inherits="site_HITS_Claims_Details" Title="Brightstar Device Protection: Claim Details"
    Theme="eMain"
    CodeBehind="Details.aspx.cs" %>

<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components" TagPrefix="cc1" %>
<%@ Register Src="~/Controls/CallRecording/CallSummary.ascx" TagName="CallSummary" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/Claims/ClaimDetailsHandsetGrid.ascx" TagName="ClaimDetailsHandsetGrid" TagPrefix="uc1" %>
<%@ Register Src="~/Controls/PersistNav.ascx" TagName="PersistNav" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ChildHeader.ascx" TagName="ChildHeader" TagPrefix="uc" %>
<%@ Register Src="~/Controls/HITSCalendar.ascx" TagName="HITSCalendar" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Claims/SubscriberEmailDialogue.ascx" TagName="SubscriberEmailDialogue" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ClaimLockTimer.ascx" TagName="ClaimLockTimer" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GridViews/ClaimHistory.ascx" TagName="ClaimHistory" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GridViews/NoteHistory.ascx" TagName="NoteHistory" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GridViews/HandsetHistory.ascx" TagPrefix="uc" TagName="HandsetHistory" %>
<%@ Register Src="~/Controls/Claims/ESNPopupWindow.ascx" TagName="ESNPopupWindow" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Claims/ClaimAccessories.ascx" TagName="ClaimAccessory" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Escalations/EscalationSummaryControl.ascx" TagName="EscalationSummaryControl" TagPrefix="uc3" %>
<%@ Register TagPrefix="eSecuritelHITSControls" Namespace="WebSite.Controls" Assembly="WebSite" %>
<%@ Register Src ="~/Controls/PopupWindow.ascx" TagPrefix = "uc" TagName = "PopupWindow" %>

<%@ Register assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="System.Web.UI" tagprefix="cc2" %>


<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">

    <script type="text/javascript" language="javascript">
        function tabContainerClaimSummary_ActiveTabChanged(sender, e)
        {
            var manageRecordingURL = window.location.href.split('WebSite')[0] + "WebSite/ManageRecording.aspx";
            var url = manageRecordingURL + "?TabIndex=" + sender.get_activeTabIndex() + "&PageUrl=" + window.location.href.split('?')[0] + "&TabId=tabContainerClaimSummary";
            $.ajax({ url: url, cache: false });
        }
    </script>
    
    <uc:PopupWindow ID="PopupChargeback" runat="server" />


    <cc1:ExtendedValidationSummary ID="m_extValidationSummaryTop" runat="server" HeaderText="<%$ Resources: ClaimsManagement, followingitemsneedupdatingHeaderText %>" />
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <h1>
                    <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources: ClaimsManagement, LabelClaimDetails %>" />
                </h1>
            </td>
            <td valign="top">
                <uc:PersistNav ID="PersistNav1" runat="server" />
            </td>
        </tr>
    </table>

    <asp:Panel ID="pnlClaimDetail" runat="server">


        <uc:ChildHeader ID="ChildHeader1" runat="server" OnSendEmailClicked="SendEmail_Clicked" />
        <uc:ClaimLockTimer ID="ucClaimLockTimer" runat="server" ShowDisplay="true" OnLockAcquired="ucClaimLockTimer_LockAcquired" />
        <div>
            <br/>
        </div>
        <div align="center">
            <%--<asp:Button ID="m_btnEscalation" runat="server" Text="Escalation" CausesValidation="false"
            CssClass="pagebutton" />--%>
            <asp:Button ID="m_btnUpdate" runat="server" Text="<%$ Resources: Default, ButtonUpdate %>" OnClick="m_btnUpdate_Click"
                CssClass="pagebutton" />
            <asp:Button ID="m_btnCancel" runat="server" Text="<%$ Resources: Default, ButtonCancel %>" OnClick="m_btnCancel_Click"
                CssClass="pagebutton" />
            <input id="m_btnEscalation" type="button" runat="server" value="<%$ Resources: EscalationManagement, ButtonEscalation %>" class="pagebutton"
                visible="false" />
        </div>
        <h2>
            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources: ClaimsManagement, ClaimSummaryClaimIDLabel %>" />
            <asp:Label ID="m_lblClaimId" runat="server" Text="<%$ Resources: Default, LabelLabel %>"></asp:Label>
            <asp:Label ID="m_lblSuccess" runat="server" />
            <span style="color: #ff0000; padding-left: 30px">
                <asp:Label ID="m_lblClaimStatusErrorMessage" runat="server" Text="<%$ Resources: SubscriberManagement, LabelSubscriberhasbeenterminated %>"
                    Visible="False"></asp:Label>
            </span>
        </h2>
        <ajaxToolkit:TabContainer ID="tabContainerClaimSummary" runat="server" OnClientActiveTabChanged="tabContainerClaimSummary_ActiveTabChanged">
            <ajaxToolkit:TabPanel ID="tabPanelClaimSummary" runat="server" HeaderText="<%$ Resources: ClaimsManagement, LabelClaimSummary %>">
                <ContentTemplate>
                    <div class="greyblock modified claims-row-height">
                        <b><span style="color: #ff0000">*</span></b>
                        <asp:Literal ID="m_litRequiredFieldInfo" runat="server" Text="<%$ Resources: Default, LabelIndicatesRequiredField %>" />
                        <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources: OrganizationManagement, LabelOrganizationColon %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:Label ID="m_lblOrganization" runat="server"></asp:Label>
                                </td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources: ClaimsManagement, ClaimStatusLabel %>" />
                                    </b>
                                </td>
                                <td class="m_divRightSide ">
                                    <asp:DropDownList ID="m_ddlClaimStatus" runat="server" CssClass="claimDetailsDropdowns"></asp:DropDownList>
                                    <asp:Literal ID="ltlClaimStatus" runat="server" Text="" Visible="false"></asp:Literal>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources: SubscriberManagement, LabelFirstName %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:Label ID="m_lblFirstName" runat="server"></asp:Label>
                                </td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources: ClaimsManagement, LabelClaimTypeColon %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:Label ID="lblClaimType" runat="server" Visible="false" />
                                    <asp:DropDownList ID="m_ddlClaimType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="m_ddlClaimType_SelectedIndexChanged" CssClass="claimDetailsDropdowns">
                                    </asp:DropDownList>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources: SubscriberManagement, LabelLastName %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:Label ID="m_lblLastName" runat="server"></asp:Label>
                                </td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="lblClaimSubType" runat="server" Text="<%$ Resources: ClaimsManagement, ClaimSubTypeLabel %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:DropDownList ID="m_ddlLossSubType" runat="server" CssClass="claimDetailsDropdowns"></asp:DropDownList>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources: SubscriberManagement, LabelAccountNumberSign %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:Label ID="m_lblAccount" runat="server"></asp:Label>
                                </td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources: Default, LabelLossDateColon %>" /><span
                                            style="color: #ff0000">*</span></b>
                                </td>
                                <td class="m_cldClaimDetailsLossDate">
                                    <uc:HITSCalendar ID="m_calLossDate" runat="server" Required="true" ShortDisplay="true" />
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" nowrap="nowrap">
                                    <b>
                                        <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources: ClaimsManagement, ProcessingFeeLabel %>" />
                                        (<%=CurrencyData.CurrencySymbol%>):
                                    </b>
                                </td>
                                <td nowrap="nowrap">
                                    <asp:TextBox ID="m_txtProcessingFee" runat="server" Width="50px"></asp:TextBox>
                                    <asp:RangeValidator ID="m_rvProcessingFee" runat="server" ControlToValidate="m_txtProcessingFee"
                                        Text="<%$ Resources: Default, ValidatorText %>" MaximumValue="1000000" MinimumValue="0"
                                        SetFocusOnError="True" ToolTip="<%$ Resources: ServicePlanManagement, LabelEnterValue %>" ErrorMessage="<%$ Resources: ClaimsManagement, ErrorMessageEnteraProcessingFeevaluebetween0and1000000 %>"
                                        Type="Double"></asp:RangeValidator>
                                </td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources: ClaimsManagement, ProcessedByLabel %>" />
                                    </b>
                                </td>
                                <td>
                                    <asp:Label ID="m_lblClaimSummaryProcessedBy" runat="server"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources: SubscriberManagement, LabelSubscriberSince %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:Label ID="m_lblSubscriberSince" runat="server"></asp:Label>
                                </td>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources: ClaimsManagement, CollectedByLable %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:DropDownList ID="m_ddlCollectedBy" runat="server" CssClass="claimDetailsDropdowns">
                                    </asp:DropDownList>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources: ClaimsManagement, CoveredSinceLabel %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:Label ID="m_lblCoveredSince" runat="server"></asp:Label>
                                </td>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources: ClaimsManagement, TerminationDateLabel %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:Label ID="m_lblTerminationDate" runat="server"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources: ClaimsManagement, CoverageEffectiveDateLabel %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:Label ID="m_lblCoverageEffectiveDate" runat="server"></asp:Label>
                                </td>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources: ClaimsManagement, TerminationReasonLabel %>" /></b>
                                </td>
                                <td nowrap>
                                    <asp:Label ID="m_lblTerminationReason" runat="server"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources: FulfillmentManagement, LabelFullfillmentMethodColon %>" />

                                    </b>
                                </td>
                                <td nowrap >
                                    <asp:Label ID="m_lblFullfillmentMethod" runat="server"></asp:Label>
                                </td>
                                <td align="right" class="style4">
                                    <span style="font-weight: bold;">
                                        <asp:Label ID="Label2" runat="server" Text="<%$ Resources: ClaimsManagement, LabelDeductibleCollectorColon %>" /></span>
                                </td>
                                <td align="left" class="style9">
                                    <asp:Label ID="lblDeductibleCollector" runat="server" EnableViewState="false"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr runat="server" id="rowReimbursementInformation">
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources: ClaimsManagement, ReimbursedAmountLabel %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:Label ID="m_lblReimbursedAmmount" runat="server"></asp:Label>
                                </td>
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources: ClaimsManagement, CashCardInvoiceNumbreLabel %>" />
                                    </b>
                                </td>
                                <td nowrap colspan="2">
                                    <asp:TextBox ID="m_txtCashCardInvoiceNumber" runat="server" Width="200" MaxLength="20"></asp:TextBox>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr runat="server">
                                <td align="right" nowrap>
                                    <b>
                                        <asp:Literal ID="m_litIsFraudulent" runat="server" Text="<%$ Resources: ClaimsManagement, IsFraudulentLabel %>" />
                                    </b>
                                </td>
                                <td nowrap>
                                    <asp:CheckBox ID="m_chkIsFraudulent" runat="server"></asp:CheckBox>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                        </table>
                    </div>
                    
                    <div class="greyblock modified claims-row-height">
                        <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources: RapidsManagement, LabelRampStatusColon %>" /></b>
                                </td>
                                <td align="left">
                                    <asp:Panel ID="pnlClaimHolds" runat="server">
                                        <asp:Label ID="lblRampStatus" runat="server"></asp:Label>
                                        <br />
                                        <br />
                                        <asp:Label ID="m_lblRampDocumentsRequestedHeader" runat="server" Text="Documents Requested" Font-Underline="True" Visible="False" />
                                        <asp:Label ID="m_lblRampDocumentsRequested" runat="server" Visible="False" />
                                        <p>
                                            <span style="font-size: 12px">
                                                <asp:Label ID="lblRampDocumentDeliveryFaxTo" runat="server"></asp:Label>
                                                <br />
                                                <asp:Label ID="lblRampDocumentDeliveryEmailTo" runat="server"></asp:Label>
                                                <br />
                                                <asp:Label ID="lblRampDocumentDeliveryMailTo" runat="server"></asp:Label>
                                            </span>
                                        </p>
                                    </asp:Panel>
                                </td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources: ClaimsManagement, ClaimConversionStatusLabel %>" />
                                    </b>
                                </td>
                                <td align="left">
                                    <asp:Label ID="m_txtClaimConversionStatus" runat="server"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" text-align="right">
                                    <asp:HyperLink ID="hlkClaimHolds" runat="server" Text="Claim Holds" />
                                </td>
                                <td></td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources: ClaimsManagement, ClaimConversionReasonLabel %>" />
                                    </b>
                                </td>
                                <td align="left">
                                    <asp:Label ID="m_txtClaimConversionReason" runat="server"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:CheckBox ID="m_chkCustomerUsedOwnShipLabel" runat="server" Text="<%$ Resources: ClaimsManagement, CustomerUsedTheirOwnLabel %>" />
                                </td>
                                <td></td>
                                <td align="right">
                                    <b>
                                        <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources: ClaimsManagement, ClaimConversionDateLabel %>" />
                                    </b>
                                </td>
                                <td align="left">
                                    <asp:Label runat="server" ID="m_txtClaimConversionDate"></asp:Label>
                                </td>
                                <td style="width: auto;">&nbsp;</td>
                            </tr>
                        </table>
                    </div>

                    <div class="greyblock">
                        <b><span style="color: #ff0000">*</span></b>
                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: Default, LabelIndicatesRequiredField %>" />
                        <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr class="thead">
                                <td nowrap>
                                    <center>
                                        <b>
                                            <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources: ClaimsManagement, DescriptionOfLossLabel %>" /></b></center>
                                </td>
                                <td nowrap>
                                    <center>
                                        <b>
                                            <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources: ClaimsManagement, LostStolenInformationLabel %>" /></b></center>
                                </td>
                            </tr>
                            <tr>
                                <td nowrap>
                                    <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                                        <tr>
                                            <td nowrap>
                                                <b>
                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources: ClaimsManagement, LabelDescriptionColon %>" />:<b><span
                                                        style="color: #ff0000">*</span></b> </b>
                                            </td>
                                            <td nowrap>
                                                <asp:TextBox ID="m_txtDescription" runat="server" Height="70px" TextMode="MultiLine"
                                                    Width="300px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="m_rfvDescription" runat="server" ControlToValidate="m_txtDescription"
                                                    Text="<%$ Resources:Default, RequiredValidatorText %>"
                                                    ErrorMessage="<%$ Resources: ClaimsManagement, ErrorMessageEnterLossDescription %>"
                                                    ToolTip="<%$ Resources: ClaimsManagement, ErrorMessageEnterLossDescription %>"
                                                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td valign="top" nowrap>
                                    <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                                        <tr>
                                            <td align="right" nowrap>
                                                <b>
                                                    <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources: ClaimsManagement, PoliceReportNumberLabel %>" />
                                                </b>
                                            </td>
                                            <td nowrap>
                                                <asp:TextBox ID="m_txtPoliceReportNumber" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" nowrap>
                                                <b>
                                                    <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources: ClaimsManagement, PoliceStationLabel %>" />
                                                </b>
                                            </td>
                                            <td nowrap>
                                                <asp:TextBox ID="m_txtPoliceStation" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" nowrap>
                                                <b>
                                                    <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources: ClaimsManagement, PhoneNumberLabel %>" />
                                                </b>
                                            </td>
                                            <td nowrap>
                                                <asp:TextBox ID="m_txtPhoneNumber" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <h2>
                        <asp:Literal ID="ltlReplacementOption" runat="server" Text="<%$ Resources: Default, LabelHITSSubMenuReplacementOption %>" />
                    </h2>
                    <uc:ClaimAccessory ID="ucClaimAccessories" runat="server" />
                    <br />
                    <uc1:ClaimDetailsHandsetGrid ID="ucClaimDetailsHandsetGrid" runat="server" OnClaimedHMIndexChanged="m_ddlClaimedHandsetManufacturer_SelectedIndexChanged"
                        OnVerifiedHMIndexChanged="m_ddlVerifiedHandsetManufacturer_SelectedIndexChanged"
                        OnReplacementHMIndexChanged="m_ddlReplacementHandsetManufacturer_SelectedIndexChanged"
                        OnClaimedOrgIndexChanged="m_ddlClaimedOrg_SelectedIndexChanged" OnClaimedOrgUnitIndexChanged="m_ddlClaimedOrgUnit_SelectedIndexChanged"
                        OnVerifiedOrgIndexChanged="m_ddlVerifiedOrg_SelectedIndexChanged" OnVerifiedOrgUnitIndexChanged="m_ddlVerifiedOrgUnit_SelectedIndexChanged"
                        OnReplacementOrgIndexChanged="m_ddlReplacementOrg_SelectedIndexChanged" OnReplacementOrgUnitIndexChanged="m_ddlReplacementOrgUnit_SelectedIndexChanged" />
                    <uc:HandsetHistory ID="m_ucHandsetHistory" runat="server" />
                    <uc:ClaimHistory ID="ucClaimHistory" runat="server" />
                    <asp:Panel ID="m_pnlClaimTimeline" runat="server" Visible="false">
                        <h2>
                            <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources: ClaimsManagement, LabelClaimTimeline %>" /></h2>
                        <asp:GridView ID="m_gvClaimTimeline" runat="server" AutoGenerateColumns="False" OnRowDataBound="m_gvClaimTimeline_RowDataBound"
                            Width="100%">
                            <Columns>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal ID="m_litCTDate" Text="<%$ Resources: Default, LabelDate %>" runat="server" />
                                        <br />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblCTDate" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="9%" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal ID="m_litCTTime" Text="<%$ Resources: Default, LabelTime %>" runat="server" />
                                        <br />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblCTTime" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="9%" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal ID="m_litEvent" Text="<%$ Resources: ClaimsManagement, LabelEventHeader %>" runat="server" />
                                        <br />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblEvent" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="67%" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal ID="m_litName" Text="<%$ Resources: ClaimsManagement, LabelPersonHeader %>" runat="server" />
                                        <br />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblName" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="15%" />
                                </asp:TemplateField>
                            </Columns>
                            <RowStyle VerticalAlign="Top" />
                        </asp:GridView>
                    </asp:Panel>
                    <asp:Panel ID="m_pnlCallRecordingSummary" runat="server">
                        <uc2:CallSummary ID="m_ucCallSummary" runat="server" />
                        <br />
                    </asp:Panel>

                </ContentTemplate>
            </ajaxToolkit:TabPanel>
            <ajaxToolkit:TabPanel ID="tabPanelCliamNotes" runat="server" HeaderText="<%$ Resources: ClaimsManagement, ClaimNotesHeaderText %>">
                <ContentTemplate>
                    <uc:NoteHistory ID="ucNotesHistory" runat="server" EnableViewState="true" OnNoteSubmitted="ucNotesHistory_OnNoteSubmitted"
                        OnNoteDeleting="ucNotesHistory_OnNoteDeleting"></uc:NoteHistory>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>

            <ajaxToolkit:TabPanel ID="tabPanelEscalationSummary" runat="server" HeaderText="<%$ Resources: EscalationManagement, HeaderTextEscalationSummary %>">
                <ContentTemplate>
                    <h2>
                        <asp:Literal runat="server" id="asp_Literal9389" Text="<%$ Resources: EscalationManagement, EscalationSummaryLabel %>"></asp:Literal>
                    </h2>
                    <div class="greyblock">
                        <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td>
                                    <uc3:EscalationSummaryControl ID="m_ucEscalationSummary" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>

        </ajaxToolkit:TabContainer>
        <asp:Panel ID="pnlNoteArchive" runat="server" Style="display: none; width: 999px;">
    <asp:Panel ID="pnlNoteArchiveHeader" runat="server" EnableViewState="false" CssClass="modalHeader">
        <table cellpadding="0" cellspacing="0" width="99%; margin: 0px;">
            <tr>
                <td align="center" style="margin: 0px; padding: 2px;">
                    <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources: SubscriberManagement, NotesHeaderText %>" />
                </td>
                <td align="right" style="margin: 0px; padding: 2px;">
                    <asp:ImageButton ID="imgArchiveNote" runat="server" CssClass="modalClose" Height="18px"
                        ImageUrl="~/images/closeButton.png" ToolTip="<%$ Resources: Default, ToolTipClose %>" Width="18px" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlNoteArchiveBody" runat="server" CssClass="modalContent" Style="text-align: left; margin: auto;">
        <table style="width: 100%;">
            <tr>
                <td>
                    
                        <div ID="divNotes" runat="server" style="width:100%;height:375px;overflow:auto;">
                        <uc:NoteHistory ID="ucNoteArchive" runat="server" />
                        </div>
                    
                </td>
                
            </tr>
        </table>
    </asp:Panel>
</asp:Panel>
                
        <asp:Button runat="server" ID="hiddenTargetControlForModalPopup_New"
    Style="display: none" />
        <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="HITSModalPopupExtender2" TargetControlID="hiddenTargetControlForModalPopup_New"
    PopupControlID="pnlNoteArchive" BackgroundCssClass="modalBackground" 
    PopupDragHandleControlID="pnlNoteArchiveHeader" BehaviorID="NoteArchive" CancelControlID="imgArchiveNote" />
        <uc:SubscriberEmailDialogue ID="ucSubscriberEmailDialogue" runat="server" OnEmailPopulated="ucSubscriberEmailDialogue_EmailPopulated"
            OnEmailPopulationCancelled="ucSubscriberEmailDialogue_EmailPopulationCancelled" />
        <uc:ESNPopupWindow ID="ucESNValidator" runat="server" OnYesPressed="ucESNValidator_YesPressed"
            OnNoPressed="ucESNValidator_NoPressed" />
        <cc1:ExtendedValidationSummary ID="m_extValidationSummaryBottom" runat="server" HeaderText="<%$ Resources: ClaimsManagement, followingitemsneedupdatingHeaderText %>" />

    </asp:Panel>

    <asp:Panel ID="pnlClaimNotFound" runat="server">
        <h2>
            <asp:Label ID="m_lblClaimNotFound" runat="server" />
        </h2>

    </asp:Panel>

    <asp:UpdatePanel ID="checkUserActivityVariables" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <input type="hidden" id="formInputChange" runat="server" value="" />
        </ContentTemplate>
    </asp:UpdatePanel>

    <script type="text/javascript">
        $(document).ready(function () {

            $("#<%:pnlClaimDetail.ClientID%> select").die('click');
            $("#<%:pnlClaimDetail.ClientID%> select").live('click', function () {
                $("#<%:formInputChange.ClientID%>").val("true");
            });

            $("#<%:pnlClaimDetail.ClientID%> input").die('click');
            $("#<%:pnlClaimDetail.ClientID%> input").live('click', function () {
                $("#<%:formInputChange.ClientID%>").val("true");
            });

            $("#<%:pnlClaimDetail.ClientID%> textarea").die('click');
            $("#<%:pnlClaimDetail.ClientID%> textarea").live('click', function () {
                $("#<%:formInputChange.ClientID%>").val("true");
            });

        });
    </script>

</asp:Content>
