<%@ Page Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true"
    CodeFile="UpdateMerchantECOM.aspx.cs" Inherits="UpdateMerchantECOM" %>

<%@ Register Src="../UserControls/DatePicker.ascx" TagName="DatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

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


        function showgeneral() {
            var level = '<%=clLevel %>';
            document.getElementById('td1').className = 'on';
            document.getElementById('td2').className = 'onEnd';
            document.getElementById('td5').className = 'off';
            document.getElementById('td6').className = 'offEndLast';
            document.getElementById('td7').className = 'off';
            document.getElementById('td8').className = 'offEndLast';
            document.getElementById('td5').style.visibility = "visible";
            document.getElementById('td6').style.visibility = "visible";
            document.getElementById('td7').style.visibility = "visible";
            document.getElementById('td8').style.visibility = "visible";
            document.getElementById('tbl1').style.display = 'block';
            document.getElementById('tbl3').style.display = 'none';
            document.getElementById('tbl4').style.display = 'none';
        }
        function showservice() {
            var level = '<%=clLevel %>'
            document.getElementById('td1').className = 'off';
            document.getElementById('td2').className = 'offEndLast';
            document.getElementById('td5').className = 'on';
            document.getElementById('td6').className = 'onEnd';
            document.getElementById('td7').className = 'off';
            document.getElementById('td8').className = 'offEndLast';
            document.getElementById('tbl1').style.display = 'none';
            document.getElementById('tbl3').style.display = 'block';
            document.getElementById('tbl4').style.display = 'none';
        }
        function showterminals() {

            var level = '<%=clLevel %>';
            document.getElementById('td1').className = 'off';
            document.getElementById('td2').className = 'offEndLast';
            document.getElementById('td5').className = 'off';
            document.getElementById('td6').className = 'offEnd';
            document.getElementById('td7').className = 'on';
            document.getElementById('td8').className = 'onEnd';
            document.getElementById('tbl1').style.display = 'none';
            document.getElementById('tbl3').style.display = 'none';
            document.getElementById('tbl4').style.display = 'block';
        }
        function validate() {
            var message = "";
            var level = '<%=clLevel %>';
        if (document.getElementById("<%=txtAccNoGeneral.ClientID%>").value == "") {
            message += "Account Number can not be blank\n";
            document.getElementById("<%=txtAccNoGeneral.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        if (document.getElementById("<%=txtRetailName.ClientID%>").value == "") {
            message += "Merchant Name can not be blank\n";
            document.getElementById("<%=txtRetailName.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        if (document.getElementById("<%=txtRetailNameAr.ClientID%>").value == "") {
            message += "Merchant Name (Arabic) can not be blank\n";
            document.getElementById("<%=txtRetailNameAr.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        if (document.getElementById("<%=ddlAddressCity.ClientID %>").selectedIndex == 0) {
            message += "City can not be blank\n";
            document.getElementById("<%=ddlAddressCity.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        if (document.getElementById("<%=ddlRelationshipOfficer.ClientID %>").selectedIndex == 0) {
            message += "Relationship Officer can not be blank\n";
            document.getElementById("<%=ddlRelationshipOfficer.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        if (document.getElementById("<%=ddlBusinessClass.ClientID %>").selectedIndex == 0) {
            message += "Business Class can not be blank\n";
            document.getElementById("<%=ddlBusinessClass.ClientID%>").style.backgroundColor = "#c8d1e4";
        }


        if (document.getElementById("<%=txtRegNo.ClientID%>").value == "") {
            message += "CRN ID can not be blank\n";
            document.getElementById("<%=txtRegNo.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        
        if (document.getElementById("<%=txtContactname.ClientID%>").value == "") {
            message += "Contact Name can not be blank\n";
            document.getElementById("<%=txtContactname.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

       
        if (document.getElementById("<%=txtPOBox.ClientID%>").value == "") {
            message += "P.O. Box can not be blank\n";
            document.getElementById("<%=txtPOBox.ClientID%>").style.backgroundColor = "#c8d1e4";
        }

        if (document.getElementById("<%=txtEngAdd1.ClientID%>").value == "") {
            message += "Address can not be blank\n";
            document.getElementById("<%=txtEngAdd1.ClientID%>").style.backgroundColor = "#c8d1e4";
        }
        if (document.getElementById("<%=txtTerminalID.ClientID%>").value == "") {
            message += "Terminal ID can not be blank\n";
            document.getElementById("<%=txtEngAdd1.ClientID%>").style.backgroundColor = "#c8d1e4";
        }
        if (document.getElementById("<%=txtTerminalLocation.ClientID%>").value == "") {
            message += "Terminal Location can not be blank\n";
            document.getElementById("<%=txtEngAdd1.ClientID%>").style.backgroundColor = "#c8d1e4";
        }
        

        

        if (message.length > 0) {
            message = "please notice the following requirments:\n\n" + message;
            alert(message);
            return false;
        }
        return true;
    }

    function total() {
        var a = document.getElementById("<%=txtPercentB.ClientID %>").value;
        var b = document.getElementById("<%=txtPercentM.ClientID %>").value;
        var c = document.getElementById("<%=lblPercent.ClientID %>");
        c.innerHTML = Number(a) + Number(b);

        return true;
    }

    function OnKeyPressSerialText(sender, eventArgs) {
        var char = eventArgs.get_keyCharacter();
        //will allow just letters, numbers and "-" letter             var exp = /[^a-zA-Z0-9-]/g;
        if (exp.test(char)) {
            eventArgs.set_cancel(true);
        }
    }

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
        <tr align="center">
            <td valign="top">
                <!------------------------------------body St  ---------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                    <tr>
                        <td>E-Commerce Merchant Details
                        </td>
                    </tr>
                </table>
                <br>
                <!------------------------------------body End1 ----------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                    <tr>
                        <td align="center">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Frow">
                                <tr>
                                    <td>
                                        <uc1:DatePicker ID="DatePicker1" runat="server" width="0" />
                                    </td>
                                </tr>
                            </table>

                            <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Always">
                                <ContentTemplate>
                                    <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                           <asp:Panel ID="pnlBR" runat="server" Width="100%">
                                <table width="95%" class="tabTb" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td align="left">
                                            
                                             <table border="0" cellpadding="0" cellspacing="0" dir="ltr">
                                                <tr>
                                                    <td id="td1" class="on">
                                                        <a href="#" onclick="showgeneral();">General Details</a>
                                                    </td>
                                                    <td id="td2" class="onEnd">
                                                    </td>
                                                    
                                                    <td id="td5" class="off">
                                                        <a href="#" onclick="showservice();">Services & Charges</a>
                                                    </td>
                                                    <td id="td6" class="offEndLast">
                                                    </td>
                                                    <td id="td7" class="off">
                                                        <a href="#" onclick="showterminals();">Terminals</a>
                                                    </td>
                                                    <td id="td8" class="offEnd">
                                                    </td>
                                                     
                                                    </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                <table id="tbl1" style="display: block" border="0" width="95%" cellpadding="0" cellspacing="0"
                                    class="add_ItemTB1">
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">Registration Date
                                        </td>
                                        <td class="tdNormal">
                                            <uc1:DatePicker ID="dateRegDate" runat="server" width="250" Visible="false" />
                                            <br />
                                            <asp:Label ID="dateRegDateOld" runat="server" class="fieldNormalOld"></asp:Label>
                                            <asp:TextBox ID="txtRegDate" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox></td>
                                        <td class="tdNormal" style="width: 10%"></td>
                                        <td class="tdNormal" style="width: 15%">Retailer ID</td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblRetailerID" runat="server" class="fieldNormal"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">Client Number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblClientNo" runat="server" class="fieldNormal"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%"></td>
                                        <td class="tdNormal" style="width: 15%"><%--Merchant Fee Account Number--%></td>
                                        <td class="tdNormal" style="width: 30%">
                                            <%--<asp:TextBox ID="txtfeemerchantaccno" ReadOnly="True" runat="server" class="fieldNormal"
                                                Width="150"></asp:TextBox>--%>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">Account Number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="txtAccNoGeneral" ReadOnly="true" runat="server" class="fieldNormal" Width="150"></asp:TextBox>
                                            <asp:Button ID="btnAccSer" runat="server" Text="Apply to Service Accounts"
                                                class="Btn_L_Normal1" OnClick="btnAccSer_Click" Visible="False" /><br />
                                            <asp:TextBox ID="txtAccNoGeneralOld" runat="server" class="fieldNormalold" Enabled="false" Visible="false" Width="150"></asp:TextBox>
                                        </td>
                                        <td class="tdNormal" style="width: 10%"></td>
                                        <td class="tdNormal" style="width: 45%" colspan="2">
                                            <asp:Button ID="btnChangeAccount" runat="server" Text="Change Account"
                                                class="Btn_L_Normal1" OnClick="btnChangeAccount_Click" Visible="False" />
                                            <asp:Button ID="btnVerifyAcc" runat="server" Text="Verify Account"
                                                class="Btn_L_Normal1" OnClick="btnVerifyAcc_Click" Visible="False" />
                                            <asp:Button ID="btnCancelAcc" runat="server" Text="Cancel"
                                                class="Btn_L_Normal1" OnClick="btnCancelAcc_Click" Visible="False" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal">Merchant Name (Arabic)
                                        </td>
                                        <td class="tdNormal">


                                            <asp:TextBox ID="txtRetailNameAr" runat="server" class="fieldNormal" MaxLength="100"
                                                CausesValidation="True"></asp:TextBox><br />
                                            <asp:TextBox ID="txtRetailNameArOld" runat="server" class="fieldNormalold" Enabled="false" Visible="false"></asp:TextBox>
                                        </td>
                                        <td class="tdNormal"></td>
                                        <td class="tdNormal">Merchant Name (English)
                                        </td>
                                        <td class="tdNormal">
                                            <asp:RegularExpressionValidator ID="ReqValContactPerson_SpecialChars" runat="server"
                                                ControlToValidate="txtRetailName" Display="Dynamic"
                                                ErrorMessage="Please enter valid name" SetFocusOnError="True"
                                                ValidationExpression="[a-zA-Z0-9 ]+"></asp:RegularExpressionValidator>
                                            <asp:TextBox ID="txtRetailName" runat="server" class="fieldNormal" MaxLength="100" ></asp:TextBox><br />
                                            <asp:TextBox ID="txtRetailNameOld" runat="server" class="fieldNormalold" Enabled="false" Visible="false"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal">Branch
                                        </td>
                                        <td class="tdNormal">
                                            <asp:DropDownList ID="ddlBranch" runat="server" DataTextField="branch_cd" DataValueField="branch_cd"
                                                class="fieldNormal" AutoPostBack="True"
                                                OnSelectedIndexChanged="ddlBranch_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            <asp:TextBox ID="txtBranch" runat="server" class="fieldNormal" ReadOnly="True"></asp:TextBox>
                                        </td>
                                        <td class="tdNormal"></td>
                                        <td class="tdNormal">Business Class</td>
                                        <td class="tdNormal">
                                            <asp:DropDownList ID="ddlBusinessClass" runat="server" DataTextField="business_NAME"
                                                DataValueField="MCC" class="fieldNormal">
                                            </asp:DropDownList><br />
                                            <asp:DropDownList ID="ddlBusinessClassOld" runat="server" DataTextField="business_Type"
                                                DataValueField="MCC" class="fieldNormalold" Enabled="false" Visible="false">
                                            </asp:DropDownList></td>
                                    </tr>

                                    <tr style="display: none">
                                        <td class="tdNormal">Business Unit
                                        </td>
                                        <td class="tdNormal">
                                            <asp:DropDownList ID="ddlBusinessUnit" runat="server" DataTextField="description"
                                                DataValueField="bu_code" class="fieldNormal" AutoPostBack="True" OnSelectedIndexChanged="ddlBusinessUnit_SelectedIndexChanged">
                                            </asp:DropDownList><br />
                                            <asp:DropDownList ID="ddlBusinessUnitOld" runat="server" DataTextField="description"
                                                DataValueField="bu_code" class="fieldNormalold" Enabled="false" Visible="false">
                                            </asp:DropDownList>
                                        </td>
                                        <td class="tdNormal"></td>
                                        <td class="tdNormal">Business Unit Account
                                        </td>
                                        <td class="tdNormal">
                                            <asp:TextBox ID="txtBUAcc" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td class="tdNormal">Relationship Officer </td>
                                        <td class="tdNormal">
                                            <asp:DropDownList ID="ddlRelationshipOfficer" runat="server" DataTextField="RSO_NAME"
                                                DataValueField="RSO_CODE" class="fieldNormal">
                                            </asp:DropDownList><br />
                                            <asp:DropDownList ID="ddlRelationshipOfficerOld" runat="server" DataTextField="RSO_NAME"
                                                DataValueField="RSO_CODE" class="fieldNormalold" Enabled="false" Visible="false">
                                            </asp:DropDownList>
                                        </td>
                                        <td class="tdNormal"></td>
                                        <td class="tdNormal">Registration Number
                                        </td>
                                        <td class="tdNormal">
                                            <asp:TextBox ID="txtRegNo" runat="server"  MaxLength="20" class="fieldNormal"></asp:TextBox><br />
                                            <asp:TextBox ID="txtRegNoOld" runat="server" class="fieldNormalold" Enabled="false" Visible="false"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" colspan="5">
                                            <br />
                                            <fieldset id="addItem">
                                                <legend id="addItem">Address Details</legend>
                                            </fieldset>
                                            <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Contact Name
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtContactname" runat="server"  MaxLength="100"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtContactnameOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">P.O Box
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtPOBox" runat="server"  MaxLength="30"   class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtPOBoxOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Address
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtEngAdd1" runat="server"  MaxLength="100"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtEngAdd1Old" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtEngAdd2" runat="server"  MaxLength="50"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtEngAdd2Old" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%"></td>
                                                    <td class="tdNormal" style="width: 30%"></td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtEngAdd3" runat="server" MaxLength="50"   class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtEngAdd3Old" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        
                                                    </td>
                                                </tr>
                                                
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Post Code
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtPostCode" runat="server"  MaxLength="30"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtPostCodeOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%"></td>
                                                    <td class="tdNormal" style="width: 30%"></td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">City
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:DropDownList ID="ddlAddressCity" runat="server" DataTextField="c_desc" DataValueField="c_code"
                                                            class="fieldNormal">
                                                        </asp:DropDownList><br />
                                                        <asp:DropDownList ID="ddlAddressCityOld" runat="server" DataTextField="c_desc" DataValueField="c_code"
                                                            class="fieldNormalOld" Enabled="false" Visible="false">
                                                        </asp:DropDownList>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">Country
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:DropDownList ID="ddlAddressCountry" runat="server" class="fieldNormal">
                                                            <asp:ListItem Value="682">Saudi Arabia</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Tel Work
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtTelWork" runat="server"  MaxLength="20"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtTelWorkOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">Tel Other
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtTelOther" runat="server"   MaxLength="20"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtTelOtherOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">fax
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtFax" runat="server"   MaxLength="20" class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtFaxOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">Mobile 1</td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtMobile" runat="server"  MaxLength="20"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtMobileOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Mobile 2
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtMobile2" runat="server"   MaxLength="20" class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="TextBox9" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">Mobile 3
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtMobile3" runat="server"  MaxLength="20"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="TextBox11" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Email Address 1</td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtEmail" runat="server"   MaxLength="50"  class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="txtEmailOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">Email Address 2
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtEmail2" runat="server"   MaxLength="50"  class="fieldNormal"></asp:TextBox><br />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 15%">Email Address 3
                                                    </td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:TextBox ID="txtEmail3" runat="server"   MaxLength="50" class="fieldNormal"></asp:TextBox><br />
                                                        <asp:TextBox ID="TextBox10" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                    </td>
                                                    <td class="tdNormal" style="width: 10%"></td>
                                                    <td class="tdNormal" style="width: 15%">Posting Method</td>
                                                    <td class="tdNormal" style="width: 30%">
                                                        <asp:DropDownList ID="ddlPostingMethod" runat="server" DataTextField="POSTING_METHOD_NAME"
                                                            DataValueField="PM_CODE" class="fieldNormal"></asp:DropDownList>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" colspan="5">
                                            <table border="0" cellpadding="0" style="width: 100%" cellspacing="0" class="action_TB_BgaddItem">
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="btnSave" runat="server" Text="   Save   " class="Btn_M_Normal" OnClick="btnSave_Click" OnClientClick="return validate()" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                      
                                </table>
                                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <table id="tbl3" style="display: block" border="0" width="95%" style="width: 95%"
                                            cellpadding="0" cellspacing="0" class="contTB">
                                            <tr>
                                                <td>
                                                    <table border="0" width="100%" cellpadding="0" cellspacing="0" style="width: 100%"
                                                        class="add_ItemTB">
                                                        <tr>
                                                            <td class="tdNormal">
                                                                <table border="0" style="width: 25%" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                                                    <tr>
                                                                        <td class="tdNormal" style="width: 20%">List Legend
                                                                        </td>
                                                                        <td class="tdNormal" style="width: 40%">
                                                                            <asp:TextBox ID="TextBox5" runat="server" Text="Deleted" BackColor="SkyBlue" class="fieldNormal"></asp:TextBox>
                                                                        </td>
                                                                        <td class="tdNormal" style="width: 40%">
                                                                            <asp:TextBox ID="TextBox6" runat="server" Text="Modified" BackColor="Tan" class="fieldNormal"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                                <asp:GridView ID="gvServices" CssClass="gridMaster" runat="server" AutoGenerateColumns="False"
                                                                    DataKeyNames="as_code" AllowPaging="True" AllowSorting="True" CellPadding="4"
                                                                    ForeColor="#333333" GridLines="None" EmptyDataText="There are no Results" OnRowCommand="gvServices_RowCommand"
                                                                    OnRowDataBound="gvServices_RowDataBound" OnRowCreated="gvServices_RowCreated">
                                                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />
                                                                    <Columns>
                                                                        <asp:BoundField DataField="service_name" HeaderText="Service Id" />
                                                                        <asp:BoundField DataField="acct_number" HeaderText="Account No" />
                                                                        <asp:BoundField DataField="fee_percent" HeaderText="Fee Percentage (Merchant)" />
                                                                        <asp:BoundField DataField="bank_fee_percent" HeaderText="Fee Percentage (Bank)" />
                                                                        <asp:BoundField DataField="record_date" HeaderText="Date" />
                                                                        <asp:BoundField DataField="key_entry" HeaderText="Key Entry" />
                                                                        <%-- 6--%>
                                                                        <asp:BoundField DataField="vat_fee_code" HeaderText="VAT" />

                                                                        <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="u" Text="Edit"
                                                                            ImageUrl="~/Images/edit.jpg">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>
                                                                        <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="d" Text="Delete"
                                                                            ImageUrl="~/Images/delete.jpg">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>
                                                                        <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="ar" Text="Add Service Report"
                                                                            ImageUrl="~/Images/reports/add.png">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>
                                                                        <asp:BoundField DataField="rec_flag" HeaderText="" />
                                                                        <asp:BoundField DataField="status" HeaderText="" />
                                                                        <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="dr" Text="Delete Service Report"
                                                                            ImageUrl="~/Images/reports/delete.png">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>
                                                                        <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="car" Text="Change Account Report"
                                                                            ImageUrl="~/Images/reports/edit.png">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>
                                                                    </Columns>
                                                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                                    <EditRowStyle BackColor="#999999" />
                                                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" HorizontalAlign="Right" />
                                                                </asp:GridView>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgForm">
                                                        <tr>
                                                            <td>
                                                                <asp:Button ID="btnAddServices" runat="server" Text="     Add     " class="Btn_M_Normal"
                                                                    OnClick="btnAddServices_Click" />
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdNormal">
                                                    <asp:Panel ID="pnlServices" runat="server" Width="100%" Visible="false">
                                                        <fieldset id="addItem">
                                                            <legend id="addItem">Service Details</legend>
                                                        </fieldset>

                                                        <script language="javascript" type="text/javascript">
                                                            showservice();
                                                        </script>

                                                        <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">Service ID
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:DropDownList ID="ddlServices" runat="server" DataTextField="service_name" DataValueField="Service_code"
                                                                        class="fieldNormal" AutoPostBack="True" OnSelectedIndexChanged="ddlServices_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:DropDownList ID="ddlCurrancy" Visible="false" runat="server" DataTextField="currency" DataValueField="iso_code"
                                                                        class="fieldNormal">
                                                                    </asp:DropDownList><br />
                                                                    <asp:DropDownList ID="ddlCurrancyOld" Visible="false" runat="server" DataTextField="currency" DataValueField="iso_code"
                                                                        class="fieldNormalOld" Enabled="false" >
                                                                    </asp:DropDownList>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">Fee Percentage (merchant)
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:TextBox ID="txtPercentM" runat="server"  MaxLength="14"  class="fieldNormal" OnBlur="return total()"></asp:TextBox><br />
                                                                    <asp:TextBox ID="txtPercentMOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">Fee Percentage (bank)
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:TextBox ID="txtPercentB" runat="server" MaxLength="14" class="fieldNormal" OnBlur="return total()"></asp:TextBox><br />
                                                                    <asp:TextBox ID="txtPercentBOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">Total Fee Percentage 
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:Label ID="lblPercent" runat="server" class="fieldNormal"></asp:Label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <asp:Label ID="lblPICapacity" runat="server" class="fieldNormal">Fee Capacity</asp:Label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:TextBox ID="txtPICapacity" runat="server" MaxLength="14"  Visible="false" class="fieldNormal"></asp:TextBox><br />
                                                                    <asp:TextBox ID="txtPICapacityOld" runat="server" Visible="false" class="fieldNormalOld" Enabled="false" ></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr runat="server" id="PIRow" visible="false">
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <asp:Label ID="lblPIWaive" runat="server" class="fieldNormal" Visible="false">Waive NCB Cards</asp:Label>
                                                                    Payment Delay
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:CheckBox ID="chkPIWaive" runat="server" class="fieldNormal" Visible="false" /><br />
                                                                    <asp:CheckBox ID="chkPIWaiveOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false" />
                                                                    <asp:DropDownList ID="ddlPayDelay" runat="server" class="fieldNormal" DataTextField="Text" DataValueField="ID">
                                                                        <asp:ListItem>1</asp:ListItem>
                                                                        <asp:ListItem>2</asp:ListItem>
                                                                        <asp:ListItem>3</asp:ListItem>
                                                                        <asp:ListItem>4</asp:ListItem>
                                                                        <asp:ListItem>5</asp:ListItem>
                                                                        <asp:ListItem>6</asp:ListItem>
                                                                        <asp:ListItem>7</asp:ListItem>
                                                                        <asp:ListItem>8</asp:ListItem>
                                                                        <asp:ListItem>9</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%"></td>
                                                                <td class="tdNormal" style="width: 30%"></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">Merchant Account Number
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:TextBox ID="txtAccNo" runat="server"  class="fieldNormal" MaxLength="16"></asp:TextBox><br />
                                                                    <asp:TextBox ID="txtAccNoOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">Intermediate Account Number
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:TextBox ID="txtInterAccNo" runat="server"  class="fieldNormal" MaxLength="16"></asp:TextBox><br />
                                                                    <asp:TextBox ID="txtInterAccNoOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    Vate Rate %
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:DropDownList ID="ddlVat" runat="server" DataTextField="V_DESCRIPTION" DataValueField="V_CODE"
                                                                        class="fieldNormal" AutoPostBack="True">
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">Cost Branch
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:DropDownList ID="ddlBranchAcc" runat="server" DataTextField="branch_cd" DataValueField="branch_cd"
                                                                        class="fieldNormal" AutoPostBack="True"
                                                                        OnSelectedIndexChanged="ddlBranchAcc_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                    <asp:TextBox ID="txtbranchAccName" MaxLength="50"  runat="server" class="fieldNormal"></asp:TextBox><br />
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">Branch Account Number
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <asp:TextBox ID="txtBrAccNo" runat="server" ReadOnly="true" class="fieldNormal" MaxLength="16"></asp:TextBox><br />
                                                                    <asp:CheckBox ID="chkKeyEntry" runat="server" class="fieldNormal" Visible="false" />
                                                                    <asp:CheckBox ID="chkKeyEntryOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false" />
                                                                    <asp:TextBox ID="txtBrAccNoOld" runat="server" class="fieldNormalOld" Enabled="false" Visible="false"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                                            <tr>
                                                                <td>
                                                                    <asp:Button ID="btnCancelService" runat="server" Text="   Cancel   " class="Btn_M_Normal"
                                                                        CausesValidation="False" OnClick="btnCancelService_Click" />
                                                                    <asp:Button ID="btnSaveService" runat="server" Text="   Save   " class="Btn_M_Normal"
                                                                        OnClick="btnSaveService_Click" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </asp:Panel>
                            <!-----------------------------------------Terminal Details ----------------------------------->
                              <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>

                                        <table id="tbl4" style="display: block" border="0" width="95%" style="width: 95%"
                                            cellpadding="0" cellspacing="0" class="contTB">
                                             <tr>
                                                <td>
                                             <!---------------------------------BEGIN List of Terminals ----------------------------------->
                                                 <table border="0" width="100%" cellpadding="0" cellspacing="0" style="width: 100%"
                                                        class="add_ItemTB">
                                                    <tr>
                                                       <td class="tdNormal" colspan="5">
                                                              <table border="0" style="width: 15%" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                                                <tr>
                                                                    <td class="tdNormal" style="width: 20%">
                                                                        List Legend
                                                                    </td>
                                                                     <td class="tdNormal" style="width: 80%">
                                                                       
                                                                        <asp:TextBox ID="TextBox8" runat="server" Text="NEW" BackColor="#F7F6F3" class="fieldNormal"></asp:TextBox>
                                                                    </td>
                                                                    <td class="tdNormal" style="width: 40%">
                                                                            <asp:TextBox ID="TextBox1" runat="server" Text="Cancelled" BackColor="SkyBlue" class="fieldNormal"></asp:TextBox>
                                                                        </td>
                                                                   
                                                                  </tr>
                                                                </table>
                                                                <asp:GridView ID="gvTerminals" runat="server" AllowPaging="True" AllowSorting="True"														
                                                                    AutoGenerateColumns="False" CellPadding="4" CssClass="gridMaster" DataKeyNames="dvl_code"
                                                                    EmptyDataText="There are no Results" ForeColor="#333333" GridLines="None" OnRowCommand="gvTerminals_RowCommand"
                                                                    OnRowDataBound="gvTerminals_RowDataBound" OnRowCreated="gvTerminals_RowCreated"
                                                                    >
                                                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />
                                                                    <Columns>
                                                                        <asp:BoundField DataField="terminal_id" HeaderText="Terminal Id" />
                                                                        <asp:BoundField DataField="terminal_location" HeaderText="Terminal Location" />
                                                                        <asp:BoundField DataField="terminal_status" HeaderText="Status" />
                                                                        <%--<asp:ButtonField ButtonType="Image" CommandName="u" ImageUrl="~/Images/edit.jpg"
                                                                            ItemStyle-Width="20px" Text="Edit">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>--%>
                                                                        <asp:ButtonField ButtonType="Image" CommandName="d" ImageUrl="~/Images/delete.jpg"
                                                                            ItemStyle-Width="20px" Text="Delete">
                                                                            <ItemStyle Width="30px" />
                                                                        </asp:ButtonField>
                                                                        <%--<asp:ButtonField ButtonType="Image" CommandName="r" ImageUrl="~/Images/update.jpg"
                                                                            ItemStyle-Width="20px" Text="reset">
                                                                            <ItemStyle Width="30px" /> </asp:ButtonField>--%>
                                                                    </Columns>
                                                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                                    <EditRowStyle BackColor="#999999" />
                                                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" HorizontalAlign="Right" />						  
                                                                </asp:GridView>
                                                                </td>
                                                               </tr>
                                                               <tr>
                                                            <td class="tdNormal" style="width: 20%">
                                                                Go To Page:
                                                                <asp:DropDownList ID="ddlPages" runat="server" class="fieldNormal" AutoPostBack="True"
                                                                    Width="50px" OnSelectedIndexChanged="ddlPages_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </td>
                                                            <td class="tdNormal">
                                                            </td>
                                                            <td class="tdNormal">
                                                            </td>
                                                            <td class="tdNormal">
                                                            </td>
                                                            <td class="tdNormal">
                                                            </td>
                                                        </tr>
                                                   </table>
                                                   <!----------------------------ADD Terminals----------------------------------------------------->
                                                   <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgForm">
                                                        <tr>
                                                            <td>
                                                                <asp:Button ID="btnAddTerminal" runat="server" class="Btn_M_Normal" OnClick="btnAddTerminal_Click"
                                                                    Text="     Add     " />
                                                        </tr>
                                                    </table>
                                               <!----------------------------END OF ADD Terminals----------------------------------------------------->
                                                 </td>
                                               </tr>
                                              <!----------------------------END OF List Terminals----------------------------------------------------->
                                               <tr>
                                                <td class="tdNormal">
                                                    <asp:Panel ID="pnlTerminals" runat="server" Width="100%" Visible="false">
                                                          <fieldset id="addItem">
                                                            <legend id="addItem">Terminal Details</legend>
                                                          </fieldset>
                                                            
                                                         <!-----------------------------BEGIN Terminal------------------------------------------->                                                       
                                                           <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                            <tr>
                                                                    <td colspan="5">
                                                                         
                                                                        <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                                            <tr>
                                                                                <td class="tdNormal" style="width: 15%">Terminal ID
                                                                                </td>
                                                                                <td class="tdNormal" style="width: 20%">
                                                                                    <asp:TextBox ID="txtTerminalID" runat="server"  MaxLength="8" class="fieldNormal"></asp:TextBox><br />
                                                                                    
                                                                                </td>
                                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                                <td class="tdNormal" style="width: 15%">Terminal Location
                                                                                </td>
                                                                                <td class="tdNormal" style="width: 10%">
                                                                                    <asp:TextBox ID="txtTerminalLocation" runat="server"  MaxLength="250"  class="fieldNormal"></asp:TextBox><br />
                                                                                     
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                          <!-----------------------------END OF Terminal Details ------------------------------------------>
                                                          <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Button ID="btnCancelTerminal" runat="server" Text="   Cancel   " class="Btn_M_Normal"
                                                                            CausesValidation="False" OnClick="btnCancelTerminal_Click" />
                                                                        <asp:Button ID="btnSaveTerminal" runat="server" Text="   Save   " class="Btn_M_Normal"
                                                                            OnClick="btnSaveTerminal_Click" OnClientClick="return validate()"/>  
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        <!-----------------------------END OF SAVE CANCELTERMINAL ------------------------------------------>
                                                      </asp:Panel>
                                                  </td>
                                               </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>  
                            <!------------------------------------body End2 ----------------------------------------------->
                            <br />
                            <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                <tr>
                                    <td>
                                        <asp:Button ID="btnSubmit" runat="server" Text="   SUBMIT   " class="Btn_M_Normal"
                                            OnClick="btnSubmit_Click" />
                                       
                                    </td>
                                    <%--<td style="text-align: left" width="25%">
                                        <table border="0" width="50%" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                            <tr>
                                                <td class="tdNormal" style="width: 20%"></td>
                                                <td class="tdNormal" style="width: 40%"></td>
                                                <td class="tdNormal" style="width: 40%"></td>
                                            </tr>
                                        </table>
                                    </td>--%>
                                </tr>
                            </table>

                           <%-- <asp:Panel ID="pnlDuplicate" runat="server" Width="100%" Visible="false">
                                <fieldset id="addItem">
                                    <legend id="addItem">Duplicate Branch</legend>
                                </fieldset>

                                <script language="javascript" type="text/javascript">
                                    showgeneral();
                                </script>

                                <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                    <tr runat="server" id="Tr4">
                                        <td class="tdNormal" style="width: 15%">New Account ID
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="txtNewAcctNo" MaxLength="16" runat="server" class="fieldNormal"></asp:TextBox>
                                        </td>
                                        <td class="tdNormal" style="width: 10%"></td>
                                        <td class="tdNormal" style="width: 15%"></td>
                                        <td class="tdNormal" style="width: 30%"></td>
                                    </tr>
                                </table>
                                <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                    <tr>
                                        <td>
                                            <asp:Button ID="btnSaveDuplicate" runat="server" Text="   Save   " class="Btn_M_Normal"
                                                CausesValidation="False" OnClick="btnSaveDuplicate_Click" />
                                            <asp:Button ID="btnCancelDuplicate" runat="server" Text="   Cancel   " class="Btn_M_Normal"
                                                OnClick="btnCancelDuplicate_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>--%>
                        </td>
                    </tr>
                </table>
                <!------------------------------------body End2 ----------------------------------------------->
            </td>
        </tr>
    </table>

    <script language="javascript" type="text/javascript">
        showgeneral();
    </script>

</asp:Content>
