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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

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

    <script type="text/javascript">
        var defaultText = "Enter Base URL (e.g. Skype4B.ProviderDomain.com)";
        function WaterMark(txt, evt) {
            if (txt.value.length == 0 && evt.type == "blur") {
                txt.style.color = "gray";
                txt.value = defaultText;
            }
            if (txt.value == defaultText && evt.type == "focus") {
                txt.style.color = "black";
                txt.value = "";
            }
        }
    </script>
    <ajax:UpdatePanel ID="UP_LyncHosting" runat="server">
        <ContentTemplate>
            <div class="col-xs-12">
                <div class="card">

                    <asp:Panel ID="Pnl_AddOCSServerGroup" class="body" runat="server">
                        <div class="products-step">
                            <span id="div_s1" runat="server" class="label label-success">
                                <asp:Literal ID="Literal_Step1" runat="server" Text='<%$ Resources:Content, GN0000895 %>'
                                    EnableViewState="false" />
                            </span>
                            <span id="div_s2" runat="server" class="label label-default">
                                <asp:Literal ID="Literal_Step2" runat="server" Text='<%$ Resources:Content, GN0000896 %>'
                                    EnableViewState="false" />
                            </span>
                            <span id="div_s3" runat="server" class="productStepBlabel label-defaultuttonOff">
                                <asp:Literal ID="Literal_Step3" runat="server" Text='<%$ Resources:Content, GN0000897 %>'
                                    EnableViewState="false" />
                            </span>
                        </div>

                        <div class="col-xs-12"></div>
                        <div class="col-xs-12"></div>

                        <asp:Wizard Width="100%" ID="Wizard_AddOCSServerGroup" runat="server" CancelButtonType="Button"
                            CancelDestinationPageUrl="~/PCC/OCS/OCSServerGroups.aspx" DisplayCancelButton="True"
                            DisplaySideBar="false" ActiveStepIndex="0">
                            <StartNavigationTemplate>
                                <asp:Button ID="Btn_Start_Cancel" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>"
                                    CommandName="Cancel" CausesValidation="false" />
                                <asp:Button ID="Btn_Start_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                                    CausesValidation="true" CommandName="MoveNext" />
                            </StartNavigationTemplate>
                            <CancelButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <FinishCompleteButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <StepPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <StepNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <StartNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <FinishPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <WizardSteps>
                                <asp:WizardStep ID="ServerGroup" runat="server" Title="Step 1" StepType="Start">
                                    <div class="card">
                                        <div class="header">
                                            <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,GN0000970 %>'
                                                EnableViewState="false"></asp:Literal>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal_ServerGroupName" runat="server" Text='<%$ Resources:Content,GN0000971 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_Name" runat="server" MaxLength="350" data-label="Name"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator_Name" runat="server" ControlToValidate="TxBx_Name"
                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal_Provider" runat="server" Text='<%$ Resources:Content,DGN1110096 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_OCSProvider" runat="server" data-label="Provider">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal_ActiveDirectoryDomain" runat="server" Text='<%$ Resources:Content,M0105 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_ActiveDirectoryDomains" AutoPostBack="true" runat="server" data-label="AD Domain">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal_DefaultResellerLDAPURL" runat="server" Text="<%$ Resources:Content,DGN1110437%> "></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_DefaultResellerLDAPURL" runat="server" Text="<%$ Resources:Content,L0092 %>" data-label="LDAP URL"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator_DefaultResellerLDAPURL" runat="server"
                                                                ControlToValidate="TxBx_DefaultResellerLDAPURL" Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="REV_LDAP" runat="server" Display="None" ControlToValidate="TxBx_DefaultResellerLDAPURL"
                                                                SetFocusOnError="true" Enabled="false" ValidationExpression="<%$Resources:Content,LDAPValidationExpression%>"
                                                                ErrorMessage="<%$Resources:Content,DEV1054%>"></asp:RegularExpressionValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,Lync294%> "></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_CDRConnectionString" runat="server" data-label="CDR Connection String"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <asp:Button ID="Btn_TestConnection" Text="<%$ Resources:Content,TestConnection %>" runat="server" CssClass="btn btn-primary waves-effect" CausesValidation="false" />
                                                </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">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_TimeZone" runat="server" data-label="Time Zone">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <button type="button" class="btn btn-info btn-block btn-xs waves-effect" style="width: 30px;" data-trigger="focus" data-container="body" data-toggle="popover"
                                                        data-placement="left" title="Time zone" data-content="Used to display the call records in correct timings.">
                                                        <i class="material-icons">info</i>
                                                    </button>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,SGDefaultDomain%>"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_DefaultDomain" runat="server" data-label="Default Domain"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,O365CSPDomainNamOptionNote%>"></asp:Literal>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal_MeetURL" runat="server" Text="<%$ Resources:Content,GN00020%> "></asp:Literal>:
                                                </div>
                                                <div class="col-sm-9 col-xs-12">
                                                    <div class="row">
                                                        <div class="col-sm-2 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:RadioButtonList ID="RBL_MeetURLOption" AutoPostBack="true" runat="server" RepeatLayout="Flow"
                                                                    CellPadding="2" CellSpacing="2" data-label="Meet URL Option">
                                                                    <asp:ListItem Value="1" Selected="True">Option 1</asp:ListItem>
                                                                    <asp:ListItem Value="2">Option 2</asp:ListItem>
                                                                    <asp:ListItem Value="3">Option 3</asp:ListItem>
                                                                </asp:RadioButtonList>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-10 col-xs-12">
                                                            <b>Example</b>:<div id="div_Option" runat="server">
                                                                https://meet.domain1.com,
                                        <br />
                                                                https://meet.domain2.com, and so on (one for each SIP domain in your organization)
                                                                <br />
                                                                <font color="Green">For more details please check: <a href="http://technet.microsoft.com/en-us/library/gg425874.aspx" target="_blank">http://technet.microsoft.com/en-us/library/gg425874.aspx</a></font>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-7">
                                                            <div class="form-group">
                                                                <div class="form-line" id="Div_Option3" runat="server" style="display: none;">
                                                                    <asp:TextBox ID="TxBx_MeetURL" Text="<%$ Resources:Content,SMI0249%>"
                                                                        runat="server" Visible="false" data-label="Meet URL"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RFV_MeetURL" runat="server" Display="None" Text="<%$ Resources:Content,SMI0250%>"
                                                                        ControlToValidate="TxBx_MeetURL" Enabled="false"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="REV_MeetURL" runat="server" Display="None" ControlToValidate="TxBx_MeetURL"
                                                                        SetFocusOnError="true" ValidationExpression="^[a-zA-Z0-9\-\.]+\.([a-zA-Z])+$"
                                                                        ErrorMessage="Invalid Base URL" Enabled="false"></asp:RegularExpressionValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>

                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal_FillStyle" runat="server" Text='<%$ Resources:Content,GN0000973 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:ListBox ID="LB_FillStyle" runat="server" data-label="Fill Style">
                                                            <asp:ListItem Text='<%$ Resources:Content,GN0000974%>' Value="1" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text='<%$ Resources:Content,GN0000975%>' Value="2"></asp:ListItem>
                                                        </asp:ListBox>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row" style="display: none">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal_Purpose1" runat="server" Text='<%$ Resources:Content,GN0000976 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:ListBox ID="LB_Purpose" runat="server" data-state="hidden">
                                                            <asp:ListItem Text='<%$ Resources:Content,GN0000009%>' Value="1"></asp:ListItem>
                                                            <asp:ListItem Text='<%$ Resources:Content,GN0000010%>' Value="2"></asp:ListItem>
                                                            <asp:ListItem Text='<%$ Resources:Content,GN000155%>' Value="0" Selected="True"></asp:ListItem>
                                                        </asp:ListBox>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row" id="TR_AutoProvisioning" runat="server">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal_AutomaticProvisioning" runat="server" Text='<%$ Resources:Content,GN0000978 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:CheckBox ID="CB_AutomaticProvisioning" Text="&nbsp;" runat="server" Checked="True" data-label="Auto Provisioning" />
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal_Enabled" runat="server" Text='<%$ Resources:Content,GN000195 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:CheckBox ID="CB_IsEnabled" Text="&nbsp;" runat="server" Checked="True" data-label="Enabled" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal18" runat="server" Text='<%$ Resources:Content,String0001 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-9 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:CheckBox ID="CB_OverRideCredentials" Text="&nbsp;" AutoPostBack="true" runat="server" Checked="False" data-label="Override Domain Credentials" />
                                                        <asp:Literal ID="Literal1800" runat="server" Text='<%$ Resources:Content,String0002 %>'
                                                            EnableViewState="false" />
                                                    </div>
                                                </div>
                                            </div>

                                            <div id="Tbl_Credentials" runat="server" visible="false">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        *<asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,DGN1110434%>"
                                                            EnableViewState="false"></asp:Literal>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_DomainAdminlogin" runat="server" MaxLength="100" data-label="Domain Admin Login"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RFV_DomainAdminlogin" runat="server" ControlToValidate="TxBx_DomainAdminlogin"
                                                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator ID="REV_DomainAdminLogin" runat="server" ControlToValidate="TxBx_DomainAdminlogin"
                                                                    Display="None" ErrorMessage="Enter admin name only without domain" ValidationExpression="^_?[a-zA-Z][a-zA-Z0-9-._]+$"></asp:RegularExpressionValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        *<asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,DGN1110435 %>"
                                                            EnableViewState="false"></asp:Literal>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_DomAdminpassword" TextMode="Password" runat="server" MaxLength="100" data-label="Domain Admin Password" data-secure="1"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RFV_DomAdminpassword" runat="server" ControlToValidate="TxBx_DomAdminpassword"
                                                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>

                                                            </div>
                                                            <%--<br />
                                                            <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />--%>
                                                        </div>
                                                    </div>
                                                </div>
                                                <%--<div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        *<asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,GN0001196 %>"
                                                            EnableViewState="false"></asp:Literal>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_CPass" TextMode="Password" runat="server" MaxLength="100"></asp:TextBox>
                                                                <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToCompare="TxBx_DomAdminpassword"
                                                                    ErrorMessage="<%$ Resources:Content,DGN1110005 %>" ControlToValidate="TxBx_CPass"
                                                                    Display="None"></asp:CompareValidator>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_CPass"
                                                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>--%>
                                            </div>

                                        </div>
                                    </div>
                                    <div class="col-xs-12"></div>
                                    <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001 %>' ID="ValidationSummary1"
                                        runat="server" ShowMessageBox="True" ShowSummary="False" />
                                </asp:WizardStep>
                                <asp:WizardStep ID="WizardStep1" runat="server" Title="Step 2" StepType="Step">
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content,DEV1062 %>'
                                                    EnableViewState="false"></asp:Literal></h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,GN000182 %>'
                                                        EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_PoolName" MaxLength="200" runat="server" data-label="Pool Name"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RFV_PoolName" runat="server" ControlToValidate="TxBx_PoolName"
                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row" id="Tr_ApplicationServer" runat="server">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,Lync224%>"
                                                        EnableViewState="false"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_ASFQDN" MaxLength="200" runat="server" data-label="Application Server FQDN"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-2 col-xs-12">
                                                    <button type="button" class="btn btn-info btn-block btn-xs waves-effect" style="width: 30px;" data-trigger="focus" data-container="body" data-toggle="popover"
                                                        data-placement="left" title="Application Server FQDN" data-content="It would be used for Response Groups.">
                                                        <i class="material-icons">info</i>
                                                    </button>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,Lync010%>"
                                                        EnableViewState="false"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:TextBox ID="TxBx_IPAddresses" TextMode="MultiLine" Rows="3" Width="100%" runat="server" MaxLength="900" data-label="Front End Server(s) IPs"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RFV_IPAddresses" runat="server" ControlToValidate="TxBx_IPAddresses"
                                                            Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                        <EM:FilteredTextBoxExtender FilterType="Custom" ValidChars="0123456789.," ID="FilteredTextBoxExtender1"
                                                            runat="server" TargetControlID="TxBx_IPAddresses" />
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row" id="Div_Chat" runat="server">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,Lync015%>"
                                                        EnableViewState="false"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_ChatServerFQDN" Text="" runat="server" data-label="Chat Server FQDN"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,Lync038%>"
                                                        EnableViewState="false"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_EdgeServiceFQDN" Text="" runat="server" data-label="Access Edge Service FQDN"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <%-- following table is always invisible so not included in audit log --%>
                                            <table class="tblNewListing" id="Tbl_WebsiteSettings" visible="false" runat="server">
                                                <tr>
                                                    <td class="Heading" colspan="2">
                                                        <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content,Lync001 %>'
                                                            EnableViewState="false"></asp:Literal>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <table class="tblNewListing">
                                                            <tr>
                                                                <td class="Heading" colspan="2">&nbsp;<asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,Lync002 %>'
                                                                    EnableViewState="false"></asp:Literal>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="shade" width="30%">*
                                                <asp:Label ID="Label2" runat="server" Text='<%$ Resources:Content,Lync008 %>' EnableViewState="false"></asp:Label>:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox Width="225px" ID="TxBx_InternalWebsiteId" MaxLength="50" Text="<%$ Resources:Content,SMI0244%>"
                                                                        runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_InternalWebsiteId"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="shade" width="30%">*
                                                <asp:Label ID="Label3" runat="server" Text='<%$ Resources:Content,Lync004 %>' EnableViewState="false"></asp:Label>:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TxBx_InternalHTTPIP" runat="server"></asp:TextBox>
                                                                    <asp:CheckBox ID="CB_InternalHTTPIP" Checked="false" AutoPostBack="true" runat="server"
                                                                        Text="<%$ Resources:Content,Lync009 %>" />
                                                                    &nbsp;
                                                <asp:Label ID="Label4" runat="server" Text='<%$ Resources:Content,Lync005 %>' EnableViewState="false"></asp:Label>:
                                                <asp:TextBox Width="225px" ID="TxBx_InternalHTTPPort" MaxLength="5" runat="server"
                                                    Text="<%$ Resources:Content,GN00001222%>"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_InternalHTTPIP"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TxBx_InternalHTTPIP"
                                                                        Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                                        ValidationExpression="<%$ Resources:Content,ValidateIP%>" />
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxBx_InternalHTTPPort"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="shade" width="30%">*
                                                <asp:Label ID="Label5" runat="server" Text='<%$ Resources:Content,Lync006 %>' EnableViewState="false"></asp:Label>:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TxBx_InternalHTTPSIP" runat="server"></asp:TextBox>
                                                                    <asp:CheckBox ID="CB_InternalHTTPSIP" Checked="false" AutoPostBack="true" runat="server"
                                                                        Text="<%$ Resources:Content,Lync009 %>" />
                                                                    &nbsp;
                                                <asp:Label ID="Label6" runat="server" Text='<%$ Resources:Content,Lync007 %>' EnableViewState="false"></asp:Label>:
                                                <asp:TextBox Width="225px" ID="TxBx_InternalHTTPSPort" MaxLength="5" runat="server"
                                                    Text="<%$ Resources:Content,SMI0245%>"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_InternalHTTPSIP"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxBx_InternalHTTPSIP"
                                                                        Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                                        ValidationExpression="<%$ Resources:Content,ValidateIP%>" />
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TxBx_InternalHTTPSPort"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <table class="tblNewListing">
                                                            <tr>
                                                                <td class="Heading" colspan="2">&nbsp;<asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content,Lync003 %>'
                                                                    EnableViewState="false"></asp:Literal>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="shade" width="30%">*
                                                <asp:Label ID="Label7" runat="server" Text='<%$ Resources:Content,Lync008 %>' EnableViewState="false"></asp:Label>:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox Width="225px" ID="TxBx_ExternalWebsiteId" MaxLength="50" Text="<%$ Resources:Content,SMI0246%>"
                                                                        runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TxBx_ExternalWebsiteId"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="shade" width="30%">*
                                                <asp:Label ID="Label8" runat="server" Text='<%$ Resources:Content,Lync004 %>' EnableViewState="false"></asp:Label>:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TxBx_ExternalHTTPIP" runat="server"></asp:TextBox>
                                                                    <asp:CheckBox ID="CB_ExternalHTTPIP" Checked="false" AutoPostBack="true" runat="server"
                                                                        Text="<%$ Resources:Content,Lync009 %>" />
                                                                    &nbsp;
                                                <asp:Label ID="Label9" runat="server" Text='<%$ Resources:Content,Lync005 %>' EnableViewState="false"></asp:Label>:
                                                <asp:TextBox Width="225px" ID="TxBx_ExternalHTTPPort" MaxLength="5" runat="server"
                                                    Text="<%$ Resources:Content,SMI0247%>"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TxBx_ExternalHTTPIP"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_ExternalHTTPIP"
                                                                        Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                                        ValidationExpression="<%$ Resources:Content,ValidateIP%>" />
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TxBx_ExternalHTTPPort"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="shade" width="30%">*
                                                <asp:Label ID="Label10" runat="server" Text='<%$ Resources:Content,Lync006 %>' EnableViewState="false"></asp:Label>:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TxBx_ExternalHTTPSIP" runat="server"></asp:TextBox>
                                                                    <asp:CheckBox ID="CB_ExternalHTTPSIP" Checked="false" AutoPostBack="true" runat="server"
                                                                        Text="<%$ Resources:Content,Lync009 %>" />
                                                                    &nbsp;
                                                <asp:Label ID="Label11" runat="server" Text='<%$ Resources:Content,Lync007 %>' EnableViewState="false"></asp:Label>:
                                                <asp:TextBox Width="225px" ID="TxBx_ExternalHTTPSPort" MaxLength="5" runat="server"
                                                    Text="<%$ Resources:Content,SMI0248%>"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TxBx_ExternalHTTPSIP"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TxBx_ExternalHTTPSIP"
                                                                        Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                                        ValidationExpression="<%$ Resources:Content,ValidateIP%>">
                                                                    </asp:RegularExpressionValidator>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="TxBx_ExternalHTTPSPort"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            
                                            <div id="Tr_ManageDns" runat="server">
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        <asp:Label ID="Lbl_ManageDns" runat="server" Text='<%$ Resources:Content,String399 %>'
                                                            EnableViewState="false"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_ManageDns" Text="&nbsp;" runat="server" AutoPostBack="true" Checked="false" data-label="Manage DNS" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="Tbl_ManageDNS" visible="false" runat="server">
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        <asp:Label ID="Lbl_DnsServer" runat="server" Text='<%$ Resources:Content,String400 %>'
                                                            EnableViewState="false"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="ddl_DnsServer" runat="server" data-label="DNS Server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content, SPT002165%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_ADNSTemplate" runat="server" data-label="DNS Template">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>



                                        </div>
                                    </div>
                                    <div class="row">&nbsp;</div>
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content,Lync323 %>'
                                                    EnableViewState="false"></asp:Literal></h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    *<asp:Literal ID="Literal35" runat="server" Text='<%$ Resources:Content,Lync324 %>' EnableViewState="false"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_MaxLoad" runat="server" Text="<%$ Resources:Content,SMI0202%>" data-label="Maximum Load"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator24" runat="server" ControlToValidate="TxBx_MaxLoad"
                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                            <asp:CompareValidator ID="CompareValidator2" runat="server" ErrorMessage="<%$ Resources:Content,L00159 %>"
                                                                Display="None" ControlToValidate="TxBx_MaxLoad" Type="Integer" SetFocusOnError="true"
                                                                Operator="GreaterThanEqual" ValueToCompare="0"></asp:CompareValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xs-12"></div>
                                    <asp:ValidationSummary ID="ValidationSum_1" runat="server" HeaderText='<%$ Resources:Content,EM000001 %>'
                                        ShowMessageBox="True" ShowSummary="False" />
                                </asp:WizardStep>
                                <asp:WizardStep ID="WizardStep2" runat="server" Title="Step 3" StepType="Finish">
                                    <div class="card">
                                        <div class="header">
                                            <asp:Literal ID="Literal14" runat="server" Text='<%$ Resources:Content,SyncDialinConferenceAccess %>'
                                                EnableViewState="false"></asp:Literal>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:GridView ID="GV_DialinAccessNumbers" CssClass="table table-bordered table-striped table-hover table-layout-fixed"
                                                        EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Display Number" HeaderStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_DisplayNumber" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DisplayNumber")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Display Name" HeaderStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_DisplayName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DisplayName")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,SIPURI%>" HeaderStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_PrimaryUri" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PrimaryURI")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,CountryCode%>" HeaderStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_CountryCode" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CountryCode")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,String1027%>" HeaderStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_Number" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Number")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,PrimaryLanguage%>" HeaderStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_PrimaryLanguage" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PrimaryLanguage")%>'></asp:Label>
                                                                    <asp:HiddenField ID="Hf_SecondaryLanguages" runat="server" Value='<%# DataBinder.Eval(Container, "DataItem.SecondaryLanguages")%>'></asp:HiddenField>
                                                                    <asp:HiddenField ID="Hf_LineUri" runat="server" Value='<%# DataBinder.Eval(Container, "DataItem.CountryCode") + DataBinder.Eval(Container, "DataItem.Number")%>'></asp:HiddenField>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Region" HeaderStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_Region" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Regions")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xs-12"></div>
                                </asp:WizardStep>
                            </WizardSteps>
                        </asp:Wizard>
                    </asp:Panel>
                </div>
            </div>
        </ContentTemplate>
    </ajax:UpdatePanel>
    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
    </script>
</asp:Content>
