<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="System_CompanySettings, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register TagPrefix="cc1" Namespace="System.Web.UI" Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
<%@ Register Assembly="GroupRadioButton" Namespace="Vladsm.Web.UI.WebControls" TagPrefix="EM" %>


<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">


    <script type='text/javascript'>
        function changeValidationRule(e) {
            try { handleAPIStatusChange(e.target); } catch { }
        }

        function handleAPIStatusChange(source) {
            var disabled = false;
            for (x = 0; x < source.options.length; x++) {
                if (source.options[x].selected && source.options[x].value == 0)
                    disabled = true;
            }
            
            try { ValidatorEnable($get('<%= RFV_APILogin.ClientID %>'), !disabled); } catch { }
            //try { ValidatorEnable($get('<%= RFV_APIPassword.ClientID %>'), !disabled); } catch { }
            try { ValidatorEnable($get('<%= RFV_OAuth2TokenUrl.ClientID %>'), !disabled); } catch { }

            try { $get('<%= div_auth_settings.ClientID %>').style.display = disabled ? 'none' : ''; } catch { }
            try { $get('<%= div_rest_api_settings.ClientID %>').style.display = disabled ? 'none' : ''; } catch { }
            try { $get('<%= div_whmcs_settings.ClientID %>').style.display = disabled ? 'none' : ''; } catch { }
        }

        function Generate(targetControlId, HfControlId, strLength) {
            document.getElementById(targetControlId).innerHTML = GenerateRandomStr(strLength).toUpperCase();
            document.getElementById(targetControlId).innerText = document.getElementById(targetControlId).innerHTML;
            $('#' + HfControlId).attr('value', document.getElementById(targetControlId).innerHTML);
            return false;
        }
    </script>

    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <ajax:UpdatePanel ID="UP_Documents" runat="server">
                    <ContentTemplate>
                        <EM:TabContainer ID="TC_Settings" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_CompanyProfile" runat="server" HeaderText='<%$ Resources:Content,M0061%>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row" id="tblAdminInfo" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.String275%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,GN00001132%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_FName" runat="server" MaxLength="60" data-label="First Name">
                                                                        </asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_FName" runat="server" ControlToValidate="TxBx_FName"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company">
                                                                        </asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,GN00001133%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_LName" runat="server" MaxLength="60" data-label="Last Name">
                                                                        </asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_LName" runat="server" ControlToValidate="TxBx_LName"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company">
                                                                        </asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                                        <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,GN0000878%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AAddress" runat="server" MaxLength="60" data-label="Address">
                                                                        </asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_AAddress" runat="server" ControlToValidate="TxBx_AAddress"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company">
                                                                        </asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>


                                                        <div class="row" runat="server" id="Div_HouseNumber" visible="false">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal54" runat="server" Text='<%$ Resources:Content,HouseNumber %>' EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_HouseNumber" runat="server" MaxLength="7" CssClass="allowonlyintegervalues" data-label="House Number"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <asp:RegularExpressionValidator ID="REV_HouseNumber" runat="server"
                                                                    ControlToValidate="TxBx_HouseNumber" ErrorMessage='<%# Resources.Content.OnlyIntegerValues %>'
                                                                    ValidationExpression="^[0-9]*$" ValidationGroup="Company">
                                                                </asp:RegularExpressionValidator>
                                                                <asp:RequiredFieldValidator ID="RFV_HouseNumber" runat="server" ControlToValidate="TxBx_HouseNumber"
                                                                    Display="None" ValidationGroup="Company" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="row" runat="server" id="Div_HouseNumberAddition" visible="false">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal89" runat="server" Text='<%$ Resources:Content,HouseNumberAddition %>' EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_HouseNumberAddition" runat="server" MaxLength="4" data-label="House Number Addition"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>



                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,GN00001136%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AAddress2" runat="server" MaxLength="60" data-label="Address2">
                                                                        </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,GN0000880%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_ACity" runat="server" MaxLength="60" data-label="City">
                                                                        </asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_ACity" runat="server" ControlToValidate="TxBx_ACity"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company">
                                                                        </asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_AState" runat="server" style="display: none">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,DEV1130%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_AState" runat="server" AutoPostBack="True" data-label="State">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_AProvince" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,GN00001313%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AProvince" runat="server" MaxLength="60" data-label="Province">
                                                                        </asp:TextBox>
                                                                        <asp:RequiredFieldValidator runat="server" ID="RFV_AProvince" ControlToValidate="TxBx_AProvince"
                                                                            ValidationGroup="Company" Display="none" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,GN00001522%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AZip" runat="server" MaxLength="10" data-label="Zip">
                                                                        </asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_AZip"
                                                                            FilterType="LowercaseLetters,Numbers,UppercaseLetters,Custom" ValidChars="-">
                                                                        </EM:FilteredTextBoxExtender>
                                                                        <asp:RequiredFieldValidator ID="RFV_AZip" runat="server" Display="None" SetFocusOnError="True"
                                                                            ValidationGroup="Company" ControlToValidate="TxBx_AZip">
                                                                        </asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,GN0000882%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDl_ACountry" runat="server" AutoPostBack="True" data-label="Country">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:Content,GN00012%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CountryCode" MaxLength="4" runat="server" data-label="Country Code"></asp:TextBox>)
                                        <%--                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server" TargetControlID="TxBx_CountryCode"
                                            FilterType="Numbers">
                                        </EM:FilteredTextBoxExtender>--%>
                                                                        <asp:RegularExpressionValidator ID="REV_CountryCode" runat="server" Display="None"
                                                                            ErrorMessage="<%$Resources:Content,DGN1110069%>" ValidationExpression="^([+]?([0-9]{1,3}))$"
                                                                            ValidationGroup="Company" ControlToValidate="TxBx_CountryCode" SetFocusOnError='true'>
                                                                        </asp:RegularExpressionValidator>
                                                                        <asp:RequiredFieldValidator ID="RFV_CountryCode" runat="server" ControlToValidate="TxBx_CountryCode"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company">
                                                                        </asp:RequiredFieldValidator>
                                                                        <asp:TextBox ID="TxBx_APhone" runat="server" MaxLength="20" data-label="Phone">
                                                                        </asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_APhone" runat="server" ControlToValidate="TxBx_APhone"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company">
                                                                        </asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110070%>'
                                                                            ID="RegularExpressionValidator4" runat="server" ControlToValidate="TxBx_APhone"
                                                                            Display="None" SetFocusOnError="True" ValidationExpression="^[\s0-9()-]{5,20}$"
                                                                            ValidationGroup="Company">
                                                                        </asp:RegularExpressionValidator>
                                                                        <%--<EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server" TargetControlID="TxBx_Phone"
                                            FilterType="Numbers">
                                        </EM:FilteredTextBoxExtender>--%>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal36" runat="server" Text="<%$ Resources:Content,GN00001524%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Mobile" runat="server" MaxLength="20" data-label="Mobile">
                                                                        </asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="TxBx_Mobile"
                                                                            FilterType="Numbers,Custom" ValidChars="+ - ( ) \s">
                                                                        </EM:FilteredTextBoxExtender>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal37" runat="server" Text="<%$ Resources:Content,GN0000886%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TextBox8" runat="server" MaxLength="20" data-label="Fax">
                                                                        </asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="TextBox8"
                                                                            FilterType="Numbers,Custom" ValidChars="+-() ">
                                                                        </EM:FilteredTextBoxExtender>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="display: none;">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,GN00001527%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDl_ALocale" runat="server" data-label="Locale">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="body">

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00001077%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Name" runat="server" MaxLength="200" data-label="Company Name"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_Name"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN0000981%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_URL" runat="server" Text="http://" data-label="URL"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_URL"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator Display="none" ValidationExpression="^(ht|f)tp(s?)://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$"
                                                                            ValidationGroup="Company" ControlToValidate="TxBx_URL" ID="REV_Txt_URL" runat="server"
                                                                            ErrorMessage='<%$ Resources:Content,String309%>'></asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal45" runat="server" Text="<%$ Resources:Content,GN0000878%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Address" runat="server" MaxLength="60" data-label="Address1"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_Address"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal46" runat="server" Text="<%$ Resources:Content,GN00001136%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Address2" runat="server" MaxLength="60" data-label="Address2"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN0000880%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_City" runat="server" data-label="City"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxBx_City"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_State" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,DEV1130%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_State" runat="server" data-label="State">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_Province" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,GN00001313%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Province" runat="server" MaxLength="60" data-label="Province"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_Province" runat="server" ControlToValidate="TxBx_Province"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN00001522%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Zip" MaxLength="10" runat="server" data-label="Zip"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_Zip"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server" TargetControlID="TxBx_Zip"
                                                                            FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars="- ">
                                                                        </EM:FilteredTextBoxExtender>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,GN0000882%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Country" AutoPostBack="true" runat="server" data-label="Country">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN00012%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Phone" MaxLength="20" runat="server" data-label="Phone"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TxBx_Phone"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110070%>'
                                                                            ID="RegularExpressionValidator5" runat="server" ControlToValidate="TxBx_Phone"
                                                                            Display="None" SetFocusOnError="True" ValidationExpression="^([+]?([\s0-9()-]{1,20}))$"
                                                                            ValidationGroup="Company">
                                                                        </asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,GN0000886%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Fax" runat="server" data-label="Fax"></asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server" FilterType="Numbers,Custom"
                                                                            ValidChars="+-() " TargetControlID="TxBx_Fax">
                                                                        </EM:FilteredTextBoxExtender>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div class="row"> <div class="col-sm-3 col-xs-12 row-label">
                <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN00001082%>" />:
            </div> <div class="col-sm-4 col-xs-12"><div class="form-group"><div class="form-line">
                <asp:TextBox ID="TxBx_Date" runat="server"></asp:TextBox>
            </div></div></div></div>--%>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,GN00001083%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_BillingPhone" MaxLength="20" runat="server" data-label="Biiling Phone"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TxBx_BillingPhone"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110070%>'
                                                                            ID="RegularExpressionValidator6" runat="server" ControlToValidate="TxBx_BillingPhone"
                                                                            Display="None" SetFocusOnError="True" ValidationExpression="^([+]?([\s0-9()-]{1,20}))$"
                                                                            ValidationGroup="Company">
                                                                        </asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN00001084%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SalesPhone" MaxLength="20" runat="server" data-label="Sales Phone"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TxBx_SalesPhone"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110070%>'
                                                                            ID="RegularExpressionValidator7" runat="server" ControlToValidate="TxBx_SalesPhone"
                                                                            Display="None" SetFocusOnError="True" ValidationExpression="^([+]?([\s0-9()-]{1,20}))$"
                                                                            ValidationGroup="Company">
                                                                        </asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,GN00001085%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SupportPhone" MaxLength="20" runat="server" data-label="Support Phone"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TxBx_SupportPhone"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110070%>'
                                                                            ID="RegularExpressionValidator8" runat="server" ControlToValidate="TxBx_SupportPhone"
                                                                            Display="None" SetFocusOnError="True" ValidationExpression="^([+]?([\s0-9()-]{1,20}))$"
                                                                            ValidationGroup="Company">
                                                                        </asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal110" runat="server" Text="<%$ Resources:Content,SupportPhoneMobile%>"
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SupportMobile" runat="server" data-label="Support Mobile"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN000202%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_BillingEmail" MaxLength="128" runat="server" data-label="Billing Email"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="TxBx_BillingEmail"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator1" ValidationGroup="Company"
                                                                            SetFocusOnError="true" ControlToValidate="TxBx_BillingEmail" runat="server" ValidationExpression="<%$ Resources:MPRegex,EmailAddress%>"
                                                                            Display="None" ErrorMessage='<%$ Resources:Content,GN0000592 %>'></asp:RegularExpressionValidator>--%>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN000203%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SalesEmail" MaxLength="128" runat="server" data-label="Sales Email"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="TxBx_SalesEmail"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator2" ValidationGroup="Company"
                                                                            SetFocusOnError="true" ControlToValidate="TxBx_SalesEmail" runat="server" ValidationExpression="<%$ Resources:MPRegex,EmailAddress%>"
                                                                            Display="None" ErrorMessage='<%$ Resources:Content,GN0000592 %>'></asp:RegularExpressionValidator>--%>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN000204%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SupportEmail" MaxLength="128" runat="server" data-label="Support Email"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="TxBx_SupportEmail"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                        <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator3" ValidationGroup="Company"
                                                                            SetFocusOnError="true" ControlToValidate="TxBx_SupportEmail" runat="server" ValidationExpression="<%$ Resources:MPRegex,EmailAddress%>"
                                                                            Display="None" ErrorMessage='<%$ Resources:Content,GN0000592 %>'></asp:RegularExpressionValidator>--%>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,GN00001086%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_BillingSign" TextMode="MultiLine" CssClass="col-xs-12" Rows="5" runat="server" data-label="Billing Signature"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TxBx_BillingSign"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,GN00001087%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_SalesSign" TextMode="MultiLine" CssClass="col-xs-12" Rows="5" runat="server" data-label="Sales Signature"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="TxBx_SalesSign"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,GN00001088%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_SupportSign" TextMode="MultiLine" CssClass="col-xs-12" Rows="5" runat="server" data-label="Support Signature"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TxBx_SupportSign"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Company"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal53" runat="server" Text="<%$ Resources:Content,SPT002978%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_Disclaimer" runat="server" data-label="Append Disclaimer in Emails" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_Disclaimer" runat="server" style="display: none;">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal52" runat="server" Text="<%$ Resources:Content,DGN1110556%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_Disclaimer" TextMode="MultiLine" CssClass="col-xs-12" Rows="8" runat="server" data-label="Disclaimer"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_Disclaimer" runat="server" ControlToValidate="TxBx_Disclaimer"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Company" Enabled="false"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_MBTemplate" runat="server" style="display: none;">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal71" runat="server" Text="<%$ Resources:Content,FAM00136%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_MBTemplate" runat="server" data-label="Default Mailbox Template" />
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Save" ValidationGroup="Company" SkinID="saveButton" runat="server"
                                                                    Text='<%$ Resources:Content,GN0000281 %>' OnClick="Btn_Save_Click" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Culture" runat="server" HeaderText='<%$ Resources:Content, SPT002062 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <%--<ajax:UpdatePanel ID="UP_Culture" runat="server">
        <ContentTemplate>--%>
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false" DefaultButton="Btn_Save1">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,GN00001527%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Locale" runat="server" AutoPostBack="true" data-label="Locale">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                *
                                    <asp:Literal ID="Literal134" runat="server" Text="<%$ Resources:Content,Lync179%>"
                                        EnableViewState="false">
                                    </asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_TimeZone" runat="server" data-label="Time Zone">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,GN00003000%>" />
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,GN00001570%>" />
                                                                </label>
                                                            </div>
                                                        </div>

                                                        <asp:GridView ID="GV_Languages" runat="server" CssClass="table table-bordered table-hover table-responsive table-striped" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            AllowSorting="true" AllowPaging="False" AutoGenerateColumns="False">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN000170%>"
                                                                    HeaderStyle-CssClass="col-xs-7">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Lbl_Name" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001568 %>"
                                                                    HeaderStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:CheckBox CssClass="option-menu" Text=" " ID="CB_Enabled" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001569%>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LB_SetAsDefault" SkinID="linkButtondefault" runat="server" Text="<%$ Resources:Content,GN00001569 %>" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start
                                                            <PagerTemplate>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal2" Text="<%$ Resources:Content,String307 %>" runat="server" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <asp:Label ID="lbl_FirstPageRow" runat="server" />&nbsp;-
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <asp:Label ID="lbl_LastpageRow" runat="server" />
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <asp:Literal ID="lbl_of" Text="<%$ Resources:Content,String308 %>" runat="server" />
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <asp:Label ID="lbl_TotalRows" runat="server" />
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">

                                                                        <asp:LinkButton CausesValidation="false" CommandName="Pager" CommandArgument="First"
                                                                            ID="lb_First" runat="server">
                                                                        </asp:LinkButton>&nbsp;
                                                            <asp:LinkButton CausesValidation="false" CommandName="Pager" CommandArgument="Prev"
                                                                ID="lb_Previous" runat="server">
                                                            </asp:LinkButton>&nbsp;
                                                            <asp:LinkButton Text="<%$ Resources:Content,GN00001032%>" ID="lb_No1" CommandName="Pager"
                                                                CommandArgument="1" runat="server" />&nbsp;
                                                            <asp:LinkButton Text="<%$ Resources:Content,GN00001033%>" ID="lb_No2" CommandName="Pager"
                                                                CommandArgument="2" runat="server" />&nbsp;
                                                            <asp:LinkButton Text="<%$ Resources:Content,GN00001034%>" ID="lb_No3" CommandName="Pager"
                                                                CommandArgument="3" runat="server" />&nbsp;
                                                            <asp:LinkButton CausesValidation="false" CommandName="Pager" CommandArgument="Next"
                                                                ID="lb_Next" runat="server">
                                                            </asp:LinkButton>&nbsp;
                                                            <asp:LinkButton CausesValidation="false" CommandName="Pager" CommandArgument="Last"
                                                                ID="lb_Last" runat="server">
                                                            </asp:LinkButton>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <asp:Literal ID="Literal1" Text="<%$ Resources:Content,AD0000302%>" runat="server" />
                                                                            <div>
                                                                                <asp:DropDownList ID="ddl_RecordsPerPage" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN00001051%>" Value="20"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN00001182%>" Value="40"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN00001202%>" Value="60"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN00001222%>" Value="80"></asp:ListItem>

                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>

                                                                        <div>
                                                                            <asp:LinkButton ID="lb_Change_RowsPerChange" CommandName="Pager" CommandArgument="Change_RowsPerChange"
                                                                                runat="server" Text="<%$ Resources:Content,GN0000385%>"></asp:LinkButton>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </PagerTemplate>
                                                            PagerTemplate End--%>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="Td_FormatPreview" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3><%= Resources.Content.String1026%>  </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,String1027%>" />:
                                                                </div>
                                                                <div class="col-sm-10 col-xs-12" id="Td_Number" runat="server"></div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,GN0000952%>" />:
                                                                </div>
                                                                <div class="col-sm-10 col-xs-12" id="Td_Currency" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,GN0000779%>" />:
                                                                </div>
                                                                <div class="col-sm-10 col-xs-12" id="Td_Time" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal42" runat="server" Text="<%$ Resources:Content,String1028%>" />:
                                                                </div>
                                                                <div class="col-sm-10 col-xs-12" id="Td_ShortDate" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal43" runat="server" Text="<%$ Resources:Content,String1029%>" />:
                                                                </div>
                                                                <div class="col-sm-10 col-xs-12" id="Td_LongDate" runat="server">
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Save1" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <%--</ContentTemplate>
                        </ajax:UpdatePanel> --%>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Personalization" runat="server" HeaderText='<%$ Resources:Content, SPT002063 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab2" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false" DefaultButton="Btn_Save2">
                                        <div class="card">
                                            <div class="body">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Ltrl_CPSettings" runat="server" Text="<%$Resources:Content,GN0000979 %>"></asp:Literal>
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,SPT002064%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CPBName" MaxLength="100"
                                                                            runat="server" data-label="Control Panel Name"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal80" runat="server" Text='<%$ Resources:Content,StrPortalTItle %>' />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID='TxBx_PortalTitle' runat='server' data-label="Portal Title"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,GN00001077%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CName" MaxLength="200" runat="server" data-label="Company Name"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,SPT002066%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CWURL" MaxLength="200" runat="server" data-label="Company Website URL"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row m-b-10">
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:Literal ID="Ltrl_ShowLogoOnHeader" runat="server" Text="<%$ Resources:Content,StrShowLogonOnCPHeader %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:CheckBox ID="CB_ShowLogoOnHeader" runat="server" Text=" " data-label="Show Logo on Panel Header" />
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_CPLogo" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,SPT002067%>" />
                                                                <span class="font-normal">(250px x 45px)</span>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="Rbl_CompanyLogo" runat="server" AutoPostBack="true" RepeatColumns="2" data-label="Logo Option">
                                                                        <asp:ListItem Text="<%$ Resources:Content,LogoURL%>" Value="0" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="<%$ Resources:Content,UploadLogo%>" Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                    <div id="Div_ImageUrl" runat="server">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CPLogo" MaxLength="200" runat="server" data-label="Logo URL"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div_UploadLogo" runat="server" visible="false">
                                                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                            <span class="btn btn-primary btn-file">
                                                                                <span class="fileupload-new"><%= Resources.Content.SelectLogo%></span>
                                                                                <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                <asp:FileUpload ID="Img_Upload" runat="server" />
                                                                            </span>
                                                                            <span class="thumbnail hide"></span>
                                                                            <span class="fileupload-preview"></span>
                                                                            <a href="#" class="close fileupload-exists font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                                        </div>
                                                                        <asp:Image ID="Image_profilepic" runat="server" Width="250" Height="45" Visible="false" />
                                                                    </div>
                                                                </div>

                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                <asp:Literal ID="Literal74" runat="server" Text="<%$ Resources:Content,StrFavicon %>" />
                                                                <span class="font-normal">(16px x 16px)</span>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="Rbl_FaviconLogo" runat="server" AutoPostBack="true" RepeatColumns="2" data-label="Favicon Option">
                                                                        <asp:ListItem Text="<%$ Resources:Content,StrFaviconUrl%>" Value="0" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="<%$ Resources:Content,StrUploadFavicon%>" Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                    <div id="Div_FaviconUrl" runat="server">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_FaviconLogo" MaxLength="200" runat="server" data-label="Favicon URL"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div_UploadFaviconLogo" runat="server" visible="false">
                                                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                            <span class="btn btn-primary btn-file">
                                                                                <span class="fileupload-new"><%= Resources.Content.StrSelectIcon%></span>
                                                                                <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                <asp:FileUpload ID="Img_FaviconUpload" runat="server" />
                                                                            </span>
                                                                            <span class="thumbnail hide"></span>
                                                                            <span class="fileupload-preview"></span>
                                                                            <a href="#" class="close fileupload-exists font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                                        </div>
                                                                        <asp:Image ID="Image_FaviconLogo" runat="server" Width="96" Height="96" Visible="false" />
                                                                    </div>
                                                                </div>

                                                            </div>
                                                        </div>
                                                        <div class="row hide d-none btn-dummy">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                <asp:Literal ID="Literal47" runat="server" Text="<%$ Resources:Content,M001%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CopyRight" MaxLength="100" runat="server" data-label="Copyright Text"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="clearfix m-t-5"></div>
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal75" runat="server" Text="<%$Resources:Content,StrLoginPagesSettings %>"></asp:Literal>
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
		                                                        <asp:Literal ID="Literal78" runat="server" Text="<%$ Resources:Content,StrLoginLogo%>" />
                                                                <span class="font-normal">(400px x 45px)</span>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="Rbl_LoginLogo" runat="server" AutoPostBack="true" RepeatColumns="2" data-label="Login Logo Option">
                                                                        <asp:ListItem Text="<%$ Resources:Content,LogoURL%>" Value="0" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="<%$ Resources:Content,UploadLogo%>" Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                    <div id="Div_LoginImageUrl" runat="server">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_LoginLogo" MaxLength="200" runat="server" data-label="Login Logo URL"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div_UploadLoginLogo" runat="server" visible="false">
                                                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                            <span class="btn btn-primary btn-file">
                                                                                <span class="fileupload-new"><%= Resources.Content.SelectLogo%></span>
                                                                                <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                <asp:FileUpload ID="ImgLogin_Upload" runat="server" />
                                                                            </span>
                                                                            <span class="thumbnail hide"></span>
                                                                            <span class="fileupload-preview"></span>
                                                                            <a href="#" class="close fileupload-exists font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                                        </div>
                                                                        <asp:Image ID="Image_LoginLogo" runat="server" Width="400" Height="45" Visible="false" />
                                                                    </div>
                                                                </div>

                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,LoginBackground%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="Rbl_LoginBG" runat="server" AutoPostBack="true" RepeatColumns="2" data-label="Login Background Image Option">
                                                                        <asp:ListItem Text="<%$ Resources:Content,ImageUrl%>" Value="0" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="<%$ Resources:Content,UploadImage%>" Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                    <div id="Div_BackgroundUrl" runat="server">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CPLoginBackground" MaxLength="200" runat="server" data-label="Login Background Image URL"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div_UploadBackground" runat="server" visible="false">
                                                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                            <span class="btn btn-primary btn-file">
                                                                                <span class="fileupload-new"><%= Resources.Content.SelectBGImage%></span>
                                                                                <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                <asp:FileUpload ID="Bg_Upload" runat="server" />
                                                                            </span>
                                                                            <span class="thumbnail hide"></span>
                                                                            <span class="fileupload-preview"></span>
                                                                            <a href="#" class="close fileupload-exists font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                                        </div>
                                                                        <asp:Image ID="Image_BackgroundImage" runat="server" Width="96" Height="96" Visible="false" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal44" runat="server" Text='<%$ Resources:Content,StrHideLoginAsEndUserOption %>' />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:CheckBox ID="Cb_HideLoginAsEndUser" runat="server" Text=" " data-label="Hide End User Login Option" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="clearfix m-t-5"></div>
                                                <asp:Panel ID="Pnl_CustomerSettings" runat="server">
                                                    <div class="card">


                                                        <div class="header">
                                                            <h3>
                                                                <asp:Literal ID="Literal76" runat="server" Text="<%$Resources:Content,Spt002852 %>"></asp:Literal>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-4 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal79" runat="server" Text='<%$ Resources:Content,StrCCCPortalTItle %>' />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID='TxBx_CCCPortalTitle' runat='server' data-label="Customer Portal Title"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_CustomerNumberOption" runat="server">
                                                                <div class="col-sm-4 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltl_CustomCustomerNumber" runat="server" Text='<%$ Resources:Content,Spt002852%>' />:
                                                                </div>
                                                                <div class="col-sm-6 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBox ID="CB_PermenantDeleteCustomer" runat="server" Text='<%$ Resources:Content,CustPermenantDelConfigOptionStr%>' data-label="Permanent delete customer/reseller on cancellation" /><br />
                                                                        <br />
                                                                        <asp:CheckBox ID="CB_CustomCustomerNumber" runat="server" Text='<%$ Resources:Content,Spt002853%>'
                                                                            OnChange='ShowHideCustomTitle()' data-label="Show custom customer number" />
                                                                        <br />
                                                                        <br />
                                                                        <asp:CheckBox ID="CB_CompanyNameMandatory" runat="server" Text='<%$ Resources:Content,strCompanyNameMandatory%>' data-label="Company Name is mandatory" /><br />

                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_CustomerNumberTitle" runat="server">
                                                                <div class="col-sm-4 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal50" runat="server" Text='<%$ Resources:Content,USM0038 %>' />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID='TxBx_CustomerNumberTitle' runat='server' Text="<%$ Resources:Content,GN000924%>" data-label="Customer Number Title"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                        </div>
                                                    </div>

                                                    <div class="clearfix m-t-5"></div>
                                                </asp:Panel>
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal77" runat="server" Text="<%$Resources:Content,StrOtherSettings %>"></asp:Literal>
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal81" runat="server" Text='<%$ Resources:Content,StrEndUserPortalTItle %>' />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID='TxBx_EndUserPortalTitle' runat='server' data-label="End User Portal Title"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_SendCrashEmail" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                <asp:Literal ID="Ltrl_SendAppCrashEmailTo" runat="server" Text="<%$ Resources:Content,USM0055 %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SendCrashEmailTo" runat="server" ValidationGroup="sav2" data-label="Send application crash email to"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_SendCrashEmailTo" runat="server" ValidationGroup="sav2"
                                                                            ErrorMessage=" Send Application crash report to is a required field"
                                                                            SetFocusOnError="true" Display="None" ControlToValidate="TxBx_SendCrashEmailTo"></asp:RequiredFieldValidator>
                                                                       <%-- <asp:RegularExpressionValidator ID="REV_SendAppCrashEmailTo" Display="None" runat="server"
                                                                            ErrorMessage="<%$ Resources:Content,DGN1110038%>" ControlToValidate="TxBx_SendCrashEmailTo"
                                                                            SetFocusOnError="True" ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>"
                                                                            Enabled="true" ValidationGroup="sav2"></asp:RegularExpressionValidator>--%>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal51" runat="server" Text='<%$ Resources:Content,PurchaseResourcesExternalLinkTitle %>' />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID='TxBx_PurchaseResourcesExternalLink' runat='server' data-label="Purchase more resources URL"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-offset-4 col-sm-8 col-xs-12">
                                                                <p class="note">
                                                                    <asp:Literal ID="Ltrl_PurchaseResourcesExternalLinkNote" runat="server" Text="<%$ Resources:Content,PurchaseResourcesExternalLinkNote %>"></asp:Literal>
                                                                </p>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal24" runat="server" Text='<%$ Resources:Content,strSendEmailCheckboxChecked %>' />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:CheckBox ID="ChBx_SendEmailCheckboxChecked" runat="server" Text=" " data-label="Sens Email Checkbox checked" />
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_ExportExcelFormat" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal83" runat="server" Text='Export Excel file (Extension)' />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:RadioButtonList ID="Rbl_ExcelFormat" runat="server" RepeatColumns="2" data-label="Export Excel File Extension">
                                                                        <asp:ListItem Text="xls" Value="0" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="xlsx" Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="clearfix m-t-5"></div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Save2" runat="server" ValidationGroup="sav2"
                                                            Text='<%$ Resources:Content,GN0000281 %>' />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <asp:ValidationSummary ID="vs_personalization" runat="server" ValidationGroup="sav2"
                                            DisplayMode="List" ShowMessageBox="true" ShowSummary="false" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_APISettings" runat="server" HeaderText='<%$ Resources:Content, USM0012 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab3" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false" DefaultButton="Btn_Save3">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                        <div class="header">
                                                            <h3><%= Resources.Content.USM0013%>  </h3>
                                                        </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                                        <asp:Literal ID="Ltrl_APIStatus" runat="server" Text="<%$ Resources:Content,String385%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID='Ddl_APIStatus' runat='server' onChange='changeValidationRule(event)' data-label="API Status">
                                                                        <asp:ListItem Selected='True' Text='<%$ Resources:Content,GN0000860 %>' Value='0'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN000195 %>' Value='1'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="div_auth_settings" runat="server">
                                                            <div class="col-xs-12">
                                                                <div class="card">
                                                                    <div class="header">
                                                                        <h3><%= Resources.Content.AuthenticationSettings%>  </h3>
                                                                    </div>
                                                                    <div class="body">


                                                                        <div class="row">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                *
                                        <asp:Literal ID="Ltrl_APILogin" runat="server" Text="<%$ Resources:Content,DGN1110548%>" />:
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <div class="form-group">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_APILogin" MaxLength="200" runat="server" ValidationGroup='apisettings' data-label="API Login"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID='RFV_APILogin' runat='server' ControlToValidate='TxBx_APILogin'
                                                                                            EnableClientScript='true' Display='None' ErrorMessage='API Login is mandatory'
                                                                                            SetFocusOnError='true' ValidationGroup='apisettings'></asp:RequiredFieldValidator>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                        <div class="row">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                *
                                        <asp:Literal ID="Ltrl_APIPassword" runat="server" Text="<%$ Resources:Content,GN000922%>" />:
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <div class="form-group">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_APIPassword" MaxLength="200" runat="server" TextMode='Password'
                                                                                            ValidationGroup='apisettings' data-label="API Password" data-secure="1"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID='RFV_APIPassword' runat='server' ControlToValidate='TxBx_APIPassword'
                                                                                            Display='None' ErrorMessage='API Password is mandatory' SetFocusOnError='true'
                                                                                            ValidationGroup='apisettings'></asp:RequiredFieldValidator>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                        <div class="row">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                <asp:Literal ID="Ltrl_APIAllowedIPs" runat="server" Text="<%$Resources:Content,SMI677 %>" />:
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:TextBox ID="TxBx_APIAllowedIPs" runat="server" TextMode="MultiLine" CssClass="col-xs-12" Rows="4"
                                                                                        ValidationGroup='apisettings' data-label="Allowed IP Addresses"></asp:TextBox>
                                                                                    <asp:Literal ID='Ltrl_APIAllowedIPsNote' runat='server' Text='<%$ Resources:Content,USM0024 %>'></asp:Literal>
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                       <div class="row">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                <asp:Literal ID="Ltrl_LoggingEnabled" runat="server" Text="<%$ Resources:Content,LoggingEnabled%>" />:
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:CheckBox ID="CB_APILoggingEnabled" runat="server" Text=" " data-label="API Logging Enabled" />
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row" id="div_rest_api_settings" runat="server">
                                                            <div class="col-xs-12">
                                                                <div class="card">
                                                                    <div class="header">
                                                                        <h3><%= Resources.Content.RESTAPISettings%>  </h3>
                                                                        <%--<h3>RESTAPISettings</h3>--%>
                                                                    </div>
                                                                    <div class="body">
                                                                        <div class="row">
                                                                            <div class="col-xs-12">
                                                                                <b class="text-warning"><%= Resources.Content.RestAPIResetNote %></b>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                <asp:Literal ID="Literal82" runat="server" Text="<%$ Resources:Content,SupportedAuthenticationTypes%>" />:
                                                                                <%--<asp:Literal ID="Literal82" runat="server" Text="Supported Authentication Types" />:--%>
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:CheckBox ID="CB_BasicAuthEnabled" runat="server" Text="<%$ Resources:Content,SPLA04 %>" data-label="Basic Authentication Enabled" />
                                                                                    &nbsp;
                                                                                    <asp:CheckBox ID="CB_OAuth2Enabled" runat="server" Text="<%$ Resources:Content,strOAuth2 %>" data-label="OAuth2 Enabled" />
                                                                                    &nbsp;

                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div id="div_oauth2_options" runat="server">
                                                                            <div class="row">
                                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                                    *
                                                                                    <%--<asp:Literal ID="Literal84" runat="server" Text="<%$Resources:Content,SMI677 %>" />--%>
                                                                                    <asp:Literal ID="Literal84" runat="server" Text="<%$ Resources:Content,OAuth2TokenUrl %>" />:
                                                                                </div>
                                                                                <div class="col-sm-4 col-xs-12">
                                                                                    <div class="form-group">
                                                                                        <div class="form-line">
                                                                                            <asp:TextBox ID="TxBx_OAuth2TokenUrl" runat="server"
                                                                                                ValidationGroup='apisettings' data-label="OAuth2 Token URL"></asp:TextBox>
                                                                                            <asp:RequiredFieldValidator ID='RFV_OAuth2TokenUrl' runat='server' ControlToValidate='TxBx_OAuth2TokenUrl'
                                                                                                EnableClientScript='true' Display='None' ErrorMessage='<%$ Resources:Content,OAuth2TokenUrlIsMandatory %>'
                                                                                                SetFocusOnError='true' ValidationGroup='apisettings'></asp:RequiredFieldValidator>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                            <div class="row">
                                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                                    <%--<asp:Literal ID="Literal86" runat="server" Text="<%$ Resources:Content,String385%>" />--%>
                                                                                    <asp:Literal ID="Literal86" runat="server" Text="<%$ Resources:Content, AllowRefreshTokenAuth %>" />:
                                                                                </div>
                                                                                <div class="col-sm-4 col-xs-12">
                                                                                    <div class="form-group">
                                                                                        <asp:CheckBox ID="CB_AllowRefreshToken" runat="server" Text=" " data-label="Allow Refresh Token" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                            <div class="row">
                                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                                    <%--<asp:Literal ID="Literal86" runat="server" Text="<%$ Resources:Content,String385%>" />--%>
                                                                                    <asp:Literal ID="Literal186" runat="server" Text="<%$ Resources:Content, AllowInsecureHttp %>" />:
                                                                                </div>
                                                                                <div class="col-sm-4 col-xs-12">
                                                                                    <div class="form-group">
                                                                                        <asp:CheckBox ID="CB_AllowInSecureHttp" runat="server" Text=" " data-label="Allow Insecure Http" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                            <div class="row">
                                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                                    <%--<asp:Literal ID="Literal87" runat="server" Text="<%$Resources:Content,USM0122 %>"></asp:Literal>:--%>
                                                                                    <asp:Literal ID="Literal87" runat="server" Text="<%$Resources:Content, TokenExpiresIn %>"></asp:Literal>:
                                                                                </div>
                                                                                <div class="col-sm-4 col-xs-12">
                                                                                    <div class="form-group">
                                                                                        <asp:DropDownList ID="Ddl_TokenExpiryInMins" runat="server" data-label="Token Expiry (minutes)">
                                                                                            <asp:ListItem Text="<%$Resources:Content,str10Mins %>" Value="10"></asp:ListItem>
                                                                                            <asp:ListItem Text="<%$Resources:Content,str20Mins %>" Value="20"></asp:ListItem>
                                                                                            <asp:ListItem Text="<%$Resources:Content,str40Mins %>" Value="40"></asp:ListItem>
                                                                                            <asp:ListItem Text="<%$Resources:Content,str60Mins %>" Value="60"></asp:ListItem>
                                                                                            <asp:ListItem Text="<%$Resources:Content,str80Mins %>" Value="80"></asp:ListItem>
                                                                                            <asp:ListItem Text="<%$Resources:Content,str100Mins %>" Value="100"></asp:ListItem>
                                                                                            <asp:ListItem Text="<%$Resources:Content,str120Mins %>" Value="120"></asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row" id="div_whmcs_settings" runat="server">
                                                            <div class="col-xs-12">
                                                                <div class="card">
                                                                    <div class="header">
                                                                        <%--<h3><%= Resources.Content.USM0013%>  </h3>--%>
                                                                        <h3>WHMCS Settings</h3>
                                                                    </div>
                                                                    <div class="body">
                                                                        <div class="row">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                <asp:Literal ID="Ltrl_WHMCSTitle" runat="server" Text="<%$Resources:Content,USM0122 %>"></asp:Literal>:
                                                                            </div>
                                                                            <div class="col-sm-9 col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:CheckBox Text=" " ID="CB_WHMCS" runat="server" data-label="WHMCS Module Enabled" />
                                                                                    &nbsp;&nbsp;<asp:Literal ID="Ltrl_WHMCSNote" runat="server" Text="<%$Resources:Content,USM0158 %>"></asp:Literal>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row" id="TR_WHMCSEncrypKey" runat="server">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                <asp:Literal ID="Ltrl_WHMCSEncryptKey" runat="server" Text="<%$Resources:Content,EncryptionKey %>"></asp:Literal>:
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <asp:HiddenField ID="HF_EncryptKey" runat="server" />
                                                                                <label>
                                                                                    <asp:Label ID="Lbl_WHMCSEncryptKey" runat="server"></asp:Label></label>
                                                                            </div>
                                                                            <div class="col-sm-5 col-xs-12">
                                                                                <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="Lbtn_GenerateEncryptKey" runat="server" Text="<%$ Resources:Content, L0083%>"></asp:LinkButton>
                                                                            </div>
                                                                            <div class="col-sm-offset-3 col-sm-9 col-xs-12">
                                                                                <strong>
                                                                                    <asp:Label ID="Lbl_EncryptKeyNote" runat="server" Text="<%$ Resources:Content, ThisKeyWillbeUsed%>"></asp:Label></strong>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row" id="TR_WHMCSSecCode" runat="server">
                                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                                <asp:Literal ID="Ltrl_WHMCSSecCode" runat="server" Text="<%$ Resources:Content, SecurityCode%>"></asp:Literal>:
                                                                            </div>
                                                                            <div class="col-sm-4 col-xs-12">
                                                                                <asp:HiddenField ID="HF_SecCode" runat="server" />
                                                                                <label>
                                                                                    <asp:Label ID="Lbl_WHMCSSecCode" runat="server"></asp:Label></label>
                                                                            </div>
                                                                            <div class="col-sm-5 col-xs-12">
                                                                                <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="Lbtn_GenerateSecCode" runat="server" Text="<%$ Resources:Content, L0083%>"></asp:LinkButton>
                                                                            </div>
                                                                            <div class="col-sm-offset-3 col-sm-9 col-xs-12">
                                                                                <strong>
                                                                                    <asp:Label ID="Lbl_SecCodeNote" runat="server" Text="<%$ Resources:Content, ThisSecurityCode%>"></asp:Label></strong>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Save3" runat="server" Text='<%$ Resources:Content,GN0000281 %>'
                                                                    ValidationGroup='apisettings' CausesValidation='true' OnClick='Btn_Save3_Click' />
                                                                <asp:ValidationSummary ID='vs_apisettings' runat="server" ShowMessageBox='true' ShowSummary='false'
                                                                    ValidationGroup='apisettings' />
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>



                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_UsageReportSchedules" runat="server" HeaderText="<%$ Resources:Content,USM0045 %>" Enabled="false">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab4" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>

                            <EM:TabPanel ID="Tab_Modules" runat="server" HeaderText='<%$ Resources:Content, SMI735 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab5" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent5" runat="server" Visible="false" DefaultButton="Btn_SaveModules">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.SMI735%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row" id="TR_HelpDeskEnabled" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:CheckBox ID="CB_HelpDeskEnabled" Text="<%$ Resources:Content,CM00012%>" runat="server" data-label="Help Desk Enabled" />
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_BillingOn" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:CheckBox ID="CB_BillingOn" Text="<%$ Resources:Content,CM00011%>" runat="server" data-label="Billing is On" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_SaveModules" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,CMC0001 %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Terms" runat="server" HeaderText="<%$ Resources:Content,strTermsNConditions %>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab6" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:Repeater ID="Rep_Terms" runat="server">
                                                        <ItemTemplate>
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <div class="form-group">
                                                                        <EM:GroupRadioButton ID="RB_IsDefault" runat="server" GroupName="DefaultTerms" data-label="Is Default" />
                                                                        <label><%= Resources.Content.strSetAsDefault%></label>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_TermsURLTitle" runat="server" data-label="Terms URL Title"></asp:TextBox>
                                                                            <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000170%>" class="form-label" />
                                                                            <asp:RequiredFieldValidator SetFocusOnError="true" ID="RequiredFieldValidator4" runat="server"
                                                                                Display="None" ValidationGroup="OF" ControlToValidate="TxBx_TermsURLTitle"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                    <label>Example: Support Policy</label>
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_TermsURL" runat="server" data-label="Terms URL"></asp:TextBox>
                                                                            <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Rel1071%>" class="form-label"></asp:Label>
                                                                            <asp:RequiredFieldValidator SetFocusOnError="true" ID="RequiredFieldValidator2" runat="server"
                                                                                Display="None" ValidationGroup="OF" ControlToValidate="TxBx_TermsURL"></asp:RequiredFieldValidator>
                                                                            <%--<asp:RegularExpressionValidator Display="none" ValidationExpression="^http(s?):\/\/\w+(\.\w+)*(:[0-9]+)?\/?(\/[.\w]+(\/?))*$"
                                                                                                                ValidationGroup="OF" ControlToValidate="TxBx_TermsURL" ID="REV_Txt_URL" runat="server"
                                                                                                                ErrorMessage='<%$ Resources:Content,String309%>'></asp:RegularExpressionValidator>--%>
                                                                        </div>
                                                                    </div>
                                                                    <label>Example: http://domain.com/terms.htm </label>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Language" runat="server" data-label="Language" />
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-1 col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary btnAction" ID="btnRemove" runat="server" Text="<%$ Resources:Content,GN0000278%>" CommandName="Remove"
                                                                        CausesValidation="false" CommandArgument='<%# Container.ItemIndex %>' />
                                                                </div>
                                                            </div>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary btnAction" ID="btnAdd" runat="server" Text="<%$ Resources:Content,SMI722%>" CommandName="Add"
                                                                        class="btn btn-primary waves-effect" CausesValidation="false" />
                                                                    <asp:Button CssClass="btn btn-primary btnAction" ID="btnSave" runat="server" Text="<%$ Resources:Content,GN0000281%>" CommandName="saveterms"
                                                                        class="btn btn-primary waves-effect" CausesValidation="false" />
                                                                </div>
                                                            </div>
                                                        </FooterTemplate>
                                                    </asp:Repeater>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Skins" runat="server" HeaderText="<%$ Resources:Content,strSkins %>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab7" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent7" runat="server" Visible="false">
                                        <div class="row Div_OpsRow" id="Div_SkinOperations" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN00001320%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_AddCustomSkin" runat="server" Text="<%$ Resources:Content,strAddCustomSkin%>" />

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="Div_SkinSettings" runat="server" visible="true">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.strSkinSettings%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div id="Div_AllowResellerAndCustomersToSetSkin" runat="server">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal56" runat="server" Text="<%$ Resources:Content,AllowresellertosetSkin%>" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBox Text=" " ID="Chbx_AllowresellertosetSkin" runat="server" data-label="Allow Resellers to change Skin Settings" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal57" runat="server" Text="<%$ Resources:Content,AllowcustomerstosetSkin%>" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBox Text=" " ID="Chbx_AllowcustomerstosetSkin" runat="server" data-label="Allow Customers to set Skin" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal61" runat="server" Text="<%$ Resources:Content,AllowemployeestosetSkin%>" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBox Text=" " ID="Chbx_AllowemployeestosetSkin" runat="server" data-label="Allow Employees to set Skin" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <headertemplate>
                                                                    <table class="table table-bordered table-striped table-hover">
                                                                        <thead>
                                                                            <th class="col-xs-3"><%= Resources.Content.Name %></th>
                                                                            <th class="col-xs-3"><%= Resources.Content.Color %></th>
                                                                            <th class="col-xs-2">
                                                                                <input type="checkbox"
                                                                                    id="Chbx_SelectAll"
                                                                                    name="selectall"
                                                                                    value="selectall"
                                                                                    onchange="selectallcheckboxes($(this));">
                                                                                <label for="selectall">
                                                                                    <%= Resources.Content.IsAllowed %></label></th>
                                                                            <th class="col-xs-2"><%= Resources.Content.DefaultSkin %></th>
                                                                            <th class="col-xs-2" id="Th_Options" runat="server"><%= Resources.Content.GN0000360 %></th>
                                                                        </thead>
                                                                        <tbody>
                                                                </headertemplate>
                                                                <asp:Repeater ID="Rep_Skins" runat="server">
                                                                    <ItemTemplate>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="Lbl_Name" runat="server" /></td>
                                                                            <td>
                                                                                <asp:Label ID="Lbl_Color" class="col-xs-6" runat="server" />
                                                                                <div style="height: 20px" id="Div_Color" class="col-xs-4" runat="server"></div>
                                                                            </td>
                                                                            <td>
                                                                                <asp:CheckBox Text=" " ID="Chbx_IsAllowed" runat="server" />
                                                                                <asp:HiddenField ID="HF_SkinId" runat="server" />
                                                                            </td>
                                                                            <td class="text-center">
                                                                                <EM:GroupRadioButton ID="RB_DefualtSkin" runat="server" GroupName="DefualtSkin" />
                                                                                <label>
                                                                                    <div id="Div_AddOn" runat="server" class="display-inline">
                                                                                    </div>
                                                                                </label>
                                                                            </td>
                                                                            <td id="Td_Options" runat="server">
                                                                                <asp:Button ID="Btn_Edit" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,Edit %>" runat="server" />
                                                                                <asp:Button ID="Btn_Remove" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Remove %>" runat="server" />
                                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" TargetControlID="Btn_Remove"
                                                                                    ConfirmText="<%$ Resources:Content,RemoveCustomSkinConfirmation %>">
                                                                                </EM:ConfirmButtonExtender>
                                                                            </td>
                                                                        </tr>
                                                                    </ItemTemplate>
                                                                    <FooterTemplate>
                                                                        </tbody>
                                                                    </table>
                                                                    <br />
                                                                        <asp:Button CssClass="btn btn-primary btnAction" ID="btnSave" runat="server"
                                                                            Text="<%$ Resources:Content,GN0000281 %>" CommandName="SaveSkins"
                                                                            class="btn btn-primary waves-effect" CausesValidation="false" />
                                                                    </FooterTemplate>
                                                                </asp:Repeater>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="Div_AddCustomSkin" runat="server" visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.strAddCustomSkin%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal59" runat="server" Text="<%$ Resources:Content,Name%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SkinName" runat="server" MaxLength="100" data-label="Name"></asp:TextBox>
                                                                        <asp:HiddenField ID="HF_SkinId" Value="0" runat="server" />
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RFV_SkinName"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_SkinName"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator
                                                                            ID="RE_TxBx_SkinName"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ErrorMessage="<%$ Resources:Content,OnlyCharactersAllowed%>"
                                                                            ControlToValidate="TxBx_SkinName"
                                                                            ValidationExpression="^([A-Za-z]+\s)*[A-Za-z]+$"
                                                                            SetFocusOnError="true"></asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal58" runat="server" Text="Select Skin Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="Txbx_SkinColor" runat="server" MaxLength="100" Text="#3F51B5" data-label="Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator16"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="Txbx_SkinColor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker_skincolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal55" runat="server" Text="Select Font Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="Txbx_FontColor" runat="server" MaxLength="100" Text="#ffffff" data-label="Font Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator17"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="Txbx_FontColor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-fontcolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal62" runat="server" Text="Select Sidebar/Breadcrumb Background Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Sidebarandbreadcrumbbackgroundcolor"
                                                                            runat="server" MaxLength="100" Text="#ffffff" data-label="Sidebar & Breadcrumb Background Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator18"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_Sidebarandbreadcrumbbackgroundcolor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-Sidebarandbreadcrumbbackgroundcolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal63" runat="server" Text="Select Wizard Active Link Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Wizardsactivelinkcolor"
                                                                            runat="server" MaxLength="100" Text="#efefef" data-label="Wizard Active Link Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator19"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_Wizardsactivelinkcolor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-Wizardsactivelinkcolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal64" runat="server" Text="Select Button Background Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Buttonbackgroundcolor"
                                                                            runat="server" MaxLength="100" Text="#4a61e5" data-label="Button Background Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator20"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_Buttonbackgroundcolor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-buttonbackgroundcolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal65" runat="server" Text="Select Nav Pills Background Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_navpillsbackgroundcolor"
                                                                            runat="server" MaxLength="100" Text="#f1f1f1" data-label="Navigation Pills Background Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator21"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_navpillsbackgroundcolor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-navpillsbackgroundcolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal66" runat="server" Text="Select Breadcrumb Span Color" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Breadcrumbcustomspancolor"
                                                                            runat="server" MaxLength="100" Text="#000000" data-label="Breadcrumb Span Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator22"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_Breadcrumbcustomspancolor"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-breadcrumbcustomspancolor" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal67" runat="server" Text="Select Border Color Of Label After Checkbox And Before/After Radio" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_bordercoloroflabelaftercheckboxandbeforeafterradio"
                                                                            runat="server" MaxLength="100" Text="#d3d3d3" data-label="Label Border Color for checkbox/radio"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator23"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_bordercoloroflabelaftercheckboxandbeforeafterradio"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-bordercoloroflabelaftercheckboxandbeforeafterradio" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal68" runat="server" Text="Select Border Right And Border Bottom Color Of Label Before Checkbox" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_borderrightandborderbottomcoloroflabelbeforecheckbox"
                                                                            runat="server" MaxLength="100" Text="#8395ff" data-label="Label Right & Bottom Border Color before checkboxes"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator24"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_borderrightandborderbottomcoloroflabelbeforecheckbox"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-borderrightandborderbottomcoloroflabelbeforecheckbox" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal69" runat="server" Text="Select Anchor Color Of Content Not Disabled" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_anchorcolorofcontentnotdisabled"
                                                                            runat="server" MaxLength="100" Text="#0078d7" data-label="Active Anchor Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator25"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_anchorcolorofcontentnotdisabled"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-anchorcolorofcontentnotdisabled" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal70" runat="server" Text="Select Background Color Of Table Striped/Store Header" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_backgroundcoloroftablestripedstoreheader"
                                                                            runat="server" MaxLength="100" Text="#e7ebff" data-label="Striped Table/Store Header Background Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator26"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_backgroundcoloroftablestripedstoreheader"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-backgroundcoloroftablestripedstoreheader" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal72" runat="server" Text="Select Border Bottom Color Of Expandable Item" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_borderbottomcolorofexpandableItem"
                                                                            runat="server" MaxLength="100" Text="#d7ddff" data-label="Bottom Border Color of Expandable Item"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator27"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_borderbottomcolorofexpandableItem"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-borderbottomcolorofexpandableItem" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal73" runat="server" Text="Select Background Color Of Label Count" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_backgroundcodoroflabelcount"
                                                                            runat="server" MaxLength="100" Text="#3abd09" data-label="Count Label Background Color"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator
                                                                            ID="RequiredFieldValidator28"
                                                                            runat="server"
                                                                            ValidationGroup="VG_AddCustomSkin"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_backgroundcodoroflabelcount"
                                                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <input type="color" id="colorPicker-backgroundcodoroflabelcount" data-state="hidden">
                                                                </label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal60" runat="server" Text="<%$ Resources:Content,strSetAsDefault%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="Chbx_Setasdefault" runat="server" data-label="Set as Default" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:ValidationSummary ID="VS_AddCustomSkin" runat="server" ShowMessageBox="true" ShowSummary="false" ValidationGroup="VG_AddCustomSkin" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_SaveCustomSkin" runat="server"
                                                                    Text="<%$ Resources:Content,GN0000281 %>"
                                                                    class="btn btn-primary waves-effect" CausesValidation="true" ValidationGroup="VG_AddCustomSkin" />
                                                                <asp:Button CssClass="btn btn-primary" ID="Btn_CancelCustomSkin" runat="server"
                                                                    Text="<%$ Resources:Content,Cancel %>"
                                                                    class="btn btn-primary waves-effect" CausesValidation="false" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </ContentTemplate>
                </ajax:UpdatePanel>
                <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                    ValidationGroup="Company" HeaderText="<%$ Resources:Content,EM000001%>" />
            </div>
        </div>
    </div>

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

        function selectallcheckboxes($this) {
            $("[id*=Chbx_IsAllowed]").each(function () {
                if (($($this).prop("checked") == true && $(this).prop("checked") == false) || ($($this).prop("checked") == false && $(this).prop("checked") == true)) {
                    $(this).click();
                }
            });
        }


        //function selectParent($this) {
        //        alert();
        //        var allSelected = true;
        //        $("[id*=Chbx_IsAllowed]").each(function () {
        //            if ($(this).prop("checked") == false) {
        //                allSelected = false;
        //            }
        //        });
        //        if (($("[id*=Chbx_SelectAll]").prop("checked") == true && allSelected == false) || ($("[id*=Chbx_SelectAll]") == false && allSelected == true)) {
        //            alert("parent click");
        //            $("[id*=Chbx_SelectAll]").click();
        //        }
        //}
        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm.add_endRequest(function (s, e) {
            ColorPicker();
        });

        function ColorPicker() {

            colorPick = document.querySelector("#colorPicker_skincolor");
            if (colorPick != null) {
                colorPick.value = $("#<%= Txbx_SkinColor.ClientID %>").val();
                colorPick.addEventListener("input", function () { $("#<%= Txbx_SkinColor.ClientID %>").val($("#colorPicker_skincolor").val()); }, false);
                colorPick.select();
            }

            colorPicker_fontcolor = document.querySelector("#colorPicker-fontcolor");
            if (colorPicker_fontcolor != null) {
                colorPicker_fontcolor.value = $("#<%= Txbx_FontColor.ClientID %>").val();
                colorPicker_fontcolor.addEventListener("input", function () { $("#<%= Txbx_FontColor.ClientID %>").val($("#colorPicker-fontcolor").val()); }, false);
                colorPicker_fontcolor.select();
            }

            colorPicker_Sidebarandbreadcrumbbackgroundcolor = document.querySelector("#colorPicker-Sidebarandbreadcrumbbackgroundcolor");
            if (colorPicker_Sidebarandbreadcrumbbackgroundcolor != null) {
                colorPicker_Sidebarandbreadcrumbbackgroundcolor.value = $("#<%= TxBx_Sidebarandbreadcrumbbackgroundcolor.ClientID %>").val();
                colorPicker_Sidebarandbreadcrumbbackgroundcolor.addEventListener("input",
                    function () { $("#<%= TxBx_Sidebarandbreadcrumbbackgroundcolor.ClientID %>").val($("#colorPicker-Sidebarandbreadcrumbbackgroundcolor").val()); }, false);
                colorPicker_Sidebarandbreadcrumbbackgroundcolor.select();
            }
            colorPicker_Wizardsactivelinkcolor = document.querySelector("#colorPicker-Wizardsactivelinkcolor");
            if (colorPicker_Wizardsactivelinkcolor != null) {
                colorPicker_Wizardsactivelinkcolor.value = $("#<%= TxBx_Wizardsactivelinkcolor.ClientID %>").val();
                colorPicker_Wizardsactivelinkcolor.addEventListener("input",
                    function () { $("#<%= TxBx_Wizardsactivelinkcolor.ClientID %>").val($("#colorPicker-Wizardsactivelinkcolor").val()); }, false);
                colorPicker_Wizardsactivelinkcolor.select();
            }
            colorPicker_buttonbackgroundcolor = document.querySelector("#colorPicker-buttonbackgroundcolor");
            if (colorPicker_buttonbackgroundcolor != null) {
                colorPicker_buttonbackgroundcolor.value = $("#<%= TxBx_Buttonbackgroundcolor.ClientID %>").val();
                colorPicker_buttonbackgroundcolor.addEventListener("input", function () { $("#<%= TxBx_Buttonbackgroundcolor.ClientID %>").val($("#colorPicker-buttonbackgroundcolor").val()); }, false);
                colorPicker_buttonbackgroundcolor.select();
            }

            colorPicker_navpillsbackgroundcolor = document.querySelector("#colorPicker-navpillsbackgroundcolor");
            if (colorPicker_navpillsbackgroundcolor != null) {
                colorPicker_navpillsbackgroundcolor.value = $("#<%= TxBx_navpillsbackgroundcolor.ClientID %>").val();
                colorPicker_navpillsbackgroundcolor.addEventListener("input",
                    function () { $("#<%= TxBx_navpillsbackgroundcolor.ClientID %>").val($("#colorPicker-navpillsbackgroundcolor").val()); }, false);
                colorPicker_navpillsbackgroundcolor.select();
            }

            colorPicker_breadcrumbcustomspancolor = document.querySelector("#colorPicker-breadcrumbcustomspancolor");
            if (colorPicker_breadcrumbcustomspancolor != null) {
                colorPicker_breadcrumbcustomspancolor.value = $("#<%= TxBx_breadcrumbcustomspancolor.ClientID %>").val();
                colorPicker_breadcrumbcustomspancolor.addEventListener("input",
                    function () { $("#<%= TxBx_breadcrumbcustomspancolor.ClientID %>").val($("#colorPicker-breadcrumbcustomspancolor").val()); }, false);
                colorPicker_breadcrumbcustomspancolor.select();
            }

            colorPicker_bordercoloroflabelaftercheckboxandbeforeafterradio = document.querySelector("#colorPicker-bordercoloroflabelaftercheckboxandbeforeafterradio");
            if (colorPicker_bordercoloroflabelaftercheckboxandbeforeafterradio != null) {
                colorPicker_bordercoloroflabelaftercheckboxandbeforeafterradio.value = $("#<%= TxBx_bordercoloroflabelaftercheckboxandbeforeafterradio.ClientID %>").val();
                colorPicker_bordercoloroflabelaftercheckboxandbeforeafterradio.addEventListener("input",
                    function () { $("#<%= TxBx_bordercoloroflabelaftercheckboxandbeforeafterradio.ClientID %>").val($("#colorPicker-bordercoloroflabelaftercheckboxandbeforeafterradio").val()); }, false);
                colorPicker_bordercoloroflabelaftercheckboxandbeforeafterradio.select();
            }

            colorPicker_borderrightandborderbottomcoloroflabelbeforecheckbox = document.querySelector("#colorPicker-borderrightandborderbottomcoloroflabelbeforecheckbox");
            if (colorPicker_borderrightandborderbottomcoloroflabelbeforecheckbox != null) {
                colorPicker_borderrightandborderbottomcoloroflabelbeforecheckbox.value = $("#<%= TxBx_borderrightandborderbottomcoloroflabelbeforecheckbox.ClientID %>").val();
                colorPicker_borderrightandborderbottomcoloroflabelbeforecheckbox.addEventListener("input",
                    function () { $("#<%= TxBx_borderrightandborderbottomcoloroflabelbeforecheckbox.ClientID %>").val($("#colorPicker-borderrightandborderbottomcoloroflabelbeforecheckbox").val()); }, false);
                colorPicker_borderrightandborderbottomcoloroflabelbeforecheckbox.select();
            }

            colorPicker_anchorcolorofcontentnotdisabled = document.querySelector("#colorPicker-anchorcolorofcontentnotdisabled");
            if (colorPicker_anchorcolorofcontentnotdisabled != null) {
                colorPicker_anchorcolorofcontentnotdisabled.value = $("#<%= TxBx_anchorcolorofcontentnotdisabled.ClientID %>").val();
                colorPicker_anchorcolorofcontentnotdisabled.addEventListener("input",
                    function () { $("#<%= TxBx_anchorcolorofcontentnotdisabled.ClientID %>").val($("#colorPicker-anchorcolorofcontentnotdisabled").val()); }, false);
                colorPicker_anchorcolorofcontentnotdisabled.select();
            }

            colorPicker_backgroundcoloroftablestripedstoreheader = document.querySelector("#colorPicker-backgroundcoloroftablestripedstoreheader");
            if (colorPicker_backgroundcoloroftablestripedstoreheader != null) {
                colorPicker_backgroundcoloroftablestripedstoreheader.value = $("#<%= TxBx_backgroundcoloroftablestripedstoreheader.ClientID %>").val();
                colorPicker_backgroundcoloroftablestripedstoreheader.addEventListener("input",
                    function () { $("#<%= TxBx_backgroundcoloroftablestripedstoreheader.ClientID %>").val($("#colorPicker-backgroundcoloroftablestripedstoreheader").val()); }, false);
                colorPicker_backgroundcoloroftablestripedstoreheader.select();
            }

            colorPicker_borderbottomcolorofexpandableItem = document.querySelector("#colorPicker-borderbottomcolorofexpandableItem");
            if (colorPicker_borderbottomcolorofexpandableItem != null) {
                colorPicker_borderbottomcolorofexpandableItem.value = $("#<%= TxBx_borderbottomcolorofexpandableItem.ClientID %>").val();
                colorPicker_borderbottomcolorofexpandableItem.addEventListener("input",
                    function () { $("#<%= TxBx_borderbottomcolorofexpandableItem.ClientID %>").val($("#colorPicker-borderbottomcolorofexpandableItem").val()); }, false);
                colorPicker_borderbottomcolorofexpandableItem.select();
            }

            colorPicker_backgroundcodoroflabelcount = document.querySelector("#colorPicker-backgroundcodoroflabelcount");
            if (colorPicker_backgroundcodoroflabelcount != null) {
                colorPicker_backgroundcodoroflabelcount.value = $("#<%= TxBx_backgroundcodoroflabelcount.ClientID %>").val();
                colorPicker_backgroundcodoroflabelcount.addEventListener("input",
                    function () { $("#<%= TxBx_backgroundcodoroflabelcount.ClientID %>").val($("#colorPicker-backgroundcodoroflabelcount").val()); }, false);
                colorPicker_backgroundcodoroflabelcount.select();
            }
        }

        //function updateInput(inputId, colorSelectorId) {
        //    $("#" + inputId).val($("#" + colorSelectorId).val());
        //}

        function ShowHideCustomTitle() {
            var Tr = document.getElementById('<%= Tr_CustomerNumberTitle.ClientID%>');
            var CB = document.getElementById('<%= CB_CustomCustomerNumber.ClientID%>');
            if (CB != null && Tr != null)
                Tr.style.display = CB.checked == true ? '' : 'none';
        }

        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender3.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender5.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender6.ClientID%>');
    </script>
</asp:Content>
