<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True" ValidateRequest="false"
    Inherits="site_HITS_Organization_CarrierDetails" Title="Brightstar Device Protection: Organization Details"
    Culture="auto" UICulture="auto" Theme="eMain"
    CodeBehind="CarrierDetails.aspx.cs" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components"
    TagPrefix="cc1" %>
<%@ 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/RichTextEditor.ascx" TagName="RichText" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Organization/LocalizationDetail.ascx" TagName="LocalizationDetail" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Organization/DocumentDelivery.ascx" TagName="DocumentDelivery" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GridViews/BusinessEvent.ascx" TagPrefix="cc1" TagName="BusinessEvent" %>
<%@ Register Src="~/Controls/Organization/ReceiptTemplateList.ascx" TagPrefix="uc" TagName="ReceiptTemplateList" %>
<%@ Register Src="~/Controls/Organization/ReceiptTemplateEdit.ascx" TagPrefix="uc" TagName="ReceiptTemplateEdit" %>

<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc2" %>
<%@ Register TagPrefix="eSecuritelHITSControls" Namespace="WebSite.Controls" Assembly="WebSite" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
    </asp:ScriptManagerProxy>
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    </telerik:RadAjaxManagerProxy>

    <style type="text/css">
        .tblFulfillmentsCarParams .div-HITSearchGridView {
            max-height: none !important;
        }

        .tblGlobalParams .div-HITSearchGridView {
            max-height: none !important;
        }

        .accordionContent .gvTable {
            margin: 0px !important;
        }

        .accordion {
            width: 250px;
            max-width: 250px;
            float: left;
        }

        .accordionHeader {
            border: 1px solid #2F4F4F;
            color: white;
            background-color: #00c4b4;
            font-family: Arial, Sans-Serif;
            font-size: 12px;
            font-weight: bold;
            padding: 5px;
            margin-top: 5px;
            cursor: pointer;
            width: 230px;
            max-width: 230px;
        }

        .accordionHeaderSelected {
            border: 1px solid #2F4F4F;
            color: white;
            background-color: #00c4b4;
            font-family: Arial, Sans-Serif;
            font-size: 12px;
            font-weight: bold;
            padding: 5px;
            margin-top: 5px;
            cursor: pointer;
        }

        .accordionContent {
            background-color: #00c4b4;
            /*border: 1px dashed #2F4F4F;*/
            border-top: none;
            padding: 5px;
            padding-top: 10px;
            margin-top: -10px;
            margin-left: -5px;
            max-width: 242px;
            width: 242px;
        }
        .errorText {
            color:red;
        }
        .highlightedTmpl {
            border-color:yellow;
            border-width:3px;
        }
    </style>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <%-- <script type="text/javascript" language="javascript"> 
            function ValidateFeatureCoverageDuration(sender, args) {
                var WarrentyPeriod = $get('< %= txtWarrentyPeriod.ClientID %>');
                var NewHandsetRepWarDuration = $get('< %= txtNewHandsetRepWarDuration.ClientID %>');
                var RefurbHandsetCarrierWarrantyDuration = $get('< %= txtRefurbHandsetCarrierWarrantyDuration.ClientID %>');
                var NewHandsetCarrierWarrantyDuration = $get('< %= txtNewHandsetCarrierWarrantyDuration.ClientID %>');
                var OrganicHandsetWaitPeriod = $get('< %= txtOrganicHandsetWaitPeriod.ClientID %>');
                var RefurbishedHandsetWaitPeriod = $get('< %= txtRefurbishedHandsetWaitPeriod.ClientID %>');
                var NewHandsetWaitPeriod = $get('< %= txtNewHandsetWaitPeriod.ClientID %>');

                args.IsValid = WarrentyPeriod.value.match(/^\d+$/)
                    && NewHandsetRepWarDuration.value.match(/^\d+$/)
                    && RefurbHandsetCarrierWarrantyDuration.value.match(/^\d+$/)
                    && NewHandsetCarrierWarrantyDuration.value.match(/^\d+$/)
                    && OrganicHandsetWaitPeriod.value.match(/^\d+$/)
                    && RefurbishedHandsetWaitPeriod.value.match(/^\d+$/)
                    && NewHandsetWaitPeriod.value.match(/^\d+$/);
            }
        </script>--%>

        <script language="javascript" type="text/javascript">

            //On UpdatePanel Refresh
            var prm = Sys.WebForms.PageRequestManager.getInstance();
            if (prm != null) {
                prm.add_endRequest(endRequestHandler);
            }

            function endRequestHandler(sender, args) {

                //var $gvTable = $('.tblFulfillmentsCarParams .div-HITSearchGridView #ctl00_eContent_TabContainer1_tabPanelBusinessEvents_BusinessEvents_RuleGrid');
                var $gvTable = $('.gvTable', '.tblFulfillmentsCarParams');
                if ($gvTable.length > 0) {
                    var $span = $('.tblFulfillmentsCarParams .carrierDetails');
                    if ($span) {
                        $span.css({
                            'margin-left': '680px',
                            'float': 'left'
                        });
                    }
                }

                var $gvGlobalTable = $('.gvTable', '.tblGlobalParams');
                if ($gvGlobalTable.length > 0) {
                    var $globalSpan = $('.tblGlobalParams .carrierDetails');
                    if ($globalSpan) {
                        $globalSpan.css({
                            'margin-left': '680px',
                            'float': 'left'
                        });
                    }
                }
            }

            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 });
            }

            function Selrdbtn(id) {
                var rdBtn = document.getElementById(id);
                var List = document.getElementsByTagName("input");
                for (i = 0; i < List.length; i++) {
                    if (List[i].type == "radio" && List[i].id != rdBtn.id) {
                        List[i].checked = false;
                    }
                }
            }

            function ConfirmDelete() {
                return confirm("Are you sure you want to delete the Record?.");
            }

            function ConfirmDeleteReceiptTemplate(rowId) {
                HighlightReceiptTemplateRow(rowId, "yellow");
                if (confirm("Are you sure you want to delete highlighted Record?.")) {
                    return true;
                }
                else {
                    HighlightReceiptTemplateRow("");
                    return false;
                }
            }

            function HighlightReceiptTemplateRow(rowId, highlightColor) {
                clearHighlightReceiptTemplate();
                //as rows has inline styles, we cann't use add/RemoveClass. which is cleaner.
                if (rowId != "") {
                    hilight_css = {
                        "border-color": highlightColor,
                        "border-width": "3px"
                    };
                    $("." + rowId).css(hilight_css); 
                } 
            }
            function clearHighlightReceiptTemplate() {
                regular_css = {
                    "border-color": "black",
                    "border-width": "2px"
                };
                $(".receiptTemplateRow").css(regular_css);
            }
        </script>
    </telerik:RadCodeBlock>
    <cc1:ExtendedValidationSummary ID="m_extValidationSummaryTop" runat="server" HeaderText="<%$ Resources: OrganizationManagement, GeneralCarrItemsUpdateLabel %>" />
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <h1>
                    <asp:Literal ID="m_litOrganizationDetails" runat="server"
                        Text="<%$ Resources: OrganizationManagement, OrganizationDetailsHeaderLabel %>" />
                    -
                    <asp:Label ID="lblOrgName" runat="server"></asp:Label>
                </h1>
            </td>
            <td valign="top">
                <uc:PersistNav ID="PersistNav1" runat="server" />
            </td>
        </tr>
    </table>
    <uc:ChildHeader ID="ChildHeader1" runat="server" OnSendEmailClicked="SendEmail_Clicked" />
    <div style="background-color: #DBDCDE; padding-left: 350px">
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td nowrap="nowrap">
                    <asp:LinkButton ID="m_lbtnOrganizationUnit" runat="server" Width="12%" OnClick="m_lbtnOrganizationUnit_Click"
                        ToolTip="<%$ Resources: OrganizationManagement, OrganizationUnitToolTip %>"
                        Text="<%$ Resources: OrganizationManagement,OrganizationUnitTableHeader %>"></asp:LinkButton>
                </td>
                <td nowrap="nowrap">
                    <asp:LinkButton ID="m_lbtnUser" Width="4%" runat="server" OnClick="m_lbtnUser_Click"
                        ToolTip="<%$ Resources: OrganizationManagement, UsersOfOrganizationToolTip %>"
                        Text="<%$ Resources: Default, UsersLabel %>"></asp:LinkButton>
                </td>
                <td nowrap="nowrap">
                    <asp:LinkButton ID="m_lbtnModelMap" runat="server" Width="8%" OnClick="m_lbtnModelMap_Click"
                        ToolTip="<%$ Resources: OrganizationManagement, ViewModelMapOrgLabel %>"
                        Text="<%$ Resources: ModelManagement, LabelModelMap %>"></asp:LinkButton>
                </td>
                <td nowrap="nowrap">
                    <asp:LinkButton ID="m_lbtnModelMatrix" runat="server" OnClick="m_lbtnModelMatrix_Click"
                        ToolTip="<%$ Resources: OrganizationManagement, ViewModelMatrixOrgLabel %>"
                        Text="<%$ Resources: ModelManagement, LabelModelMatrix %>"></asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:Label ID="lblSuccess" runat="server" CssClass="successmessage"></asp:Label>
    <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" OnClientActiveTabChanged="TabContainer1_ActiveTabChanged">
        <ajaxToolkit:TabPanel ID="tabPanelGeneral" runat="server" HeaderText="<%$ Resources: OrganizationManagement, GeneralHeaderLabel %>">
            <ContentTemplate>
                <div class="tabPanelFix">
                    <h2>
                        <asp:Literal ID="m_litGeneralInfo" runat="server" Text="<%$ Resources:AdministrationManagement,LabelGeneralInformation %>" />
                    </h2>
                    <div id="orgGeneralInfoDiv" class="greyblock">
                        <asp:HiddenField ID="hdnMaxDaysNotReturnedHandset" runat="server" />
                        <b><span style="color: #ff0000">* </span></b>
                        <asp:Literal ID="m_litRequiredFieldIndicatorHeader" runat="server"
                            Text="<%$ Resources:Default, LabelIndicatesRequiredField %>" />
                        <table id="tblOrgGenInfo" border="0" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td align="right" nowrap="nowrap">
                                    <asp:Literal ID="m_litOrganizationNameHeader" runat="server" Text="<%$ Resources:OrganizationManagement, LabelOrganizationNameColon %>" />
                                    <span>*</span>
                                </td>
                                <td nowrap="nowrap">
                                    <asp:TextBox ID="txtOrgName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOrgName"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, ErrorMessageOrganizationNameisRequired %>"
                                        ToolTip="<%$ Resources:OrganizationManagement, ErrorMessageOrganizationNameisRequired %>"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right" nowrap="nowrap">
                                    <asp:Literal ID="litSubscriptionFeesHeader" runat="server" Text="<%$ Resources:OrganizationManagement, LabelSubscriptionFeesDollarSignColon %>" />
                                    <span>*</span>
                                </td>
                                <td nowrap="nowrap">
                                    <asp:TextBox ID="txtSubscriptionFees" runat="server" CssClass="textbox-number"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="m_rfvSubscriptionFees" runat="server" ControlToValidate="txtSubscriptionFees"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, SubscriptionFeesRequiredLabel %>"
                                        SetFocusOnError="True" ToolTip="<%$ Resources:OrganizationManagement, SubscriptionFeesRequiredLabel %>"></asp:RequiredFieldValidator>
                                    <asp:RangeValidator ID="m_rvSubFees" runat="server" ControlToValidate="txtSubscriptionFees"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, SubscriptionFeesErrorLabel %>"
                                        MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True" ToolTip="<%$ Resources:OrganizationManagement, EnterMoneyValue %>"
                                        Type="Double"></asp:RangeValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litOrganizationTypeHeader" runat="server" Text="<%$ Resources:OrganizationManagement, OrganizationTypeLabel %>" />
                                    <span>*</span>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlOrgTypes" runat="server">
                                        <asp:ListItem Text="<%$ Resources:Default, HistoryLabel %>"></asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="m_rfvOrgTypes" runat="server" ControlToValidate="ddlOrgTypes"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, OrganizationTypeRequiredLabel %>"
                                        ToolTip="<%$ Resources:OrganizationManagement, OrganizationTypeRequiredLabel %>"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litProcessingFeesHeader" runat="server" Text="<%$ Resources:OrganizationManagement, ProcessingFeesLabel %>" />
                                    (<%=CurrencyData.CurrencySymbol%>): <span>*</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtProcessingFees" runat="server" CssClass="textbox-number"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="m_rfvProcessingFees" runat="server" ControlToValidate="txtProcessingFees"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, ProcessingFeesRequiredLabel %>"
                                        SetFocusOnError="True" ToolTip="<%$ Resources:OrganizationManagement, ProcessingFeesRequiredLabel %>"></asp:RequiredFieldValidator>
                                    <asp:RangeValidator ID="m_rvProcessingFees" runat="server" ControlToValidate="txtProcessingFees"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, ProcessingFeesErrorLabel %>"
                                        ToolTip="<%$ Resources:OrganizationManagement, EnterMoneyValue %>" MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True"
                                        Type="Double"></asp:RangeValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litURLHeader" runat="server" Text="<%$ Resources:Default, URLColonLabel %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtURL" runat="server"></asp:TextBox>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litInactiveUsersDisabledHeader" runat="server"
                                        Text="<%$ Resources:OrganizationManagement, InactiveUsersDisabledDaysLabel %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtInactiveUsersDisabledDays" runat="server" CssClass="textbox-number"></asp:TextBox>
                                    <asp:RangeValidator ID="m_rvInactiveUsersDisabledDays" runat="server" ControlToValidate="txtInactiveUsersDisabledDays"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, InactiveUsersDisabledDaysErrorLabel %>"
                                        ToolTip="<%$ Resources:OrganizationManagement, InactiveUsersDisabledDaysErrorLabel %>" MaximumValue="1000000"
                                        MinimumValue="0" SetFocusOnError="True" Type="Integer"></asp:RangeValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litERPClientName" runat="server" Text="<%$ Resources:OrganizationManagement, ERPClientNameLabel %>" />:
                                </td>
                                <td>
                                    <asp:TextBox ID="txtERPClientName" runat="server"></asp:TextBox>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litCallCenterTollFreeNumber" runat="server"
                                        Text="<%$ Resources:OrganizationManagement, CallCenterTollFreeNoLabel %>" />:
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCallCenterTollFreeNumber" runat="server" CssClass="textbox-number"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litERPCarrierName" runat="server" Text="<%$ Resources:OrganizationManagement, ERPClientNameLabel %>" />:
                                </td>
                                <td>
                                    <asp:TextBox ID="txtERPCarrierName" runat="server"></asp:TextBox>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litProgramStartDate" runat="server" Text="<%$ Resources:OrganizationManagement, ProgramStartDateLabel %>" />:
                                </td>
                                <td>
                                    <uc:HITSCalendar ID="calProgramStartDate" runat="server" Required="false" ShortDisplay="true" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap="nowrap">
                                    <asp:Literal ID="m_ClientId" runat="server" Text="<%$ Resources:OrganizationManagement, ClientIdLabel %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="m_txtClientId" runat="server" CssClass="textbox-number"></asp:TextBox>
                                </td>
                                <td align="right" nowrap="nowrap">
                                    <asp:Literal ID="m_ManufacturerId" runat="server" Text="<%$ Resources:OrganizationManagement, ManufacturerIdLabel %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="m_txtManufacturerId" runat="server" CssClass="textbox-number"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litRoleHierarchyHeader" Text="<%$ Resources:OrganizationManagement, RoleHierarchyEnabledLabel %>" runat="server" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkRoleHierarchyEnabled" runat="server" />
                                </td>
                                <td align="right">
                                    <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:OrganizationManagement, ActivationFeeLabel %>" />
                                    (<%=CurrencyData.CurrencySymbol%>): <span>*</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtActivationFee" runat="server" CssClass="textbox-number"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="m_rfvActivationFee" runat="server" ControlToValidate="txtActivationFee"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, ActivationFeeRequiredLabel %>"
                                        SetFocusOnError="True" ToolTip="<%$ Resources:OrganizationManagement, ActivationFeeRequiredLabel %>"></asp:RequiredFieldValidator>
                                    <asp:RangeValidator ID="m_rvActivationFee" runat="server" ControlToValidate="txtActivationFee"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:OrganizationManagement, ActivationFeeErrorLabel %>"
                                        ToolTip="<%$ Resources:OrganizationManagement, EnterMoneyValue %>" MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True"
                                        Type="Double"></asp:RangeValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_ActiveHeader" runat="server" Text="<%$ Resources:OrganizationManagement, ActiveColonLabel %>" />
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="rblActive" runat="server" RepeatDirection="Horizontal" CssClass="rbl-GenInfo-tbl">
                                        <asp:ListItem Selected="True" Text="<%$ Resources:OrganizationManagement, ActiveTableLabel %>"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources:OrganizationManagement, InactiveLabel %>"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td></td>
                                <td align="left" nowrap="nowrap">
                                    <asp:HyperLink ID="hlHistory" runat="server" Text="<%$ Resources:Default, HistoryLabel %>"
                                        Target="_blank"></asp:HyperLink>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litFeeMethod" runat="server" Text="<%$ Resources:OrganizationManagement, FeeMethodColonLabel %>" />
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="rbMethod" runat="server" RepeatDirection="Horizontal" CssClass="rbl-GenInfo-tbl">
                                        <asp:ListItem Selected="True" Text="<%$ Resources:OrganizationManagement, FirstFeeMethodLabel %>"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources:OrganizationManagement, SecondFeeMethodLabel %>"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litClaimExpress" runat="server" Visible="False" Text="<%$ Resources:ClaimsManagement, LabelClaimExpiresColon %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtClaimExpires" runat="server" Visible="False"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="m_rfvClaimExpires" runat="server" ControlToValidate="txtClaimExpires" Enabled="False"
                                        Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources:ClaimsManagement, LabelClaimExpiresRequired %>"
                                        SetFocusOnError="True" ToolTip="<%$ Resources:ClaimsManagement, LabelClaimExpiresRequired %>"></asp:RequiredFieldValidator>
                                    <asp:RangeValidator ID="m_rvClaimExpires" runat="server" ControlToValidate="txtClaimExpires" Enabled="False"
                                        ErrorMessage="<%$ Resources:ClaimsManagement, LabelClaimExpiresError %>" Text="<%$ Resources:Default, ValidatorText %>"
                                        MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True" Type="Integer"
                                        ToolTip="<%$ Resources:ClaimsManagement, ClaimExpiresErrorLabel %>"></asp:RangeValidator>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <h2>
                        <asp:Literal ID="m_litFeatureCoverageDuration" runat="server"
                            Text="<%$ Resources:OrganizationManagement, ProgramTypesLabel %>" />
                    </h2>
                    <div class="greyblock">
                        <table id="tblProgramTypes" width="100%">
                            <tr>
                                <td>
                                    <asp:Literal ID="Literal9" runat="server" />
                                    <cc1:BusinessEvent runat="server" ID="ProgramTypeBusinessEvent" ShowHeader="false"
                                        UILocation="General"></cc1:BusinessEvent>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <h2>
                        <asp:Literal ID="litCustomerCentralProcessing" runat="server" />
                    </h2>
                    <div class="greyblock">
                        <table width="100%">
                            <tr>
                                <td>
                                    <asp:CheckBox Text="<%$ Resources:OrganizationManagement , CANTakeClaimsHotlinedSubsChkBox %>" ID="chkAllowClaimDuringHotlined" runat="server" />
                                </td>
                                <td>
                                    <asp:CheckBox Text="<%$ Resources:OrganizationManagement , CANTakeClaimsTermedSubsChkBox %>" ID="chkCanTakeClaimOnTermedSubscriber" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <h2>
                        <asp:Literal ID="MMROverrideLabel" runat="server" Text="<%$ Resources:OrganizationManagement, MMROverrideColonLabel %>" /></h2>
                    <div class="greyblock">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:LinkButton ID="AddMMRButton" runat="server" Text="<%$Resources: Default, ButtonAdd %>" OnClick="AddMMRButton_Click"
                                    ToolTip="<%$Resources: OrganizationManagement, AddMMROverrideLabel %>" />&nbsp;&nbsp;
                                <asp:LinkButton ID="DeleteMMRButton" runat="server" Text="<%$Resources: Default, DeleteButtonLabel %>" OnClick="DeleteMMRButton_Click"
                                    ToolTip="<%$Resources: OrganizationManagement, DeleteMMROverride %>" />
                                <asp:GridView ID="grvMMROverride" runat="server" AutoGenerateColumns="False" RowStyle-VerticalAlign="Top"
                                    OnRowDataBound="grvMMROverride_RowDataBound">
                                    <HeaderStyle Font-Size=".9em" Font-Bold="true" HorizontalAlign="Center" />
                                    <AlternatingRowStyle Font-Size=".9em" />
                                    <RowStyle Font-Size=".9em" VerticalAlign="Top" />
                                    <Columns>
                                        <asp:TemplateField>
                                            <ItemTemplate>
                                                <asp:HiddenField ID="ID" runat="server" />
                                            </ItemTemplate>
                                            <ItemStyle Width="0" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litSelect" Text="<%$Resources: Default, SelectLabel %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="Select" runat="server" />
                                            </ItemTemplate>
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litMMROn" Text="<%$Resources: Default, OnLabel %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="MMROn" runat="server" />
                                            </ItemTemplate>
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litMMRClaimtype" Text="<%$Resources: ClaimsManagement, LabelClaimTypeColon %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:DropDownList ID="MMRClaimtype" runat="server" EnableViewState="true" Width="90%" />
                                            </ItemTemplate>
                                            <ItemStyle Width="100px" />
                                            <HeaderStyle Width="100px" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litMMRDays" Text="<%$Resources: Default, DaysLabel %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:TextBox ID="MMRDays" runat="server" Width="90%"></asp:TextBox>
                                            </ItemTemplate>
                                            <ItemStyle Width="100px" />
                                            <HeaderStyle Width="100px" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litMMRDefaultCondition" Text="<%$Resources: Default, DefaultConditionLabel %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:DropDownList ID="MMRDefaultCondition" runat="server" Width="90%">
                                                    <asp:ListItem Text="<%$Resources: Default, NewListItem %>" Value="172" />
                                                    <asp:ListItem Text="<%$Resources: Default, RefurbListItem %>" Value="171" />
                                                    <asp:ListItem Text="<%$Resources: Default, OrganicListItem %>" Value="170" />
                                                </asp:DropDownList>
                                            </ItemTemplate>
                                            <ItemStyle Width="150px" />
                                            <HeaderStyle Width="150px" />
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <h2>
                        <asp:Literal ID="AdjudicationRulesLabel" runat="server"
                            Text="<%$ Resources:OrganizationManagement, AdjudicationRulesColonLabel %>" />
                    </h2>
                    <div class="greyblock">
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <table id="tblAdjudicationRules" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasInsuranceWarranty" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="m_litInsCoverage" Text="<%$Resources: OrganizationManagement, LSDCoverageLabel %>" runat="server" />
                                        </td>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasRoadSide" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="Literal3" Text="<%$Resources: OrganizationManagement, RoadsideAssistanceLabel %>" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:CheckBox ID="chkCustomerHotlined" Text="<%$Resources: OrganizationManagement, RejectClaimCustomerHotlinedLabel %>"
                                                runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasReplacementWarranty" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="m_litReplacementWarranty" Text="<%$ Resources: OrganizationManagement, ReplacementWarrantyLabel %>" runat="server" />
                                        </td>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasExtendedWarranty" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="Literal2" Text="<%$ Resources: OrganizationManagement, ExtendedWarrantyLabel %>" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:CheckBox ID="chkIgnoreHotline" Text="<%$Resources: OrganizationManagement, IgnoreHotlinedLabel %>"
                                                runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasMME" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="m_litExtendedWarranty" Text="<%$ Resources: OrganizationManagement, MMECoverageLabel %>" runat="server" />
                                        </td>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasCarrierWarranty" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="litCarrierWarranty" Text="<%$ Resources: OrganizationManagement, CarrierReplacementWarrantyLabel %>" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasManufacturerWarranty" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="MWInfo" Text="<%$ Resources: OrganizationManagement, ManufacturerWarrantyLabel %>" runat="server" />
                                        </td>
                                        <td align="right">
                                            <asp:CheckBox ID="chkIsESNCheckForClaimAdjudication" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="m_litIsESNCheckForClaimAdjudication" runat="server" Text="<%$ Resources: OrganizationManagement, ESNClaimAdjudicationLabel %>" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:CheckBox ID="chkHasReturnWarranty" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="Label5" Text="<%$ Resources: Default, ReturnLabel %>" runat="server" />
                                        </td>
                                        <td align="right">
                                            <asp:CheckBox ID="chkUseGenericSpecificModelMapping" Font-Bold="true" runat="server" />
                                        </td>
                                        <td align="left">
                                            <asp:Label ID="lblUseGenericSpecificModelMapping" runat="server" Text="<%$ Resources: ModelManagement, LabelUseGenericSpecificModelMap %>" />
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <h2>
                        <asp:Literal ID="m_litFulfillmentRules" runat="server"
                            Text="<%$ Resources:FulfillmentManagement, LabelFulfillmentRulesColon %>" />
                    </h2>
                    <div class="greyblock div-greyblock-fulfillmentRules">
                        <div class="div-fulfillmentRules">
                            <div class="div-chkRACreation">
                                <asp:CheckBox ID="chkRACreation" runat="server" Text="<%$ Resources:FulfillmentManagement, CheckBoxFulfillmentRecordCreationSPRA %>" />
                            </div>
                            <div class="div-chkInventoryFulfillment">
                                <asp:CheckBox ID="chkInventoryFulfillment" runat="server" Text="<%$ Resources:FulfillmentManagement, CheckBoxInventoryFulfillment %>" />
                            </div>
                            <div class="div-chkIsESNCheckForFulfillment">
                                <asp:CheckBox ID="chkIsESNCheckForFulfillment" runat="server" Text="<%$ Resources:FulfillmentManagement, ChekBoxESNCheckFulfillment %>" />
                            </div>
                        </div>
                    </div>
                    <h2>
                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:OrganizationManagement, DistributionCenterHeaderLabel %>" />
                    </h2>
                    <div class="greyblock">
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <ContentTemplate>
                                <div class="gdw-distribution-center">
                                    <asp:GridView ID="grvDCGridView" runat="server" AutoGenerateColumns="False" RowStyle-VerticalAlign="Top"
                                        OnRowDataBound="grvDCGridView_RowDataBound">
                                        <HeaderStyle Font-Size=".9em" Font-Bold="true" HorizontalAlign="Center" />
                                        <AlternatingRowStyle Font-Size=".9em" />
                                        <RowStyle Font-Size=".9em" VerticalAlign="Top" />
                                        <Columns>
                                            <asp:TemplateField>
                                                <ItemTemplate>
                                                    <asp:HiddenField ID="ID" runat="server" />
                                                </ItemTemplate>
                                                <ItemStyle Width="0" />
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>
                                                    <asp:Literal ID="m_litEnabled" Text="<%$  Resources: OrganizationManagement , EnabledLabel %>" runat="server" />
                                                    <br />
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="Enabled" runat="server" />
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>
                                                    <asp:Literal ID="m_litRepairShop" Text="<%$ Resources: OrganizationManagement, DistributorLabel %>" runat="server" />
                                                    <br />
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="Distributor" runat="server" Width="90%"></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle Width="150px" />
                                                <HeaderStyle Width="150px" />
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>
                                                    <asp:Literal ID="m_litDCName" Text="<%$ Resources: OrganizationManagement, DistributionCenterLabel %>" runat="server" />
                                                    <br />
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="DCName" runat="server" Width="90%"></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle Width="150px" />
                                                <HeaderStyle Width="150px" />
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>
                                                    <asp:Literal ID="m_litDCPriority" Text="<%$ Resources: OrganizationManagement, PriorityLabel %>" runat="server" />
                                                    <br />
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:TextBox ID="DCPriority" runat="server" Width="90%" Style="text-align: center"></asp:TextBox>
                                                </ItemTemplate>
                                                <ItemStyle Width="100px" />
                                                <HeaderStyle Width="100px" />
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <h2>
                        <asp:Literal ID="m_litMiscellaneousInfo" runat="server"
                            Text="<%$ Resources:OrganizationManagement, MiscellaneousInformationLabel %>" />
                    </h2>
                    <div class="greyblock">
                        <div id="miscInfoDiv">
                            <div class="div-miscFulfilAgents-firstColumn">
                                <asp:Label ID="m_litFulfillmentAgents" runat="server" Text="<%$ Resources:FulfillmentManagement, LabelFulfillmentAgentsColon %>" />
                                <asp:ListBox ID="lstFulfillmentAgents" runat="server" Width="200px" SelectionMode="Multiple" />
                            </div>
                            <div class="div-miscFulfilAgents-secondColumn">
                                <asp:Literal ID="lstInventoryWarrantyPeriod" runat="server" Text="<%$ Resources:FulfillmentManagement, LabelFulfillmentAgentsColon %>" />
                                <asp:TextBox ID="txtInventoryWarrantyPeriod" runat="server" Width="190px" />
                            </div>
                        </div>
                    </div>
                    <h2>
                        <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:OrganizationManagement, InvoicingLabel %>" /></h2>
                    <div class="greyblock">
                        <table id="tbl-invoicinig" border="0" cellpadding="0" cellspacing="0" class="gvTable gdw-margin-reset">
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litInStoreReimbursementModel" runat="server"
                                        Text="<%$ Resources:ModelManagement, LabelInStoreReimbModelColon %>" />
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlInStoreReimbursementModel" runat="server">
                                    </asp:DropDownList>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litRefurbEquipMarkupPercent" runat="server"
                                        Text="<%$ Resources:OrganizationManagement, RefurbishedEquipmentMarkupPercentColonLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtRefurbEquipMarkupPercent" runat="server" Width="50px"></asp:TextBox>%
                                    <asp:RangeValidator ID="m_rvRefurbEquipMarkupPercent" ControlToValidate="txtRefurbEquipMarkupPercent"
                                        runat="server" Type="Double" MinimumValue="0" MaximumValue="1000" Text="<%$ Resources:Default, ErrorLabel %>"
                                        ErrorMessage="<%$ Resources:OrganizationManagement, RefurbishedEquipmentMarkupPercentErrorLabel %>"></asp:RangeValidator>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litAverageMWShippingCost" runat="server" Text="<%$ Resources:OrganizationManagement, LabelAverageMWShippingCostDollarSignColon %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="m_txtAverageMWShippingCost" runat="server" Width="50px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="m_litBillingMethodology" runat="server"
                                        Text="<%$ Resources:OrganizationManagement, BillingMethodologyColonLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlBillingMethodology" runat="server">
                                    </asp:DropDownList>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litNewEquipMarkupPercent" runat="server"
                                        Text="<%$ Resources:OrganizationManagement, NewEquipmentMarkupPercentColonLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtNewEquipMarkupPercent" runat="server" Width="50px"></asp:TextBox>%
                                    <asp:RangeValidator ID="m_rvNewEquipMarkupPercent" ControlToValidate="txtNewEquipMarkupPercent"
                                        runat="server" Type="Double" MinimumValue="0" MaximumValue="1000" Text="<%$ Resources:Default, ErrorLabel %>"
                                        ErrorMessage="<%$ Resources:OrganizationManagement, NewEquipmentMarkupPercentErrorLabel %>"></asp:RangeValidator>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="m_litAverageMWCallCenterCost" runat="server" Text="<%$ Resources:OrganizationManagement, LabelAverageMWCallCenterCostDollarSignColon %>" />
                                </td>
                                <td>
                                    <asp:TextBox ID="m_txtAverageMWCallCenterCost" runat="server" Width="50px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 215px">
                                    <asp:Literal ID="m_litFulfillmentModel" runat="server" Text="<%$ Resources:OrganizationManagement, BundleTypeColonLabel %>" />
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlModel" runat="server">
                                        <asp:ListItem Value="91" Text="<%$ Resources:OrganizationManagement, AdvanceExchangeLabel %>"></asp:ListItem>
                                        <asp:ListItem Value="92" Text="<%$ Resources:OrganizationManagement, InStoreLabel %>"></asp:ListItem>
                                        <asp:ListItem Value="93" Text="<%$ Resources:OrganizationManagement, BothLabel %>"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <h2>
                        <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:OrganizationManagement, ComplaintCodeGroupLabel %>" /></h2>
                    <div class="greyblock">
                        <div class="complaint-wrapper">
                            <asp:Literal ID="m_litComplaintGroup" runat="server" Text="<%$ Resources:OrganizationManagement, LabelComplaintCodeGroupColon %>" />
                            <asp:DropDownList ID="ddlComplaintCodeGroup" runat="server" Width="200px" />
                        </div>
                    </div>

                    <h2>
                        <asp:Literal ID="m_litCustomerCentralBanner" runat="server"
                            Text="<%$ Resources:OrganizationManagement, CustomerCentralBannerLabel %>" /></h2>
                    <div class="greyblock">
                        <uc:RichText ID="ucRichTextCustomerCentralBanner" runat="server" Height="125px" Title="<%$ Resources:OrganizationManagement, CustomerCentralBannerLabel %>"
                            ReadOnly="true" />
                    </div>
                    <h2>
                        <asp:Literal ID="LocalizationLiteral" runat="server" Text="<%$ Resources:OrganizationManagement, LabelLocalizationColon %>" />
                    </h2>
                    <div class="greyblock">
                        <div id="localizationWrapperDiv">
                            <uc:LocalizationDetail ID="ucLocalizationDetail" runat="server" ShowCountryDropDown="true" />
                        </div>
                    </div>
                    <h2>
                        <asp:Literal ID="hdrDocumentDelivery" runat="server" Text="<%$ Resources:OrganizationManagement, DocumentDeliveryHeader %>" />
                    </h2>
                    <asp:UpdatePanel runat="server" ID="DocumentDeliveryUpdatePanel">
                        <ContentTemplate>
                            <div class="greyblock">
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                            <uc:DocumentDelivery ID="ucDocumentDelivery" runat="server" EnableValidation="false" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelBusinessEvents" runat="server" HeaderText="<%$  Resources:  FulfillmentManagement, HeaderTextFulfillment %>">
            <ContentTemplate>
                <asp:UpdatePanel runat="server">
                    <ContentTemplate>
                        <div class="tabPanelFix">
                            <h2>
                                <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources: FulfillmentManagement, LabelBusinessRulesConfiguration %>" />
                            </h2>
                            <div class="greyblock">
                                <table>
                                    <tr>
                                        <td valign="top">
                                            <ajaxToolkit:Accordion
                                                ID="acrDynamicBusEvParams"
                                                runat="server"
                                                CssClass="accordion"
                                                HeaderCssClass="accordionHeader"
                                                HeaderSelectedCssClass="accordionHeaderSelected"
                                                ContentCssClass="accordionContent"
                                                OnItemDataBound="acrDynamicBusEvParams_ItemDataBound">
                                                <HeaderTemplate>
                                                    <asp:Label ID="lbTitle" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, PanelTitle)%>'></asp:Label>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:GridView ID="grdAcrDynamicBusEvParams" runat="server"
                                                        ToolTip='<%# Container.DataItemIndex %>'
                                                        AutoGenerateColumns="False"
                                                        BackColor="White"
                                                        BorderColor="Black"
                                                        BorderStyle="Solid"
                                                        BorderWidth="1px"
                                                        ShowHeader="false"
                                                        ShowFooter="false">
                                                        <RowStyle HorizontalAlign="Left" VerticalAlign="Top" Font-Overline="False" Font-Size="X-Small"
                                                            Font-Strikeout="False" Font-Underline="False" BorderColor="Black" BorderStyle="Solid"
                                                            BorderWidth="1px" />
                                                        <HeaderStyle Font-Size="X-Small" Wrap="True" />
                                                        <Columns>
                                                            <asp:TemplateField>
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="lbtnBusinessEventType2" runat="server"
                                                                        CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                                        CommandName='<%# "Default|" + DataBinder.Eval(Container.DataItem, "EventShortName")%>'
                                                                        OnCommand="lbtnBusinessEventType_Command"
                                                                        Text='<%# DataBinder.Eval(Container.DataItem, "EventShortName")%>'>
                                                                    </asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </ContentTemplate>
                                            </ajaxToolkit:Accordion>
                                        </td>
                                        <td id="tblFulfillmentsCarParams" class="tblFulfillmentsCarParams" style="width: 950px; padding-left: 10px; vertical-align: top;" align="left">
                                            <h1>
                                                <asp:Label runat="server" ID="lblEventDescriptionTitle"></asp:Label></h1>

                                            <cc1:BusinessEvent runat="server" ID="BusinessEvents" ShowHeader="false" ShowComment="true"
                                                UILocation="Fulfillment" ShowDates="false" ShowEventHeading="true"></cc1:BusinessEvent>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div runat="server" id="divIntegrationData">
                                <h2>
                                    <asp:Literal ID="litIntegrationData" Text="<%$ Resources: OrganizationManagement, IntegrationData %>" runat="server" />
                                </h2>
                                <div class="greyblock">
                                    <div style="overflow: hidden">
                                        <div style="overflow: hidden; float: left">
                                            <table>
                                                <tr>
                                                    <td>
                                                        <asp:Literal ID="litFedexBrandIDINS" Text="<%$ Resources: OrganizationManagement, FedexBrandIDINS %>" runat="server" /></td>
                                                    <td>
                                                        <asp:TextBox ID="txtFedexBrandIdINS" runat="server" Width="250px"></asp:TextBox></td>
                                                    <td>
                                                        <asp:Literal ID="litFedexBrandIDMW" Text="<%$ Resources: OrganizationManagement, FedexBrandIDMW %>" runat="server" /></td>
                                                    <td>
                                                        <asp:TextBox ID="txtFedexBrandIdMW" runat="server" Width="250px"></asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Literal ID="litInsInvOwner" Text="<%$ Resources: OrganizationManagement, InsInvOwner %>" runat="server" /></td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlINSInvOwner" runat="server" Width="250px"></asp:DropDownList></td>
                                                    <td>
                                                        <asp:Literal ID="litMWInvOwner" Text="<%$ Resources: OrganizationManagement, MWInvOwner %>" runat="server" /></td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlMWInvOwner" runat="server" Width="250px"></asp:DropDownList></td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <h2>
                                <asp:Literal ID="litOtherShippingInformation" runat="server" />
                            </h2>
                            <div class="greyblock">
                                <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                                    <tr>
                                        <td align="right" style="width: 200px">
                                            <asp:Literal ID="m_litActivationNumber" runat="server"
                                                Text="<%$ Resources: OrganizationManagement, ActivationNumberColonLabel %>" />
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtActivationNumber" runat="server" Width="100px"></asp:TextBox>
                                        </td>
                                        <td align="right" style="width: 200px"></td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 200px">
                                            <asp:Literal ID="m_litCODCharges" runat="server" Text="<%$ Resources: OrganizationManagement, CODChargesLabel %>" />
                                            (<%=CurrencyData.CurrencySymbol%>):
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtCODCharges" runat="server" Width="50px"></asp:TextBox>
                                            <asp:RangeValidator ID="m_rvCODCharges" runat="server" ControlToValidate="txtCODCharges"
                                                Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources: OrganizationManagement, CODChargesErrorLabel %>"
                                                ToolTip="<%$ Resources: OrganizationManagement, EnterMoneyValue %>" MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True"
                                                Type="Double"></asp:RangeValidator>
                                        </td>
                                        <td align="right" style="width: 215px">
                                            <asp:Literal ID="m_litActivationProcedures" runat="server"
                                                Text="<%$ Resources: OrganizationManagement, ActivationProceduresColonLabel %>" />
                                        </td>
                                        <td style="width: 335px">
                                            <asp:TextBox ID="txtActivationProcedures" runat="server" TextMode="MultiLine" Width="215px"
                                                Height="50px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 200px">
                                            <asp:Literal ID="m_litOTAProcedures" runat="server" Text="<%$ Resources: OrganizationManagement, OTAProceduresColonLabel %>" />
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtOTAProcedures" runat="server" TextMode="MultiLine" Width="215px"
                                                Height="50px"></asp:TextBox>
                                        </td>
                                        <td align="right" style="width: 215px">
                                            <asp:Literal ID="m_litURLProcessDesc" runat="server" Text="<%$ Resources: OrganizationManagement, URLProcessDescriptionColonLabel %>" />
                                        </td>
                                        <td style="width: 335px">
                                            <asp:TextBox ID="txtURLProcessDescription" runat="server" Width="200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                      <tr>
                                        <td align="right" style="width: 200px">
                                            <asp:Label ID="lblReturnShippingAgent" runat="server" Text="<%$ Resources: OrganizationManagement, ReturnShippingAgentLabel %>" />
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlReturnShippingAgent" runat="server" Width="115px" />
                                        <td align="right" style="width: 215px">
                                            <asp:Label runat="server" Text="<%$ Resources: OrganizationManagement, EnvelopeSkuLabel %>" ID="m_litEnvelopeSku" />
                                        </td>
                                        <td style="width: 335px">
                                            <asp:TextBox runat="server" ToolTip="<%$ Resources: OrganizationManagement, EnvelopeSkuInfoLabel %>" Width="200px"
                                                ID="txtEnvelopeSku" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 200px">
                                            <asp:Label ID="lblCashCardProvider" runat="server" Text="<%$ Resources: OrganizationManagement, CashCardProviderLabel %>" />
                                        </td>
                                        <td>
                                           <asp:DropDownList ID="ddlCashCardProvider" runat="server" Width="115px" />
                                        </td>
                                        <td align="right" style="width: 215px">
                                            <asp:Label runat="server" Text="<%$ Resources: OrganizationManagement, SIMNumberColonLabel %>" ID="m_litSIMNumber" />
                                        </td>
                                        <td style="width: 335px">
                                            <asp:TextBox runat="server" ToolTip="<%$ Resources: OrganizationManagement, SIMNumberInfoLabel %>" Width="200px"
                                                ID="txtSIMNumber" />
                                        </td>
                                    </tr>
                                  

                                    <tr>
                                        <td align="right" style="width: 200px">
                                            <asp:Label runat="server" Text="<%$ Resources: OrganizationManagement, FulfillmentOrderDynamicComponentLabel %>" ID="m_lblFulfillmentOrderComponent" />
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlFulfillmentOrderComponent" runat="server" Width="200px" />
                                        </td>
                                        <td align="right" style="width: 215px">
                                            <asp:Label runat="server" Text="<%$ Resources: OrganizationManagement, CollateralSkuLabel %>" ID="m_litCollateralSku" />
                                        </td>
                                        <td style="width: 335px">
                                            <asp:TextBox runat="server" ToolTip="<%$ Resources: OrganizationManagement, CollateralSkuInfoLabel %>" Width="200px"
                                                ID="txtCollateralSku" />
                                        </td>
                                    </tr>

                                </table>
                                <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                                    <tr>
                                        <td align="right" style="width: 165px" nowrap="nowrap">
                                            <asp:Literal ID="m_litShipper" runat="server" Text="<%$ Resources: OrganizationManagement, ShipperColonLabel %>" />
                                        </td>
                                        <td style="width: 335px" nowrap="nowrap">
                                            <asp:DropDownList ID="ddlShipper" runat="server" Width="65px">
                                                <asp:ListItem Text="<%$ Resources: OrganizationManagement, NoneLabel %>"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 215px" nowrap="nowrap">
                                            <asp:Literal ID="m_litShippingMethod" runat="server" Text="<%$ Resources: OrganizationManagement, ShippingMethodConlonLabel %>" />
                                        </td>
                                        <td nowrap="nowrap">
                                            <asp:DropDownList ID="ddlShippingMthd" runat="server" Width="95px">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 165px">
                                            <asp:Literal ID="m_litShipperCharges" runat="server" Text="<%$ Resources: OrganizationManagement, ShipperChargesLabel %>" />
                                        </td>
                                        <td style="width: 335px">
                                            <asp:TextBox ID="txtShipperCharges" runat="server" Width="50px"></asp:TextBox>
                                            <asp:RangeValidator ID="m_rvShipperCharges" runat="server" ControlToValidate="txtShipperCharges"
                                                Text="<%$ Resources:Default, ValidatorText %>" ErrorMessage="<%$ Resources: OrganizationManagement, ShipperChargesErrorLabel %>"
                                                ToolTip="<%$ Resources: OrganizationManagement, EnterMoneyValue %>" MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True"
                                                Type="Double" Display="Dynamic"></asp:RangeValidator>
                                        </td>
                                        <td align="right" style="width: 215px">
                                            <asp:Localize ID="Localize1" runat="server" Text="<%$ Resources: OrganizationManagement, OvernightShippingChargeLabel %>" />
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtOvernightShippingCharge" runat="server" Width="50px" />
                                            <asp:RangeValidator ID="m_rvOvernightShippingCharge" runat="server" Text="<%$ Resources:Default, ValidatorText %>"
                                                ErrorMessage="<%$ Resources: OrganizationManagement, OvernightShippingChargeErrorLabel %>"
                                                ControlToValidate="txtOvernightShippingCharge" MaximumValue="1000000" MinimumValue="0"
                                                ToolTip="<%$ Resources: OrganizationManagement, EnterMoneyValue %>" Type="Double" Display="Dynamic">
                                            </asp:RangeValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <br />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            
                        <%--Payment Provider Information--%>
                        <div class="tabPanelFix" id="divPaymentProviderInformation" runat="server">
                            <h2>
                                <asp:Literal ID="lblPatProviderInfo" runat="server" Text="<%$ Resources: OrganizationManagement, PaymentProviderHeader %>" />
                            </h2>
                            <div class="greyblock">
                                <asp:GridView ID="grdBrightStarPaymentInfo" OnRowDataBound="grdBrightStarPaymentInfo_OnRowDataBound" runat="server" AutoGenerateColumns="False" RowStyle-VerticalAlign="Top" Width="100%">
                                    <Columns>
                                        <%--ID--%>
                                        <asp:TemplateField >
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litID" Text="<%$ Resources: OrganizationManagement, ID %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblID" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                        <%--MerchantId--%>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litMerchantId" Text="<%$ Resources: OrganizationManagement, MerchantID %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblMerchantId" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <%--BusinessUnit--%>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litBusinessUnit" Text="<%$ Resources: OrganizationManagement, BusinessUnit %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblBusinessUnit" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <%--ChargeType--%>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litChargeType" Text="<%$ Resources: OrganizationManagement, ChargeType %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblChargeType" runat="server"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <%--BinId--%>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litBinId" Text="<%$ Resources: OrganizationManagement, BinID %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblBinId" runat="server"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <%--Controls--%>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LblBPaymentInfoUpdate" Text="<%$ Resources: Default, LinkButtonUpdate %>" Width="20px" runat="server"
                                                    OnClick="LblBPaymentInfoUpdate_OnClick">

                                                </asp:LinkButton>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LblBPaymentInfoDelete" Text="<%$ Resources: Default, DeleteButtonLabel %>" OnClientClick="return ConfirmDelete()" Width="20px" runat="server"
                                                    OnClick="LblBPaymentInfoDelete_OnClick">
                                                </asp:LinkButton>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                    </Columns>
                                    <RowStyle VerticalAlign="Top" />
                                </asp:GridView>
                            </div>
                            <div style="text-align: center">  
                                <br />
                                <asp:Button ID="btnAddNewPP" Text="<%$ Resources: Default, ButtonAdd %>" Width="100px" runat="server"
                                    OnClick="btnPaymentInfoAdd_OnClick"></asp:Button>
                                <br />
                                <asp:Label runat="server" ID="lblPPErrorMsg" CssClass="failuremessage"></asp:Label>
                            </div>

                            <!-- Add/Update panel--------------------------->
                            <div>
                                <asp:Panel ID="pnlPPPopupWindow" runat="server" CssClass="pnlInventoryPopup">
                                    <asp:Panel ID="pnlPPPopupWindowHeader" runat="server" EnableViewState="false" CssClass="modalHeader">
                                        <table cellpadding="0" cellspacing="0" width="90%" style="margin: 0px;">
                                            <tr>
                                                <td style="margin: 0px; padding: 2px;">
                                                    <asp:Label ID="lblPPHeaderText" runat="server" EnableViewState="false" Text="<%$ Resources: OrganizationManagement, CarrierMerchantInfo %>" />
                                                </td>

                                                <td align="right" style="text-align: right; margin: 0px; padding: 2px;">
                                                    <asp:ImageButton ID="imgPPCloseTerm" runat="server" Height="18px" CausesValidation="false" ImageUrl="~/images/closeButton.png"
                                                        ToolTip="<%$ Resources: Default, ToolTipClose %>" Width="18px" CssClass="modalClose" OnClick="imgClosePP_OnClick" />
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                    <asp:Panel ID="pnlPPBody" runat="server" CssClass="modalContent">
                                        <table>
                                            <tr>
                                                <td colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="m_litMerchantIdP" Text="<%$ Resources: OrganizationManagement, MerchantID %>" runat="server" /></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtMerchantId"  MaxLength="100" runat="server" Width="150px"></asp:TextBox>
												</td>
                                            </tr>

                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="m_litBusinessUnitP" Text="<%$ Resources: OrganizationManagement, BusinessUnit %>" runat="server" />
												</td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtBusinessUnit" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
												</td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="m_litChargeTypeP" Text="<%$ Resources: OrganizationManagement, ChargeType %>" runat="server" /></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:DropDownList ID ="ddlChargeType" runat="server" Width="161px"></asp:DropDownList> 
												</td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="m_litBinIdP" Text="<%$ Resources: OrganizationManagement, BinID %>" runat="server" /></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtBinId" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
												</td>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;
                                                    <asp:HiddenField ID="hfPaymentInfo" runat="server"></asp:HiddenField>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;</td>
                                                <td>
                                                    <asp:Button ID="btnUpdatePP" runat="server" Text="<%$ Resources: Default, ButtonUpdate %>" OnClick="btnUpdatePP_OnClick" />
                                                    <asp:Button ID="btnInsertPP" runat="server" Text="<%$ Resources: Default, ButtonInsert %>" OnClick="btnInsertPP_OnClick" /></td>
                                                <td>
                                                    <asp:Button ID="btnClosePP" runat="server" ValidationGroup="UpdateCC" CausesValidation="false" Text="<%$ Resources: Default, ButtonClose %>" OnClick="btnPPClose_OnClick"></asp:Button></td>
                                                <td>&nbsp;</td>

                                            </tr>
                                            <tr>
                                                <td colspan="4">&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td colspan="4">

                                                    <asp:Literal ID="litPPL" runat="server"></asp:Literal>
                                                </td>

                                            </tr>
                                        </table>
                                    </asp:Panel>
                                </asp:Panel>
                                <asp:Button runat="server" EnableViewState="false" ID="hiddenTargetControlForModalPopup_PP"
                                    Style="display: none" />
                                <esecuritelhitscontrols:hitsmodalpopupextender runat="server" id="modalPopupWindowPP" targetcontrolid="hiddenTargetControlForModalPopup_PP"
                                    popupcontrolid="pnlPPPopupWindow" backgroundcssclass="modalBackground"
                                    popupdraghandlecontrolid="pnlPPPopupWindowHeader" />
                            </div>
                        </div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelGobalBusinessEvents" runat="server" HeaderText="<%$ Resources: Default, GlobalParametersLabel %>">
            <ContentTemplate>
                <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                    <ContentTemplate>
                        <div class="tabPanelFix">
                            <h2>
                                <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources: Default, GlobalParametersLabel %>" />
                            </h2>
                            <div class="greyblock">
                                <table>
                                    <tr>
                                        <td valign="top">
                                            <ajaxToolkit:Accordion
                                                ID="acrDynamicGlobalParams"
                                                runat="server"
                                                CssClass="accordion"
                                                HeaderCssClass="accordionHeader"
                                                HeaderSelectedCssClass="accordionHeaderSelected"
                                                ContentCssClass="accordionContent"
                                                OnItemDataBound="grdAcrDynamicGlobalParams_ItemDataBound">
                                                <HeaderTemplate>
                                                    <asp:Label ID="lbTitle" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, PanelTitle)%>'></asp:Label>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:GridView ID="grdAcrDynamicGlobalParams" runat="server"
                                                        ToolTip='<%# Container.DataItemIndex %>'
                                                        AutoGenerateColumns="False"
                                                        BackColor="White"
                                                        BorderColor="Black"
                                                        BorderStyle="Solid"
                                                        BorderWidth="1px"
                                                        ShowHeader="false"
                                                        ShowFooter="false">
                                                        <RowStyle HorizontalAlign="Left" VerticalAlign="Top" Font-Overline="False" Font-Size="X-Small"
                                                            Font-Strikeout="False" Font-Underline="False" BorderColor="Black" BorderStyle="Solid"
                                                            BorderWidth="1px" />
                                                        <HeaderStyle Font-Size="X-Small" Wrap="True" />
                                                        <Columns>
                                                            <asp:TemplateField>
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="lbtnBusinessGlobalEvents" runat="server"
                                                                        CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                                        CommandName='<%# "Default|" + DataBinder.Eval(Container.DataItem, "EventDescription")%>'
                                                                        OnCommand="lbtnGlobalBusinessEventType_Command"
                                                                        Text='<%# DataBinder.Eval(Container.DataItem, "EventShortName")%>'>
                                                                    </asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </ContentTemplate>
                                            </ajaxToolkit:Accordion>
                                        </td>
                                        <td id="tblGlobalParams" class="tblGlobalParams" style="width: 950px; padding-left: 10px; vertical-align: top;" align="left">
                                            <h1>
                                                <asp:Label runat="server" ID="lblGlobalEventDescriptionTitle"></asp:Label></h1>
                                            <cc1:BusinessEvent runat="server" ID="ucGlobalBusinessEvents" ShowHeader="false"
                                                UILocation="Global" ShowComment="true" ShowDates="false" ShowEventHeading="true"></cc1:BusinessEvent>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="tabPanelFix" id="divBrightStarInvOwner" runat="server">
                            <h2>
                                <asp:Literal ID="litBrightStarInventoryOwner" runat="server" Text="<%$ Resources: OrganizationManagement, BrightStarInventoryOwner %>" />
                            </h2>
                            <div class="greyblock">
                                <asp:GridView ID="grdBrightStarInventoryOwner" OnRowDataBound="grdBrightStarInventoryOwner_OnRowDataBound" runat="server" AutoGenerateColumns="False" RowStyle-VerticalAlign="Top" Width="100%">
                                    <Columns>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litCustomerEntityId" Text="<%$ Resources: OrganizationManagement, CustomerEntityId %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblCustomerEntityId" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litRemoteUserName" Text="<%$ Resources: OrganizationManagement, RemoteUserName %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblRemoteUserName" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField Visible="False">
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litRemoteUserPassword" Text="<%$ Resources: OrganizationManagement, RemoteUserPassword %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:TextBox TextMode="Password" ID="m_txtRemoteUserPassword" Enabled="False" runat="server"></asp:TextBox>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litRemoteToken" Text="<%$ Resources: OrganizationManagement, RemoteToken %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblRemoteToken" runat="server"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litLocationAppID" Text="<%$ Resources: OrganizationManagement, LocationAppID %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblLocationAppID" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="20%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litCatelogID" Text="<%$ Resources: OrganizationManagement, CatalogID %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblCatelogID" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LblBStarInvUpdate" Text="<%$ Resources: Default, LinkButtonUpdate %>" Width="20px" runat="server"
                                                    OnClick="LblBStarInvUpdate_OnClick">

                                                </asp:LinkButton>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LblBStarInvDelete" Text="<%$ Resources: Default, DeleteButtonLabel %>" OnClientClick="return ConfirmDelete()" Width="20px" runat="server"
                                                    OnClick="LblBStarInvDelete_OnClick">
                                                </asp:LinkButton>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                    </Columns>
                                    <RowStyle VerticalAlign="Top" />
                                </asp:GridView>
                            </div>
                            <div style="text-align: center">
                                <asp:Button ID="LblBStarInvInsert" Text="<%$ Resources: Default, ButtonAdd %>" Width="100px" runat="server"
                                    OnClick="LblBStarInvInsert_OnClick"></asp:Button>
                                <br />
                                <asp:Label runat="server" ID="lblInventoryMessage" CssClass="failuremessage"></asp:Label>
                            </div>
                            
                            <!-- GP Configuration ----------------------->
                            <h2>
                                <asp:Literal ID="lit_gpHeader" runat="server" Text="<%$ Resources: OrganizationManagement, LiteralGpHeader %>" />
                            </h2>
                            <div class="greyblock">
                                <asp:GridView ID="grdGpConfiguration" OnRowDataBound="grdGpConfiguration_OnRowDataBound" DataSourceID="odsGpConfigurationDataSource"
                                    runat="server" AutoGenerateColumns="False" RowStyle-VerticalAlign="Top" Width="100%" ShowHeaderWhenEmpty="True" ShowFooter="False">
                                    <Columns>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litLocation_Id" Text="<%$ Resources: OrganizationManagement, LocationCode %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblLocation_Code" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:Literal ID="m_litSendToGp" Text="<%$ Resources: OrganizationManagement, SendToGp %>" runat="server" />
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="m_lblSendToGp" runat="server"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lblGpUpdate" Text="<%$ Resources: Default, LinkButtonUpdate %>" Width="20px" runat="server" 
                                                    OnClick="lblGpUpdate_OnClick">
                                                </asp:LinkButton>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <br />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lblGpDelete" Text="<%$ Resources: Default, DeleteButtonLabel %>" Width="20px" runat="server" OnClientClick="return ConfirmDelete()"
                                                    OnClick="lblGpDelete_OnClick">
                                                </asp:LinkButton>
                                            </ItemTemplate>
                                            <ItemStyle Width="5%" />
                                        </asp:TemplateField>
                                    </Columns>
                                    <RowStyle VerticalAlign="Top" />
                                </asp:GridView>
                            </div>
                            <div style="text-align: center">
                                <asp:Button ID="btnGpAdd" Text="<%$ Resources: Default, ButtonAdd %>" Width="100px" runat="server"
                                    OnClick="btnGpAdd_OnClick"></asp:Button>
                                
                                <br />
                                <asp:Label runat="server" ID="lblGpErrorMsg" CssClass="failuremessage"></asp:Label>
                            </div>


                            <!-- Document Delivery starts ----------------------->
                            <h2>
                                <asp:Literal ID="hdrDocumentDeliveryGlobal" runat="server" Text="<%$ Resources: OrganizationManagement, DocumentDeliveryHeader %>" />
                            </h2>
                            <asp:UpdatePanel runat="server" ID="DocumentDeliveryGlobalUpdatePanel" UpdateMode="always">
                                <ContentTemplate>
                                    <div class="greyblock">
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td>
                                                    <uc:DocumentDelivery ID="ucDocumentDeliveryGlobal" runat="server" EnableValidation="false" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <!-- Document Delivery stops -------------------------->
                            <div>
                                <asp:Panel ID="pnlPopupWindow" runat="server" CssClass="pnlInventoryPopup">
                                    <asp:Panel ID="pnlPopupWindowHeader" runat="server" EnableViewState="false" CssClass="modalHeader">
                                        <table cellpadding="0" cellspacing="0" width="90%" style="margin: 0px;">
                                            <tr>
                                                <td style="margin: 0px; padding: 2px;">
                                                    <asp:Label ID="lblHeaderText" runat="server" EnableViewState="false" Text="<%$ Resources:OrganizationManagement, TitleUpdateBrightStarInventoryOwner%>" />
                                                </td>

                                                <td align="right" style="text-align: right; margin: 0px; padding: 2px;">
                                                    <asp:ImageButton ID="imgCloseTerm" runat="server" Height="18px" CausesValidation="false" ImageUrl="~/images/closeButton.png"
                                                        ToolTip="<%$ Resources: Default, ToolTipClose %>" Width="18px" CssClass="modalClose" OnClick="imgCloseTerm_OnClick" />
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                    <asp:Panel ID="pnlBody" runat="server" CssClass="modalContent">
                                        <table>
                                            <tr>
                                                <td colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litCustomerEntityId" runat="server" Text="<%$ Resources: OrganizationManagement, CustomerEntityId %>"></asp:Literal></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtCustomerEntityId" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litRemoteUserName" runat="server" Text="<%$ Resources: OrganizationManagement, RemoteUserName %>"></asp:Literal></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtRemoteUserName" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litRemotePwd" runat="server" Text="<%$ Resources: OrganizationManagement, RemoteUserPassword %>"></asp:Literal></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtRemotePwd" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litRemoreToken" runat="server" Text="<%$ Resources: OrganizationManagement, RemoteToken %>"></asp:Literal></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtRemoteToken" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litLocationAppID" runat="server" Text="<%$ Resources: OrganizationManagement, LocationAppID %>"></asp:Literal></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtLocationAppID" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litCatalogID" runat="server" Text="<%$ Resources: OrganizationManagement, CatalogID %>"></asp:Literal></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtCatalogID" MaxLength="100" runat="server" Width="150px"></asp:TextBox>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;
                                                    <asp:HiddenField ID="hdInventoryId" runat="server"></asp:HiddenField>
                                                </td>
                                            </tr>


                                            <tr>
                                                <td>&nbsp;</td>
                                                <td>
                                                    <asp:Button ID="btnUpdateBStarInv" runat="server" Text="<%$ Resources: Default, ButtonUpdate %>" OnClick="btnUpdateBStarInv_OnClick" />
                                                    <asp:Button ID="btnInsertBStarInv" runat="server" Text="<%$ Resources: Default, ButtonInsert %>" OnClick="btnInsertBStarInv_OnClick" /></td>
                                                <td>
                                                    <asp:Button ID="btnBStarInvClose" runat="server" ValidationGroup="UpdateCC" CausesValidation="false" Text="<%$ Resources: Default, ButtonClose %>" OnClick="btnBStarInvClose_OnClick"></asp:Button></td>
                                                <td>&nbsp;</td>

                                            </tr>
                                            <tr>
                                                <td colspan="4">&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td colspan="4">

                                                    <asp:Literal ID="ltlResults" runat="server"></asp:Literal>
                                                </td>

                                            </tr>
                                        </table>
                                    </asp:Panel>
                                </asp:Panel>
                                <asp:Button runat="server" EnableViewState="false" ID="hiddenTargetControlForModalPopup_New"
                                    Style="display: none" />
                                <esecuritelhitscontrols:hitsmodalpopupextender runat="server" id="modalPopupWindow" targetcontrolid="hiddenTargetControlForModalPopup_New"
                                    popupcontrolid="pnlPopupWindow" backgroundcssclass="modalBackground"
                                    popupdraghandlecontrolid="pnlPopupWindowHeader" />
                            </div>
                            
                            <!-- GP Configuration - modal popup window  -->
                            <div>
                                <asp:Panel ID="pnlGpPopupWindow" runat="server" CssClass="pnlInventoryPopup">
                                    <asp:Panel ID="pnlGpPopupWindowHeader" runat="server" EnableViewState="false" CssClass="modalHeader">
                                        <table cellpadding="0" cellspacing="0" width="90%" style="margin: 0px;">
                                            <tr>
                                                <td style="margin: 0px; padding: 2px;">
                                                    <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources: OrganizationManagement, LiteralGpHeader %>" />
                                                </td>

                                                <td align="right" style="text-align: right; margin: 0px; padding: 2px;">
                                                    <asp:ImageButton ID="imgBtnGpClose" runat="server" Height="18px" CausesValidation="false" ImageUrl="~/images/closeButton.png"
                                                        ToolTip="<%$ Resources: Default, ToolTipClose %>" Width="18px" CssClass="modalClose" OnClick="imgBtnGpClose_OnClick" />
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                    <asp:Panel ID="pnlGpPopupBody" runat="server" CssClass="modalContent">
                                        <table>
                                            <tr>
                                                <td colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litLocationId" Text="<%$ Resources: OrganizationManagement, LocationCode %>" runat="server" /></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:TextBox ID="txtLocationCode"  MaxLength="100" runat="server" Width="150px"></asp:TextBox>
												</td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Literal ID="litSendToGp" Text="<%$ Resources: OrganizationManagement, SendToGp %>" runat="server" /></td>
                                                <td style="text-align: left" colspan="3">
                                                    <asp:DropDownList ID ="ddlSendToGp" runat="server" Width="161px">
                                                        <asp:ListItem Text="<%$ Resources:Default, New %>" Value="6000"></asp:ListItem>
                                                        <asp:ListItem Text="<%$ Resources:Default, Yes %>" Value="6001"></asp:ListItem>
                                                        <asp:ListItem Text="<%$ Resources:Default, No %>" Value="6002"></asp:ListItem>
                                                    </asp:DropDownList> 
												</td>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;
                                                    <asp:HiddenField ID="hfGpId" runat="server"></asp:HiddenField>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;</td>
                                                <td>
                                                    <asp:Button ID="btnUpdateGP" runat="server" Text="<%$ Resources: Default, ButtonUpdate %>" OnClick="btnUpdateGP_OnClick" />
                                                    <asp:Button ID="btnInsertGP" runat="server" Text="<%$ Resources: Default, ButtonInsert %>" OnClick="btnInsertGP_OnClick" /></td>
                                                <td>
                                                    <asp:Button ID="btnGPClose" runat="server" ValidationGroup="UpdateCC" CausesValidation="false" Text="<%$ Resources: Default, ButtonClose %>" OnClick="btnGPClose_OnClick"></asp:Button></td>
                                                <td>&nbsp;</td>

                                            </tr>
                                        </table>
                                    </asp:Panel>
                                </asp:Panel>
                                <asp:Button ID="btnHtCGpPopUp" runat="server" EnableViewState="false" Style="display: none" />
                                <esecuritelhitscontrols:hitsmodalpopupextender runat="server" id="gpModalPopup" targetcontrolid="btnHtCGpPopUp"
                                    popupcontrolid="pnlGpPopupWindow" backgroundcssclass="modalBackground"
                                    popupdraghandlecontrolid="pnlGpPopupWindowHeader" />
                            </div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabServicePlan" runat="server" HeaderText="<%$ Resources: Default, ServicePlanParametersLabel %>">
            <ContentTemplate>
                <asp:UpdatePanel ID="upServicePlan" runat="server">
                    <ContentTemplate>
                        <div class="tabPanelFix">
                            <h2>
                                <asp:Literal ID="litServicePlan" runat="server" Text="<%$ Resources: Default, ServicePlanParametersLabel %>" />
                            </h2>
                            <div class="greyblock" style="overflow: auto; max-width: 1180px">
                                <table>
                                    <tr>
                                        <td>
                                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" Visible="true">
                                                <ProgressTemplate>
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Image ID="imgLoading" runat="server" ImageUrl="~/images/ajax-loader.gif" />
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblUpdateProgress" runat="server" Text="<%$ Resources: Default, LabelLoadingEllipses %>" ForeColor="Red"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ProgressTemplate>
                                            </asp:UpdateProgress>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>

                                            <asp:LinkButton runat="server" ID="lbChangeDefault" Text="<%$ Resources: Default, ChangeDefaultFamilyLabel %>" OnClick="lbChangeDefault_Click"></asp:LinkButton>&nbsp;&nbsp;
                                        
                                            <asp:LinkButton runat="server" ID="lbNotDisplay" Text="<%$ Resources: Default, SetNotDisplayLabel %>" OnClick="lbNotDisplay_OnClick"></asp:LinkButton>
                                        </td>

                                    </tr>
                                    <tr>
                                        <td valign="top">
                                            <asp:GridView ID="grdServicePlan" runat="server" OnRowDataBound="grdServicePlan_RowDataBound" OnRowCreated="grdServicePlan_RowCreated"
                                                AutoGenerateColumns="False" BackColor="White" BorderColor="Black" BorderStyle="Solid"
                                                DataKeyNames="CompanyPlanId" BorderWidth="1px">
                                                <RowStyle HorizontalAlign="Left" VerticalAlign="Top" Font-Overline="False" Font-Size="X-Small"
                                                    Font-Strikeout="False" Font-Underline="False" BorderColor="Black" BorderStyle="Solid"
                                                    BorderWidth="1px" />
                                                <HeaderStyle Font-Size="X-Small" Wrap="True" />
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Is Default" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:RadioButton ID="rbDefault" runat="server" GroupName="DefaultRbGroup" onclick="javascript:Selrdbtn(this.id)" />
                                                            <asp:Literal runat="server" ID="ltlDefaultSPId" Visible="False"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Is Not Displayable" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:CheckBox ID="cbDisplay" runat="server" />
                                                            <asp:Literal runat="server" ID="ltlDisplaySPId" Visible="False"></asp:Literal>
                                                        </ItemTemplate>

                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Wrap="false" HeaderText="NO">
                                                        <ItemTemplate>
                                                            <%# ((GridViewRow)Container).RowIndex + 1%>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Wrap="false" HeaderText="<%$ Resources: Default, PlanUpperLabel %>">
                                                        <ItemTemplate>
                                                            <asp:HyperLink ID="lnkServicePlan" runat="server"></asp:HyperLink>
                                                        </ItemTemplate>

                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderStyle-Wrap="false" HeaderText="<%$ Resources: Default, PremiumUpperLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblPrice" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderStyle-Wrap="false" HeaderText="<%$ Resources: Default, LowBoundUpperLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblLowBound" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderStyle-Wrap="false" HeaderText="<%$ Resources: Default, UpperBoundUpperLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblUpperBound" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderStyle-Wrap="false" HeaderText="<%$ Resources: Default, ContractTypeLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblContractType" Width="125px" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Wrap="true" HeaderText="<%$ Resources: Default, ContractPriceLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblContractPrice" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Wrap="false" HeaderText="<%$ Resources: ClaimsManagement, LabelClaimLimit %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblClaimLimit" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Wrap="false" HeaderText="<%$ Resources: Default, FeatureLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblFeature" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Wrap="false" HeaderText="<%$ Resources: Default, FeeLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblFee" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:BoundField DataField="AdditionalServices" ItemStyle-Wrap="true" HeaderText="<%$ Resources: Default, AdditionalServicesLabel %>" />
                                                    <asp:BoundField DataField="CarrierRatePlanName" HeaderText="<%$ Resources: Default, AliasLabel %>" />
                                                    <asp:BoundField DataField="RatePlanDuration" HeaderText="<%$ Resources: Default, DurationLabel %>" />
                                                    <asp:BoundField DataField="PeriodType" HeaderText="<%$ Resources: Default, BillingMethodLabel %>" />
                                                    <asp:BoundField DataField="StartDate" HtmlEncode="false" DataFormatString="{0:MM/dd/yyyy}"
                                                        HeaderText="<%$ Resources: Default, EffectiveStartLabel %>" />
                                                    <%--<asp:BoundField   DataField="EndDate" HtmlEncode="false" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Effective End" />--%>
                                                    <asp:TemplateField ItemStyle-Wrap="false" HeaderText="<%$ Resources: Default, EffectiveEndLabel %>">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblEndDate" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="Region" HeaderText="<%$ Resources: Default, RegionLabel %>" />
                                                </Columns>
                                                <RowStyle HorizontalAlign="Left" />
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:GridView>
                                        </td>
                                    </tr>

                                </table>
                                </td>
                                    </tr>
                               
                                </table>
                            </div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>        
    </ajaxToolkit:TabContainer>

    <h2>
        <asp:Literal ID="m_litNotesHistory" runat="server" Text="<%$ Resources: OrganizationManagement, NotesHistoryLabel %>" /></h2>
    <asp:GridView ID="m_gvOrgNotes" runat="server" AutoGenerateColumns="False" RowStyle-VerticalAlign="Top"
        OnRowDataBound="m_gvOrgNotes_RowDataBound" Width="100%">
        <Columns>
            <asp:TemplateField>
                <HeaderTemplate>
                    <asp:Literal ID="m_litDate" Text="<%$ Resources: Default, LabelDate %>" runat="server" />
                    <br />
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Label ID="m_lblDate" runat="server"></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="9%" />
            </asp:TemplateField>
            <asp:TemplateField>
                <HeaderTemplate>
                    <asp:Literal ID="m_litTime" Text="<%$ Resources: Default, LabelTime %>" runat="server" />
                    <br />
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Label ID="m_lblTime" runat="server"></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="9%" />
            </asp:TemplateField>
            <asp:TemplateField>
                <HeaderTemplate>
                    <asp:Literal ID="m_litNotes" Text="<%$ Resources: Default, NoteLabel %>" runat="server" />
                    <br />
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Label ID="m_lblNotes" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField>
                <HeaderTemplate>
                    <asp:Literal ID="m_litName" Text="<%$ Resources: Default, PersonLabel %>" runat="server" />
                    <br />
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Label ID="m_lblName" runat="server"></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="20%" />
            </asp:TemplateField>
            <asp:TemplateField>
                <HeaderTemplate>
                    <asp:Literal ID="m_litSource" Text="<%$ Resources: Default, SourceLabel %>" runat="server" />
                    <br />
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Label ID="m_lblSource" runat="server"></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="5%" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:LinkButton ID="m_lbDelete" runat="server" Text="<%$ Resources: Default, DeleteLabel %>"
                        Font-Underline="True" OnClick="m_lbDelete_Clicked" />
                </ItemTemplate>
                <ItemStyle Width="3%" />
            </asp:TemplateField>
        </Columns>
        <RowStyle VerticalAlign="Top" />
    </asp:GridView>
    <div class="greyblock">
        <span style="font-weight: bold;">
            <asp:Literal ID="m_litDate" runat="server" />
        </span>(<asp:Literal ID="m_litUserName" runat="server" />):
        <div style="text-align: center">
            <asp:TextBox ID="txtNotes" runat="server" TextMode="MultiLine" CssClass="notestb"></asp:TextBox>
        </div>
    </div>
    <div style="text-align: center">
        <asp:Button ID="m_btnUpdate" runat="server" CssClass="pagebutton" Text="<%$ Resources: Default, ButtonUpdate %>" OnClick="m_btnUpdate_Click" />
        <asp:Button ID="m_btnCancel" runat="server" CssClass="pagebutton" Text="<%$ Resources: Default, ButtonCancel %>" OnClick="m_btnCancel_Click"
            CausesValidation="false" />
    </div>
    <br />
    <cc1:ExtendedValidationSummary ID="m_extValidationSummaryBottom" runat="server" HeaderText="<%$ Resources: OrganizationManagement, GeneralCarrItemsUpdateLabel %>"
        ValidationGroup="OrganizationUpdateValidation" />
    
    <asp:ObjectDataSource ID="odsGpConfigurationDataSource" runat="server" SelectMethod="SelectGpConfiguration" TypeName="GpConfigurationDataSource" EnablePaging="False" >
    <SelectParameters>
    </SelectParameters>
</asp:ObjectDataSource>
</asp:Content>
