<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True" Inherits="site_KPI" Title="Brightstar Device Protection: HITS - Key Performance Indicators"
    Theme="eMain" Codebehind="Default.aspx.cs" %>
    
<%@ Register Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ActiveSubsByCarrier.ascx" TagName="ActiveSubsByCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/Dashboard/ActiveSubsForCarrier.ascx" TagName="ActiveSubsForCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/AvgNECAvgDeductibe.ascx" TagName="AvgNECAvgDeductibe"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ClaimCountVsIRByCarrier.ascx" TagName="ClaimCountVsIRByCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ClaimsByCarrier.ascx" TagName="ClaimsByCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ClaimsByLossType.ascx" TagName="ClaimsByLossType"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/Dashboard/ClaimsByLossTypeForCarrier.ascx" TagName="ClaimsByLossTypeForCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ClaimsByStatusType.ascx" TagName="ClaimsByStatusType"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ClaimsByStatusTypeForCarrier.ascx" TagName="ClaimsByStatusTypeForCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/Dashboard/ClaimsForCarrier.ascx" TagName="ClaimsForCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/DelayedShipment.ascx" TagName="DelayedShipment"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/EC_LR_IR_ByCarrier.ascx" TagName="EC_LR_IR_ByCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/GrossMargin.ascx" TagName="GrossMargin"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/PaidClaims.ascx" TagName="PaidClaimsByCarrier"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ShipmentErrorVsAvgEquipmentCount.ascx" TagName="ShipmentErrorVsAvgEquipmentCount"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ShippingStatusDetail.ascx" TagName="ShippingStatusDetail"
    TagPrefix="uc" %>    
<%@ Register Src="~/Controls/KPI/Reports/KPIPage/ByCarrier.ascx" TagName="ByCarrier"
    TagPrefix="uc" %>
<%@ Register src="../../Controls/KPI/Reports/KPIPage/TieredDeductible.ascx" tagname="TieredDeductible" tagprefix="uc" %>
<%@ Register src="../../Controls/KPI/Reports/KPIPage/AE_RefurbVsNewClaims.ascx" tagname="AE_RefurbVsNew" tagprefix="uc" %>

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

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <script type="text/javascript" language="javascript">
        function TabContainer1_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=TabContainer1";
            $.ajax({ url: url, cache: false });
        }
    </script>
    <h1>
        <asp:Localize ID="Localize5" runat="server" Text="<%$ Resources : Default,LabelKPIReports %>"></asp:Localize> <span style="color:#ff0000;font-size:0.6em;"><asp:Literal ID="lit_Note1" runat="server" Text="<%$ Resources : Default,LabelNoteThesereportsareusingTestData %>" ></asp:Literal></span>
    </h1>
    <div class="clear">
    </div>  
       
    
    <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" OnClientActiveTabChanged="TabContainer1_ActiveTabChanged">
        <ajaxToolkit:TabPanel ID="tabPanelClaimsData" runat="server" HeaderText="<%$ Resources : ClaimsManagement,LabelClaimsData %>">
            <ContentTemplate>
                <div class="tabPanelFix">
                    <table>
                        <tr>
                            
                            <td valign="top">
                                <uc:ClaimsForCarrier ID="ucClaimsForCarrier" runat="server" />
                            </td>
                            <td valign="top">                                
                                <uc:PaidClaimsByCarrier ID="ucPaidClaimsByCarrier" runat="server" />
                            </td>
                            
                        </tr>
                    </table>
                    <table>
                        <tr>
                       
                            <td valign="top">
                                <uc:ClaimCountVsIRByCarrier ID="ucClaimCountVsIRByCarrier" runat="server" />
                            </td>
                             
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <uc:TieredDeductible ID = "ucTieredDeductible" runat = "server" />
                            </td>
                            <td>
                                <uc:ClaimsByStatusType ID = "ucClaimsByStatusType" runat = "server" />
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                             <td valign = "top">
                             <uc:ClaimsByLossType ID = "ucClaimsByLossType" runat = "server" />
                             </td>
                            <td valign="top">
                                <uc:ClaimsByLossTypeForCarrier ID="ucClaimsByLossTypeForCarrier" runat="server" />
                            </td>
                            <td valign="top">
                                <uc:ClaimsByStatusTypeForCarrier ID="ucClaimsByStatusTypeForCarrier" runat="server" />
                            </td>
                            <td valign="top">
                                <uc:ClaimsByCarrier ID="ucClaimsByCarrier" runat="server" />
                            </td>
                            <td valign="top">
                                <uc:AE_RefurbVsNew ID="ucAERefurbVsNew" runat="server" />
                            </td>                            
                        </tr>
                    </table>
                  
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelSubscriberData" runat="server" HeaderText="<%$ Resources : SubscriberManagement,LabelSubscriberData %>">
            <ContentTemplate>
                <div class="tabPanelFix">
                    <table>
                        <tr>
                            <td valign="top">
                                <uc:ActiveSubsForCarrier ID="ucActiveSubsForCarrier" runat="server" />
                            </td>
                            <td valign="top">
                                <uc:ActiveSubsByCarrier ID="ucActiveSubsByCarrier" runat="server" />
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelShipments" runat="server" HeaderText="<%$ Resources : SubscriberManagement,LabelShipmentData %>">
            <ContentTemplate>
                <div class="tabPanelFix">
                    <h2>
                        <asp:Localize ID="Localize4" runat="server" Text="<%$ Resources : SubscriberManagement,LabelShippingErrorsAndDelays %>" /></h2>
                    <table>
                        <tr>
                            <td valign="top">
                                <uc:ShipmentErrorVsAvgEquipmentCount ID="ucShipmentErrorVsAvgEquipmentCount" runat="server" />
                            </td>
                            <td valign="top">
                                <uc:DelayedShipment ID="ucDelayedShipment" runat="server" />
                            </td>
                            
                        </tr>
                        </table>
                        <table>
                        <tr>
                            <td valign = "top">
                                <uc:ShippingStatusDetail ID="ShippingStatusDetail1" runat="server" />
                            </td>
                        </tr>
                    </table>               
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelMisc" runat="server" HeaderText="<%$ Resources : Default,LabelCosts %>">
            <ContentTemplate>
                <div class="tabPanelFix">
                    <table>
                        <tr>
                            <td>
                                <uc:GrossMargin ID="ucGrossMargin" runat="server" />
                            </td>
                            <td>
                                <uc:AvgNECAvgDeductibe ID="ucAvgNECAvgDeductible" runat="server" />
                            </td>
                         
                        </tr>
                    </table>
                    <table>
                        <tr>
                               <td>
                                <uc:EC_LR_IR_ByCarrier ID="ucECLRIRByCarrier" runat="server" />
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelTest" runat="server" HeaderText="<%$ Resources : Default,LabelTest %>">
            <ContentTemplate>
                 <div class="tabpanelfix">
                    <table>
                        <tr>
                            <td>
                                <uc:ByCarrier ID = "ucByCarrier" runat = "server" />
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
    </ajaxToolkit:TabContainer>

</asp:Content>
