<%@ control language="VB" autoeventwireup="false" inherits="RCC_O365_CC_UserGroupOperations, MachSol.MachPanel.Web" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="Ajax" %>
<%@ Register Assembly="obout_Editor" Namespace="OboutInc.Editor" TagPrefix="obout" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="Selectable_Selected_LBX" TagPrefix="EM" %>

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

        $("#" + $(".currentSection").val()).css("display", "block");
        $("a[href='" + $(".currentSection").val() + "']").parent().addClass("current");

        $(".O365-detail-content").not("#" + $(".currentSection").val()).css("display", "none");

        $(".O365-Operations a").click(function (event) {
            event.preventDefault();
            $(this).parent().addClass("current");
            $(this).parent().siblings().removeClass("current");
            var tab = $(this).attr("href");
            $(".currentSection").val(tab);
            $(".O365-detail-content").not("#" + tab).css("display", "none");
            $("#" + tab).fadeIn();
            return false;
        });

        $(".Rbtn-Show-Role").click(function () {

            $(".select-role").show();
        });

        $(".Rbtn-Hide-Role").click(function () {

            $(".select-role").hide();
        });
        update();

        setTimeout(function () { $("input[type='checkbox'], input[type='radio']").trigger("change"); /*$("input[type='checkbox']").trigger("click");*/ }, 300);

    });

    function toggleLicenseDetails(sender) {
        $('.linkButtonToggleDown,.linkButtonToggleUp', $(sender).parent('div')).toggle();
        $(sender).parent('div').next('div.plandetails').slideToggle('slow');
        return false;
    }

    function update() {

        if (document.getElementById('<%=HF_StartDate.ClientID%>') != null &&
            document.getElementById('<%=HF_EndDate.ClientID%>') != null) {
            document.getElementById('<%=HF_StartDate.ClientID%>').value = document.getElementById('<%=TxBx_StartDate.ClientID%>').value;
            document.getElementById('<%=HF_EndDate.ClientID%>').value = document.getElementById('<%=TxBx_EndDate.ClientID%>').value;
        }

    }

    //function insertAtCursor(myField, myValue) {
    //    var TextBox = document.getElementById(myField);
    //    var DDL = document.getElementById(myValue);

    //    myValue = DDL.options[DDL.selectedIndex].value;

    //    var editPanel = oboutGetEditorByClientId(myField);
    //    editPanel.InsertHTML(myValue);


    //}

</script>

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

            <div class="header">
                <div class="displayInlineBlock">
                    <h3>
                        <asp:Literal ID="Ltrl_UserDetailsHeading" runat="server" EnableViewState="false"
                            Text="<%$ Resources:Content,GroupOperations%>" />
                        <asp:Label ID="lbl_User" runat="server" />
                    </h3>
                </div>
                <asp:LinkButton ID="Lbtn_GoBack" runat="server" Text="<%$ Resources:Content,String1018%>" class="btn btn-primary waves-effect pull-right m-t--4px" />
            </div>

            <div class="body">
                <div class="row">
                    <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_Search">
                        <div class="panel-group search-panel" id="AS_O365User" role="tablist" aria-multiselectable="true">
                            <div class="col-xs-12" role="tab" id="SH_O365User">
                                <div class="card">
                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_O365User" href="#<%= CSB_O365User.ClientID%>" aria-expanded="true" aria-controls="SH_O365User">
                                        <h3>
                                            <%= Resources.Content.GN0000395%>
                                        </h3>
                                    </div>
                                    <div id="CSB_O365User" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_O365User" aria-expanded="false">
                                        <div class="row">

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchUPN" runat="server" MaxLength="99"></asp:TextBox>
                                                        <asp:Label ID="Ltrl_SearchUPN" runat="server" CssClass="form-label" Text="<%$ Resources:Content,DEV1042%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchDisplayName" runat="server" MaxLength="99"></asp:TextBox>
                                                        <asp:Label ID="Ltrl_SearchDisplayName" runat="server" CssClass="form-label" Text="<%$ Resources:Content,GN00001113%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchAltEmail" runat="server" MaxLength="99"></asp:TextBox>
                                                        <asp:Label ID="Ltrl_SearchAltEmail" runat="server" CssClass="form-label" Text="<%$ Resources:Content,GN00001526%>"></asp:Label>
                                                    </div>
                                                </div>
                                                <ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="TxBx_SearchAltEmail"
                                                    FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars=".-_@ ">
                                                </ajax:FilteredTextBoxExtender>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchUserRole" runat="server" MaxLength="99"></asp:TextBox>
                                                        <asp:Label ID="Ltrl_SearchUserRole" runat="server" CssClass="form-label" Text="<%$ Resources:Content,DGN1110499%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <asp:DropDownList ID="Ddl_SearchSignInStatus" runat="server">
                                                    <asp:ListItem Text='<%$ Resources:Content,SignInStatus %>' Value="-1" Selected="true"></asp:ListItem>
                                                    <asp:ListItem Text='<%$ Resources:Content,String167 %>' Value="0"></asp:ListItem>
                                                    <asp:ListItem Text='<%$ Resources:Content,SPT002527 %>' Value="1"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <%--<asp:Literal ID="Ltrl_LicenseStatus" runat="server" Text='<%$ Resources:Content, %>'></asp:Literal>--%>
                                                <asp:DropDownList ID="Ddl_SearchLicenseStatus" runat="server" AppendDataBoundItems="true">
                                                </asp:DropDownList>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <asp:CheckBox ID="Cb_AdvancedSearch" runat="server" Checked="false" Text="<%$ Resources:Content,AdvancedSearch %>" />
                                            </div>

                                        </div>

                                        <div class="row" id="Tbl_AdvancedSearch" runat="server">
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchAddress" runat="server" MaxLength="200"></asp:TextBox>
                                                        <asp:Label ID="Label20" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,strAddress%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchCity" runat="server" MaxLength="70"></asp:TextBox>
                                                        <asp:Label ID="Label21" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,GN0000880%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchState" runat="server" MaxLength="70"></asp:TextBox>
                                                        <asp:Label ID="Label22" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,DEV1130%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchZip" runat="server" MaxLength="40"></asp:TextBox>
                                                        <asp:Label ID="Label1" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,GN00001081%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <%--<asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,%>"></asp:Label>--%>
                                                <asp:DropDownList ID="Ddl_SearchMemberOfGroup" runat="server"></asp:DropDownList>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <asp:DropDownList ID="Ddl_SearchUserOrMailboxType" runat="server">
                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000673 %>" Value="-1" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,GN0001288 %>" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,FAM00110 %>" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,DGN1110619 %>" Value="3"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,DGN1110620 %>" Value="4"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchJobTitle" runat="server" MaxLength="80"></asp:TextBox>
                                                        <asp:Label ID="Label26" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,DGN1110358%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchCountryRegion" runat="server" MaxLength="100"></asp:TextBox>
                                                        <asp:Label ID="Label19" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,FAM0058%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchDepartment" runat="server" MaxLength="80"></asp:TextBox>
                                                        <asp:Label ID="Label28" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,GN0000374%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SearchOffice" runat="server" MaxLength="80"></asp:TextBox>
                                                        <asp:Label ID="Label29" runat="server" EnableViewState="false" CssClass="form-label" Text="<%$ Resources:Content,DGN1110359%>"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="Ddl_SearchUsageLocation" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <asp:DropDownList ID="DDL_PasswordPolicy" runat="server">
                                                    <asp:ListItem Text="<%$ Resources:Content,IgnorePasswordExpiry %>" Value="-1" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,PasswordNeverExpires %>" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,TenantPasswordPolicy %>" Value="0"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:Button ID="Btn_Search" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000391%>" />
                                                <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                </div>

                <div class="row">
                    <div class="col-xs-12">
                        <asp:Panel ID="Pnl_UserSelection" runat="server">
                            <EM:Selectable_Selected_LBX ID="UC_UserSelection" runat="server" IsSelectedRequired="true" ValidationGroup="SaveGroup" />
                        </asp:Panel>
                    </div>
                </div>

                <div class="row" id="Div_BulkOperations" runat="server">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3>
                                    <%= Resources.Content.GN00001320%>                                                                                                                                 
                                </h3>
                            </div>
                            <div class="body">
                                <div class="clearfix">
                                    <asp:Button ID="Btn_SyncAllUsersWithO365" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,SyncAllUsersWithMicrosoftCSP %>" />                                    &nbsp;
                                    <asp:Button ID="Btn_SyncSelectedUsersWithO365" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,strSyncSelectedUsersFromBackend%>" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-xs-12 ">
                        <div class="col-xs-12 col-sm-3 no-padding">
                            <div id="Pnl_Operations" runat="server" class="O365-Operations">
                                <%--class="O365-Operations"--%>
                                <input type="hidden" id="HF_CurrentSection" runat="server" class="currentSection" />
                                <div class="O365-Operations-Links">
                                    <ul class="nav-pills nav-stacked">
                                        <li><a href="GeneralInformation">
                                            <asp:Literal ID="O365_GeneralInformation" runat="server" Text="<%$ Resources:Content,GN000183%>"
                                                EnableViewState="false" /></a></li>
                                        <li><a href="Archiving">
                                            <asp:Literal ID="O365_Archiving" runat="server" Text="<%$ Resources:Content,DEV1073%>"
                                                EnableViewState="false" /></a></li>
                                        <li><a href="Permissions">
                                            <asp:Literal ID="O365_" runat="server" Text="<%$ Resources:Content,PermissionsAndLicenses%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="GeneralSettings">
                                            <asp:Literal ID="O365_GeneralSettings" runat="server" Text="<%$ Resources:Content,MailboxGeneralSettings%>"
                                                EnableViewState="false" /></a></li>
                                        <li><a href="Membership">
                                            <asp:Literal ID="O365_Membership" runat="server" Text="<%$ Resources:Content,Membership%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="LitigationHold">
                                            <asp:Literal ID="O365_LitigationHold" runat="server" Text="<%$ Resources:Content,FAM0092%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="EmailSettings">
                                            <asp:Literal ID="O365_EmailSettings" runat="server" Text="<%$ Resources:Content,String317%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="UnifiedMessaging">
                                            <asp:Literal ID="O365_UnifiedMessaging" runat="server" Text="<%$ Resources:Content,EXH028%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="EmailForwarding">
                                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,DGN1110364%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="GrantPermission">
                                            <asp:Literal ID="O365_GrantPermission" runat="server" Text="<%$ Resources:Content,GrantPermission%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="RemovePermission">
                                            <asp:Literal ID="O365_RemovePermission" runat="server" Text="<%$ Resources:Content,RemovePermission%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="CalendarPermissions">
                                            <asp:Literal ID="O365_CalendarPermissions" runat="server" Text="<%$ Resources:Content,CalendarPermissions%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="AutomaticReply">
                                            <asp:Literal ID="O365_AutomaticReply" runat="server" Text="<%$ Resources:Content,AutomaticReply%>"
                                                EnableViewState="false" />
                                        </a></li>
                                        <li><a href="UpdatePassword">
                                            <asp:Literal ID="O365_UpdatePassword" runat="server" Text="<%$ Resources:Content,UpdatePassword%>"
                                                EnableViewState="false" />
                                        </a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-9">

                            <%--GeneralInformation--%>
                            <div id="GeneralInformation" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Label
                                            ID="Label25" runat="server" Text='<%$Resources:Content, GN000183%>' EnableViewState="false" />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal41" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000374%>" />
                                            :
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_Departement" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateDepartment" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Lbl_Office" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110359%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_Office" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateOffice" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Lbl_BusinessPhone" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110537%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_BusinessPhone" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateBusinessPhone" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal32" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000886%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_Fax" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateFax" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal26" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110530%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_StrAddress" runat="server" disabled="true" Columns="3" MaxLength="500"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateStrAddress" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal27" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000880%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_City" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateCity" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal28" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001313%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_State" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateState" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal29" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001522%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_zipCode" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateZipCode" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal30" runat="server" EnableViewState="false" Text="<%$ Resources:Content,FAM0058%>" />:
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_CountryRegion" runat="server" disabled="true"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateCountryRegion" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveGeneralInfo" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--Archiving--%>
                            <div id="Archiving" class="card O365-detail-content">
                                <%--class="O365-detail-content"--%>
                                <div class="card">
                                    <div class="header">
                                        <h3>
                                            <asp:Label
                                                ID="Label24" runat="server" Text='<%$Resources:Content, DEV1073%>' EnableViewState="false" /></h3>
                                    </div>

                                    <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,DGN1110200%>"></asp:Literal>:
                                            </div>
                                            <div class="col-sm-5 col-xs-12">
                                                <asp:RadioButton ID="Rbtn_ArchiveEnable" runat="server" Text="<%$ Resources:Content,GN00001024%>"
                                                    GroupName="RG_Archiving" Checked="true" />&nbsp;
                                            <asp:RadioButton ID="Rbtn_ArchiveDisable" runat="server" Text="<%$ Resources:Content,GN00001025%>"
                                                GroupName="RG_Archiving" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:Button ID="Btn_SaveArchiveSettings" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                            </div>
                                        </div>
                                    </div>
                                </div>

                            </div>
                            <%--Permissions--%>
                            <div id="Permissions" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Label30" runat="server" Text='<%$Resources:Content, PermissionsAndLicenses%>' />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,AssignRole%>" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:RadioButton ID="Rbtn_RoleNoChange" CssClass="Rbtn-Hide-Role" Text="<%$ Resources:Content,GN0000712 %>"
                                                GroupName="RG_Roles" runat="server" Checked="true" />
                                            <asp:RadioButton ID="Rbtn_RoleAssign" CssClass="Rbtn-Show-Role" Text="<%$Resources:Content,GN0000004 %>"
                                                GroupName="RG_Roles" runat="server" />
                                            <asp:RadioButton ID="Rbtn_NoRoleAssign" CssClass="Rbtn-Hide-Role" Text="<%$Resources:Content,GN0000005 %>"
                                                GroupName="RG_Roles" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row" id='tr_rolesDetail' runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <%--<asp:Literal ID="Ltrl_SelectRole" runat="server" Text="<%$Resources:Content,SMI687 %>"></asp:Literal>:--%>
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:ListBox ID="Lbx_UserRoles" Width="300px" Height="150px" SelectionMode="Multiple"
                                                runat="server"></asp:ListBox>
                                            <div class="note">
                                                <asp:Literal ID="Ltrl_RolesNote" runat="server" Text="<%$Resources:Content,FAM00171%>"></asp:Literal>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Label6" Text="<%$Resources:Content,SignInStatus %>" runat="server" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:RadioButton ID="Rbtn_SignInStatusNoChange" Text="<%$ Resources:Content,GN0000712 %>"
                                                GroupName="RG_SignIn" runat="server" Checked="true" />
                                            <asp:RadioButton ID="Rbtn_Allowed" Text="<%$Resources:Content,String167 %>" GroupName="RG_SignIn"
                                                runat="server" />
                                            <asp:RadioButton ID="Rbtn_Blocked" Text="<%$Resources:Content,SPT002527 %>" GroupName="RG_SignIn"
                                                runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Label9" Text="<%$Resources:Content,UsageLocation %>" runat="server" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:DropDownList ID="Ddl_UsageLocation" runat="server"></asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Label11" Text="<%$Resources:Content,SelectLicense %>" runat="server" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:RadioButton ID="Rbtn_RemoveLic" Text="<%$ Resources:Content,RemoveLicenseAssignments %>"
                                                GroupName="RG_LicenseOptions" runat="server" /><br />
                                            <asp:RadioButton ID="Rbtn_ReplaceAllLic" Text="<%$ Resources:Content,ReplaceLicenseAssignments %>"
                                                GroupName="RG_LicenseOptions" runat="server" /><br />
                                            <asp:RadioButton ID="Rbtn_AddOnlyLic" Text="<%$ Resources:Content,AddLicenseAssignments %>"
                                                GroupName="RG_LicenseOptions" runat="server" /><br />
                                            <asp:RadioButton ID="Rbtn_LicenseNoChange" Text="<%$ Resources:Content,GN0000712 %>"
                                                GroupName="RG_LicenseOptions" runat="server" Checked="true" />
                                            <asp:Repeater ID="Rep_Licenses" runat="server">
                                                <ItemTemplate>
                                                    <div class="licenseItem">
                                                        <div class="license">
                                                            <asp:HiddenField ID="HF_LicId" runat="server" />
                                                            &nbsp;&nbsp;<asp:CheckBox ID="CB_LicenseOption" runat="server" />
                                                            &nbsp;&nbsp;<asp:Literal ID="Ltrl_LicenseAvailable" runat="server"></asp:Literal>
                                                            &nbsp;<asp:LinkButton ID="Lbtn_ViewDetail" runat="server" OnClientClick="return toggleLicenseDetails(this);"
                                                                SkinID="ToggleDown" Text="<%$ Resources:Content,DGN1110431%>"></asp:LinkButton>
                                                            &nbsp;<asp:LinkButton ID="Lbtn_LessDetail" runat="server" OnClientClick="return toggleLicenseDetails(this);"
                                                                SkinID="ToggleUp" Style="display: none;"></asp:LinkButton>
                                                        </div>
                                                        <div class="plandetails" style="display: none;">
                                                            <asp:CheckBoxList ID="CBL_LicensePlans" runat="server" RepeatColumns="1" RepeatDirection="Vertical">
                                                            </asp:CheckBoxList>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SavePermissionAndLicenses" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--GeneralSettings--%>
                            <div id="GeneralSettings" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal22" runat="server" Text='<%$ Resources:Content,MailboxGeneralSettings%>' />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,DGN1110527%>"
                                                EnableViewState="false">
                                            </asp:Literal>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:RadioButton ID="Rbtn_HideFromAddressListNoChange" Text="<%$ Resources:Content,GN0000712 %>"
                                                GroupName="RG_HideFromAddressList" runat="server" Checked="true" />
                                            <asp:RadioButton ID="Rbtn_HideFromAddressListYes" CssClass="Rbtn-Show-Role" Text="<%$Resources:Content,GN0000004 %>"
                                                GroupName="RG_HideFromAddressList" runat="server" />
                                            <asp:RadioButton ID="Rbtn_HideFromAddressListNo" CssClass="Rbtn-Hide-Role" Text="<%$Resources:Content,GN0000005 %>"
                                                GroupName="RG_HideFromAddressList" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal105" runat="server" Text="<%$ Resources:Content,GN00003000%>"
                                                EnableViewState="false">
                                            </asp:Literal>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:DropDownList ID="DDL_Language" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateMailboxLang" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 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">
                                            <asp:DropDownList ID="DDL_TimeZone" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdateMailboxZone" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveMailboxGeneralSettings" runat="server" CssClass="btn btn-primary waves-effect btnAction"
                                                Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>

                            </div>
                            <%--Membership--%>
                            <div id="Membership" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Label ID="Label2" runat="server" Text='<%$Resources:Content, Membership%>' EnableViewState="false" />
                                    </h3>
                                </div>
                                <div class="body">

                                    <div class="row">
                                        <div class="col-xs-12 row-label">
                                            <asp:Literal ID="Literal18" Text="<%$Resources:Content,AddAsMemberInSelectedGroups %>" runat="server" />:                                                           
                                        </div>

                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UC_AddGroup" runat="server" />
                                        </div>

                                        <div class="col-xs-12 row-label">
                                            <asp:Literal ID="Label15" Text="<%$Resources:Content,RemoveAsMemberFromSelectedGroups %>"
                                                runat="server" />:
                                        </div>

                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UC_RemoveGroup" runat="server" />
                                        </div>

                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveGroupMembership" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>

                                </div>
                            </div>
                            <%--LitigationHold--%>
                            <div id="LitigationHold" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal39" runat="server" Text='<%$ Resources:Content, Exch0901 %>' />
                                    </h3>
                                </div>
                                <div class="body">

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Ltrl_LHEnable" runat="server" Text="<%$ Resources:Content,Exch0901 %>"></asp:Literal>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:RadioButton ID="Rbtn_LHEnable" runat="server" Text="<%$ Resources:Content,GN00001024 %>"
                                                GroupName="LitigationHold" Checked="false" />
                                            <asp:RadioButton ID="Rbtn_LHDisable" runat="server" Text="<%$ Resources:Content,GN00001025 %>"
                                                GroupName="LitigationHold" Checked="true" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div id="tbl_lhdetails" runat="server" style="display: none;" class="col-xs-12">
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal40" runat="server" Text='<%$ Resources:Content, FAM0081 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_LHDuration" runat="server" />
                                                            <asp:RegularExpressionValidator ID="REV_TxBx_LHDuration" runat="server" ControlToValidate="TxBx_LHDuration"
                                                                ValidationExpression="([0-9])*" ErrorMessage="<%$ Resources:Content, FAM00123 %>"
                                                                Display="None"
                                                                SetFocusOnError="true" ValidationGroup="LHSettings"></asp:RegularExpressionValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001336%>" />:
                                                </div>
                                                <div class="col-sm-8 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:TextBox runat="server" CssClass="col-xs-12" Rows="5" ID="TxBx_LHNotes" TextMode="MultiLine" MaxLength="2048"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal75" runat="server" EnableViewState="false" 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_LHURL" runat="server" ValidationGroup="LHSettings"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="REV_LHURL" runat="server" ValidationGroup="LHSettings"
                                                                ControlToValidate="TxBx_LHURL" Display="None" ValidationExpression="(?<http>(http:[/][/]|www.)([a-z]|[A-Z]|[0-9]|[/.]|[~])*)"></asp:RegularExpressionValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveLHSettings" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" ValidationGroup="LHSettings" CausesValidation="true" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--EmailSettings--%>
                            <div id="EmailSettings" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content,String317%>' /></h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,Exch00910%>"
                                                EnableViewState="false" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:RadioButtonList ID="RBL_EmailAlias" runat="server">
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00911%>" Value="alias" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00912%>" Value="%g.%s"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00913%>" Value="%1g%s"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00914%>" Value="%g%1s"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,FirstNameInitialDotLastName%>" Value="%1g.%s"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00915%>" Value="%s.%g"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00916%>" Value="%1s%g"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Exch00917%>" Value="%s%1g"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,SetUserPrincipalName%>"></asp:Literal>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_SetPrimaryUPN" Text=" " runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,DGN1110334%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:ListBox ID="LBx_Domains" runat="server" SelectionMode="Multiple" Rows="10" Width="200px"
                                                Height="145px"></asp:ListBox>
                                        </div>
                                    </div>
                                    <div class="row">

                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveEmailAliases" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--UnifiedMessaging--%>
                            <div id="UnifiedMessaging" class="card O365-detail-content">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal52" runat="server" Text='<%$ Resources:Content, EXH028 %>' EnableViewState="false" />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal54" runat="server" EnableViewState="false" Text="<%$ Resources:Content,EXH028 %>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:RadioButton ID="RB_UMEnable" runat="server" Text="<%$ Resources:Content,GN00001024%>"
                                                GroupName="RG_UM" Checked="false" />&nbsp;
                                            <asp:RadioButton ID="RB_UMDisable" runat="server" Text="<%$ Resources:Content,GN00001025%>"
                                                GroupName="RG_UM" Checked="true" />
                                        </div>
                                    </div>
                                    <div class="row" id="TR_UMEnableOptions" runat="server" style="display: none;">

                                        <div class="col-xs-12">
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal55" runat="server" EnableViewState="false" Text="<%$ Resources:Content,UMP001 %>" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <asp:DropDownList ID="DDL_UMPolicy" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal59" runat="server" EnableViewState="false"
                                                        Text="<%$ Resources:Content,GN0000220 %>" />:
                                                </div>
                                                <div class="col-sm-8 col-xs-12">
                                                    <%--<div class="form-group">
                                                        <div class="form-line">--%>
                                                    <asp:TextBox ID="TxBx_Extension" runat="server" TextMode="MultiLine" CssClass="col-xs-12" Rows="5" ValidationGroup="SaveUMSettings"></asp:TextBox>
                                                    <%--</div>
                                                    </div>--%>
                                                    <br />
                                                    <asp:Label ID="Label27" runat="server" Text="<%$ Resources:Content,String492 %>" />
                                                    <asp:Literal ID="Literal53" runat="server" Text='<%$ Resources:Content,Exh0090%>'></asp:Literal>
                                                    <asp:Literal ID="Ltl_ExtLength" runat="server" Text='<%$ Resources:Content,Exh0091%>'></asp:Literal>
                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_Extension" runat="server" ControlToValidate="TxBx_Extension"
                                                        ValidationGroup="SaveUMSettings" SetFocusOnError="true" Display="None" ErrorMessage="<%$ Resources:Content,GN0000253 %>"></asp:RequiredFieldValidator>
                                                    <ajax:FilteredTextBoxExtender ID="FTE_TxBx_Extension" runat="server" TargetControlID="TxBx_Extension"
                                                        FilterType="Numbers,Custom" ValidChars=",">
                                                    </ajax:FilteredTextBoxExtender>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal60" runat="server" EnableViewState="false"
                                                        Text="<%$ Resources:Content,EXH033 %>" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_Pin" runat="server" ValidationGroup="SaveUMSettings"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_Pin" runat="server" ControlToValidate="TxBx_Pin"
                                                        ValidationGroup="SaveUMSettings" SetFocusOnError="true" Display="None" ErrorMessage="<%$ Resources:Content,PinRequired %>">
                                                    </asp:RequiredFieldValidator>
                                                    <ajax:FilteredTextBoxExtender ID="FTE_TxBx_Pin" runat="server" TargetControlID="TxBx_Pin"
                                                        FilterType="Numbers">
                                                    </ajax:FilteredTextBoxExtender>
                                                </div>
                                            </div>

                                        </div>

                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveUMSettings" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>"
                                                ValidationGroup="SaveUMSettings" CausesValidation="true" />
                                            <asp:ValidationSummary ID="VS_SaveUMSettings" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                ValidationGroup="SaveUMSettings" HeaderText="<%$ Resources:Content, EM000001%>" />
                                        </div>
                                    </div>

                                </div>

                            </div>
                            <%--EmailForwarding--%>
                            <div id="EmailForwarding" class="card O365-detail-content">


                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Ltrl22" runat="server" Text="<%$ Resources:Content,DGN1110364 %>"></asp:Literal>
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,DGN1110366%>"
                                                EnableViewState="false" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:DropDownList ID="DDL_ForwardTo" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal64" runat="server" Text="<%$ Resources:Content,DGN1110367%>"
                                                EnableViewState="false" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_DMessage" runat="server" Text=" " />
                                        </div>
                                    </div>
                                    <div class="row">

                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveEmailForwarding" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--GrantPermission--%>
                            <div id="GrantPermission" class="card O365-detail-content">

                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content,GrantPermissions%>' />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="SM24" runat="server" Text="<%$ Resources:Content,L00146%>" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UCGrandSendOnBehalf" runat="server" />
                                            <asp:CheckBox ID="Cb_MessageCopyForSOB" runat="server" Text="<%$ Resources:Content,FAM00142%>" />
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="SM25" runat="server" Text="<%$ Resources:Content,L00147%>" EnableViewState="false" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UCGrantSendAs" runat="server" />
                                            <asp:CheckBox ID="Cb_MessageCopyForSA" runat="server" Text="<%$ Resources:Content,FAM00143%>" />
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="SM26" runat="server" Text="<%$ Resources:Content,L00148%>" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UCFullAccess" runat="server" />
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveGrantPermission" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>

                            </div>
                            <%--RemovePermission--%>
                            <div id="RemovePermission" class="card O365-detail-content">

                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal31" runat="server" Text='<%$ Resources:Content,RemovePermissions%>' />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,L00146%>" EnableViewState="false" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UCRemoveSendOnbehalf" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,L00147%>"
                                                EnableViewState="false" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UCRemoveSendAs" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,L00148%>"
                                                EnableViewState="false" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UCRemoveFullAccess" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveRemovePermissions" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--CalendarPermissions--%>
                            <div id="CalendarPermissions" class="card O365-detail-content">

                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal19" runat="server" Text='<%$ Resources:Content,CalendarPermissions%>' />
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Literal ID="Literal125" runat="server" Text="<%$ Resources:Content,L0070 %>" />
                                        </div>
                                        <div class="col-xs-12">
                                            <EM:Selectable_Selected_LBX ID="UC_CPMemberSearch" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,Exh500 %>" />
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_PermissionLevelCalendar" runat="server">
                                                    <asp:ListItem Text="<%$ Resources:Content,String456 %>" Value="custom" />
                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                    <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                    <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                    <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="col-xs-12">
                                            <div class="row">
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarCreateItems" runat="server" Text="<%$ Resources:Content,Exh509 %>" />
                                                </div>
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarFolderOwner" runat="server" Text="<%$ Resources:Content,Exh510 %>" />
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarReadItems" runat="server" Text="<%$ Resources:Content,Exh511 %>" />
                                                </div>
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarFolderContact" runat="server" Text="<%$ Resources:Content,Exh512 %>" />
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarCreateSubFolders" runat="server" Text="<%$ Resources:Content,Exh513 %>" />
                                                </div>
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarFolderVisible" runat="server" Text="<%$ Resources:Content,Exh514 %>" />
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarEditOwn" runat="server" Text="<%$ Resources:Content,Exh515 %>" />
                                                </div>
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarDeleteOwn" runat="server" Text="<%$ Resources:Content,Exh516 %>" />
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarEditAll" runat="server" Text="<%$ Resources:Content,Exh517 %>" />
                                                </div>
                                                <div class="col-sm-6 col-xs-12">
                                                    <asp:CheckBox ID="Cb_CalendarDeleteAll" runat="server" Text="<%$ Resources:Content,Exh518 %>" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveCalendarPermissions" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--AutomaticReply--%>
                            <div id="AutomaticReply" class="card O365-detail-content">

                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Ltrl_OOO_Heading" runat="server" Text="<%$Resources:Content,AutomaticReply %>"></asp:Literal>
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal57" runat="server" Text="<%$ Resources:Content,GN000195%>" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:RadioButton ID="RB_AREnabled" AutoPostBack="true" runat="server" Text="<%$ Resources:Content,GN00001024%>" onClick="update();"
                                                GroupName="RG_AR" Checked="false" />&nbsp;
                                            <asp:RadioButton ID="RB_ARDisabled" AutoPostBack="true" runat="server" Text="<%$ Resources:Content,GN00001025%>" onClick="update();"
                                                GroupName="RG_AR" Checked="false" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:UpdatePanel ID="UP_OOO_Detail" runat="server" UpdateMode="Conditional">
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="RB_AREnabled" EventName="CheckedChanged" />
                                                    <asp:AsyncPostBackTrigger ControlID="RB_ARDisabled" EventName="CheckedChanged" />
                                                </Triggers>
                                                <ContentTemplate>
                                                    <div id="Tbl_OOO" visible="false" runat="server">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal47" runat="server" Text="<%$ Resources:Content,ExchOO02%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:CheckBox ID="CB_Schedule" Text=" " AutoPostBack="true" onClick="update();" Checked="false"
                                                                    runat="server" />
                                                            </div>
                                                        </div>

                                                        <asp:UpdatePanel ID="UP_OOO_ScheduleDetail" runat="server" UpdateMode="Conditional">
                                                            <Triggers>
                                                                <asp:AsyncPostBackTrigger ControlID="CB_Schedule" EventName="CheckedChanged" />
                                                            </Triggers>
                                                            <ContentTemplate>
                                                                <div id="Tbl_Schedule" runat="server" visible="false">
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,ExchOO03%>" />:
                                                                        </div>
                                                                        <div class="col-sm-3 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_StartDate" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_StartTime" runat="server">
                                                                                    <asp:ListItem Text="12:00 AM" Value="00:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="12:30 AM" Value="00:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:00 AM" Value="01:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:30 AM" Value="01:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:00 AM" Value="02:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:30 AM" Value="02:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:00 AM" Value="03:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:30 AM" Value="03:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:00 AM" Value="04:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:30 AM" Value="04:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:00 AM" Value="05:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:30 AM" Value="05:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:00 AM" Value="06:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:30 AM" Value="06:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:00 AM" Value="07:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:30 AM" Value="07:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:00 AM" Value="08:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:30 AM" Value="08:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:00 AM" Value="09:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:30 AM" Value="09:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:00 AM" Selected="true" Value="10:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:30 AM" Value="10:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:00 AM" Value="11:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:30 AM" Value="11:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="12:00 PM" Value="12:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="12:30 PM" Value="12:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:00 PM" Value="13:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:30 PM" Value="13:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:00 PM" Value="14:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:30 PM" Value="14:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:00 PM" Value="15:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:30 PM" Value="15:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:00 PM" Value="16:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:30 PM" Value="16:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:00 PM" Value="17:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:30 PM" Value="17:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:00 PM" Value="18:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:30 PM" Value="18:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:00 PM" Value="19:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:30 PM" Value="19:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:00 PM" Value="20:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:30 PM" Value="20:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:00 PM" Value="21:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:30 PM" Value="21:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:00 PM" Value="22:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:30 PM" Value="22:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:00 PM" Value="23:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:30 PM" Value="23:30:00"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                                <br />
                                                                                <asp:Literal ID="Literal98" runat="server" Text="<%$ Resources:Content,FAM00214%>" EnableViewState="false" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-2 col-xs-12">
                                                                            <asp:HiddenField ID="HF_StartDate" runat="server" />
                                                                            <i runat="server" id="A_StartDate" class="material-icons icon-calendar col-calendar"></i>
                                                                            <ajax:CalendarExtender ID="CE_StartDate" runat="server" TargetControlID="TxBx_StartDate"
                                                                                PopupButtonID="A_StartDate" CssClass="date__calendar">
                                                                            </ajax:CalendarExtender>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,ExchOO04%>" />:
                                                                        </div>
                                                                        <div class="col-sm-3 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_EndDate" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_EndTime" runat="server">
                                                                                    <asp:ListItem Text="12:00 AM" Value="00:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="12:30 AM" Value="00:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:00 AM" Value="01:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:30 AM" Value="01:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:00 AM" Value="02:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:30 AM" Value="02:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:00 AM" Value="03:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:30 AM" Value="03:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:00 AM" Value="04:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:30 AM" Value="04:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:00 AM" Value="05:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:30 AM" Value="05:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:00 AM" Value="06:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:30 AM" Value="06:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:00 AM" Value="07:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:30 AM" Value="07:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:00 AM" Value="08:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:30 AM" Value="08:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:00 AM" Value="09:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:30 AM" Value="09:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:00 AM" Selected="true" Value="10:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:30 AM" Value="10:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:00 AM" Value="11:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:30 AM" Value="11:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="12:00 PM" Value="12:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="12:30 PM" Value="12:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:00 PM" Value="13:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="1:30 PM" Value="13:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:00 PM" Value="14:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="2:30 PM" Value="14:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:00 PM" Value="15:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="3:30 PM" Value="15:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:00 PM" Value="16:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="4:30 PM" Value="16:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:00 PM" Value="17:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="5:30 PM" Value="17:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:00 PM" Value="18:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="6:30 PM" Value="18:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:00 PM" Value="19:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="7:30 PM" Value="19:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:00 PM" Value="20:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="8:30 PM" Value="20:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:00 PM" Value="21:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="9:30 PM" Value="21:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:00 PM" Value="22:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="10:30 PM" Value="22:30:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:00 PM" Value="23:00:00"></asp:ListItem>
                                                                                    <asp:ListItem Text="11:30 PM" Value="23:30:00"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                                <br />
                                                                                <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,FAM00214%>" EnableViewState="false" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-2 col-xs-12">
                                                                            <asp:HiddenField ID="HF_EndDate" runat="server" />
                                                                            <i runat="server" id="A_EndDate" class="material-icons icon-calendar col-calendar"></i>
                                                                            <ajax:CalendarExtender ID="CE_EndDate" runat="server" TargetControlID="TxBx_EndDate"
                                                                                PopupButtonID="A_EndDate" CssClass="date__calendar">
                                                                            </ajax:CalendarExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>

                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Literal ID="Literal90" runat="server" Text="<%$ Resources:Content, ExchOO05%>" />:
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <obout:Editor ID="TxBx_InternalMessage" Width="740" Submit="false" ShowWaitMessage="false"
                                                                    AjaxWait="false" runat="server" Appearance="custom" ShowQuickFormat="false">
                                                                    <Buttons>
                                                                        <obout:Select Name="FontName" />
                                                                        <obout:Select Name="FontSize" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Toggle Name="Bold" />
                                                                        <obout:Toggle Name="Italic" />
                                                                        <obout:Toggle Name="Underline" />
                                                                        <obout:Toggle Name="StrikeThrough" />
                                                                        <obout:Toggle Name="SuperScript" />
                                                                        <obout:Toggle Name="SubScript" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="ForeColor" />
                                                                        <obout:Method Name="ForeColorClear" />
                                                                        <obout:Method Name="BackColor" />
                                                                        <obout:Method Name="BackColorClear" />
                                                                        <obout:VerticalSeparator />
                                                                        <obout:Method Name="Redo" />
                                                                        <obout:Method Name="Undo" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="Cut" />
                                                                        <obout:Method Name="Copy" />
                                                                        <obout:Method Name="Paste" />
                                                                        <obout:Method Name="PasteText" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="Paragraph" />
                                                                        <obout:Method Name="GetFormat" />
                                                                        <obout:Method Name="ApplyFormat" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="JustifyLeft" />
                                                                        <obout:Method Name="JustifyCenter" />
                                                                        <obout:Method Name="JustifyRight" />
                                                                        <obout:Method Name="JustifyFull" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="OrderedList" />
                                                                        <obout:Method Name="BulletedList" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="InsertHR" />
                                                                        <obout:Method Name="CreateLink" />
                                                                        <obout:Method Name="InsertAnchor" />
                                                                        <obout:Method Name="InsertIMG" />
                                                                        <obout:HorizontalSeparator />
                                                                        <obout:Method Name="ClearStyles" />
                                                                    </Buttons>

                                                                </obout:Editor>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal50" runat="server" Text="<%$ Resources:Content, ExchOO06%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:CheckBox ID="CB_SendOOOExternal" runat="server" Checked="true" onClick="update();"
                                                                    AutoPostBack="true" Text=" " />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:UpdatePanel ID="UP_OOO_ExternalDetail" runat="server" UpdateMode="Conditional">
                                                                    <Triggers>
                                                                        <ajax:AsyncPostBackTrigger ControlID="CB_SendOOOExternal" EventName="CheckedChanged" />
                                                                    </Triggers>
                                                                    <ContentTemplate>
                                                                        <div id="Tbl_OOOExternal" runat="server">
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <asp:RadioButtonList ID="RBL_ExternalOOOOption" runat="server">
                                                                                        <asp:ListItem Text="<%$ Resources:Content,ExchOO07%>" Value="False"></asp:ListItem>
                                                                                        <asp:ListItem Text="<%$ Resources:Content,ExchOO08%>" Selected="True" Value="True"></asp:ListItem>
                                                                                    </asp:RadioButtonList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <asp:Literal ID="Literal51" runat="server" Text="<%$ Resources:Content, ExchOO09%>"
                                                                                        EnableViewState="false" />:
                                                                                </div>
                                                                            </div>
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <obout:Editor ID="TxBx_ExternalMessage" Width="740" Submit="false" ShowWaitMessage="false"
                                                                                        AjaxWait="false" runat="server" Appearance="custom" ShowQuickFormat="false">
                                                                                        <Buttons>
                                                                                            <obout:Select Name="FontName" />
                                                                                            <obout:Select Name="FontSize" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Toggle Name="Bold" />
                                                                                            <obout:Toggle Name="Italic" />
                                                                                            <obout:Toggle Name="Underline" />
                                                                                            <obout:Toggle Name="StrikeThrough" />
                                                                                            <obout:Toggle Name="SuperScript" />
                                                                                            <obout:Toggle Name="SubScript" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="ForeColor" />
                                                                                            <obout:Method Name="ForeColorClear" />
                                                                                            <obout:Method Name="BackColor" />
                                                                                            <obout:Method Name="BackColorClear" />
                                                                                            <obout:VerticalSeparator />
                                                                                            <obout:Method Name="Redo" />
                                                                                            <obout:Method Name="Undo" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="Cut" />
                                                                                            <obout:Method Name="Copy" />
                                                                                            <obout:Method Name="Paste" />
                                                                                            <obout:Method Name="PasteText" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="Paragraph" />
                                                                                            <obout:Method Name="GetFormat" />
                                                                                            <obout:Method Name="ApplyFormat" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="JustifyLeft" />
                                                                                            <obout:Method Name="JustifyCenter" />
                                                                                            <obout:Method Name="JustifyRight" />
                                                                                            <obout:Method Name="JustifyFull" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="OrderedList" />
                                                                                            <obout:Method Name="BulletedList" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="InsertHR" />
                                                                                            <obout:Method Name="CreateLink" />
                                                                                            <obout:Method Name="InsertAnchor" />
                                                                                            <obout:Method Name="InsertIMG" />
                                                                                            <obout:HorizontalSeparator />
                                                                                            <obout:Method Name="ClearStyles" />
                                                                                        </Buttons>

                                                                                    </obout:Editor>

                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveAutoReplySettings" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>
                                </div>

                            </div>
                            <%--UpdatePassword--%>
                            <div id="UpdatePassword" class="card O365-detail-content">

                                <div class="header">
                                    <h3>
                                        <asp:Label
                                            ID="Label7" runat="server" Text='<%$Resources:Content, UpdatePassword%>' EnableViewState="false" />
                                    </h3>
                                </div>
                                <div class="body">

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Ltrl_PasswordNeverExpires" runat="server" Text="<%$ Resources:Content,PasswordNeverExpires %>"></asp:Literal>
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:RadioButton ID="Rbtn_PasswordNeverExpiresNoChange" Text="<%$ Resources:Content,GN0000712 %>"
                                                GroupName="RG_PasswordNeverExpires" runat="server" Checked="true" />
                                            <asp:RadioButton ID="Rbtn_PasswordNeverExpiresYes" Text="<%$Resources:Content,GN0000004 %>"
                                                GroupName="RG_PasswordNeverExpires" runat="server" />
                                            <asp:RadioButton ID="Rbtn_PasswordNeverExpiresNo" Text="<%$Resources:Content,GN0000005 %>"
                                                GroupName="RG_PasswordNeverExpires" runat="server" />
                                        </div>
                                    </div>
                                    <div id="Div_PasswordPolicy" runat="server" style="display: none;">
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label><%= Resources.Content.DaysBeforePasswordsExpire%>:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_DaysBeforePasswordsExpire" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_DaysBeforePasswordsExpire" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label><%= Resources.Content.DaysNotifiedAboutExpiration%>:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_DaysNotifiedAboutExpiration" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal61" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ForcePasswordChange%>" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:CheckBox ID="ChBx_ForcePasswordChange" Text=" " runat="server" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal56" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000569%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_UserPassword" runat="server" disabled="true" TextMode="Password"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_UpdatePassword" runat="server" Text="<%$ Resources:Content,GN0000654 %>" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal58" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0001196%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_ConfirmPassword" runat="server" disabled="true" TextMode="Password"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />
                                        </div>
                                    </div>
                                    <div class="row">

                                        <div class="col-xs-12">
                                            <asp:Button ID="Btn_SaveUpdatePassword" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" />
                                        </div>
                                    </div>

                                </div>
                            </div>

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

                <asp:Panel ID="Pnl_OperationsLog" runat="server" Visible="false" CssClass="row">
                    <div class="col-xs-12">
                        <asp:Label ID="Lbl_LogMessage" runat="server"></asp:Label>
                        <br />
                        <asp:Button ID="Btn_OperationLogClose" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN000150%>" />
                    </div>
                </asp:Panel>

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


</div>

