<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Masters/AgentMaster.Master"
    EnableEventValidation="false" CodeBehind="MoneyRemittance.aspx.cs" Inherits="CasheeremitAgent.Remittance.MoneyRemittance" %>

<%@ Register Assembly="DropDownChosen" Namespace="CustomDropDown" TagPrefix="ucc" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Components/Passport.ascx" TagName="Passport" TagPrefix="uc2" %>
<%@ Register Src="~/Components/PAK_AdrsFormat.ascx" TagName="PAK_Adrs" TagPrefix="uc_PAK" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
    <script type="text/javascript">
        history.pushState(null, null, 'MoneyRemittance.aspx');
        window.addEventListener('popstate', function (event) {
            history.pushState(null, null, 'MoneyRemittance.aspx');
        });

        function printpage() {

            document.getElementById("dvLastlogin").style.visibility = 'hidden';
            document.getElementById("dvDROP").style.visibility = 'hidden';
            document.getElementById('<%= btnPrintSumry.ClientID %>').style.visibility = 'hidden';
            document.getElementById('<%= btnBckSummry.ClientID %>').style.visibility = 'hidden';
            document.getElementById('<%= btnNxtSummry.ClientID %>').style.visibility = 'hidden';
            //            document.getElementById("btnPrintSumry").style.visibility = 'hidden';
            //            document.getElementById("btnB").style.visibility = 'hidden';
            //            document.getElementById("btnNxtSummry").style.visibility = 'hidden';
            window.print();
            document.getElementById("dvLastlogin").style.visibility = 'visible';
            document.getElementById("dvDROP").style.visibility = 'visible';
            document.getElementById('<%= btnPrintSumry.ClientID %>').style.visibility = 'visible';
            document.getElementById('<%= btnBckSummry.ClientID %>').style.visibility = 'visible';
            document.getElementById('<%= btnNxtSummry.ClientID %>').style.visibility = 'visible';
            document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsnone";
            //            document.getElementById("btnPrintSumry").style.visibility = 'visible';
            //            document.getElementById("btnB").style.visibility = 'visible';
            //            document.getElementById("btnNxtSummry").style.visibility = 'visible';
        }

        $(function () {
            $(".help-tooltip").mouseover(function () {
                //alert('hover');
                $(this).find('.tooltip-info-box').css({ "display": "block" });
                $(this).find('.tooltip-info-box').css({});
            });
            $(".help-tooltip").mouseout(function () {
                //alert('hover-out');
                $('.help-tooltip .tooltip-info-box').css({ 'display': 'none' });
            });
        });



        //        function printpage() {
        //            window.print();
        //        }

        function validate_ID_FileSize(source, arguments) {

            arguments.IsValid = false;
            source.className = "errMsg";

            var uploadControl = document.getElementById('<%= FileUpPOID.ClientID %>');
            var filesize = '<%=ConfigurationManager.AppSettings["UploadFileSize"].ToString() %>'

            if (uploadControl.files[0].size > filesize) {
                source.innerHTML = "FileSize exceeds the limit.please try uploading smaller size files.";
                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }


        nCheckInterval = 10000;

        function CheckResults() {
            // alert("jhghj jhgjhgjh test");
            //alert(document.getElementById('<%= lbOrderID.ClientID %>').value);
            //

            PageMethods.GetTransactionResult(document.getElementById('<%= lbOrderID.ClientID %>').value, success, failure);

        }
        function ConfirmalertAccNoIBAN(val1, val2) {

            document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsnone";
            swal({
                html: true,
                title: "",
                text: "<b>Please confirm the details before proceeding - </b><br/><table><br/> <tr><td>Account Number </td><td><b>:" + val1 + "</b></td></tr><tr><td>IBAN</td><td><b>:" + val2 + " </b></td></tr></table>",
                type: "info",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Confirm",
                cancelButtonText: "Edit",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {
                if (isConfirm) {
                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'MODE OF PAYMENT';
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsnone";
                    document.getElementById('<%= dvPayment.ClientID %>').className = "hsblock";
                }
                else {
                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'CHOOSE PAYOUT LOCATION';
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').style = "display:block;";
                    document.getElementById('<%= dvPayment.ClientID %>').style = "display:none;";
                    //document.getElementById('<%= ddlBanknameSrch.ClientID %>').style = "width:366px;";
                }
            });
        }
        function success(result, userContext, methodName) {
            //TODO
            if (result.Found) {
                switch (result.StatusCode) {
                    case 0:
                        //alert("Success");
                        window.location.href = "PaymentSuccess.aspx";
                        break;
                    case 4:
                        //alert("Failure");
                        window.location.href = "PaymentFail.aspx";
                        break;
                    case 5:
                        //alert("Failure");
                        window.location.href = "PaymentFail.aspx";
                        break;
                    case 30:
                        //alert("Pending");
                        window.location.href = "PaymentSuccess.aspx";
                        break;
                    default:
                        //alert("Failure");
                        window.location.href = "PaymentFail.aspx";
                        break;
                }


            }
            else {
                setTimeout(CheckResults, 10000);
            }
        }
        function failure(error, userContext, methodName) {
            //Ajax call failed so retry after the chosen period
            setTimeout(CheckResults, 10000);
        }
        function helloWorld() {

            //alert("jhghj jhgjhgjh");
            setTimeout(CheckResults, 10000);
            //alert(document.getElementById('<%= hiMposurl.ClientID %>').value);
            window.location.href = document.getElementById('<%= hiMposurl.ClientID %>').value;
        }


        function ValidateRadioButton(sender, args) {
            var gv = document.getElementById("<%= gvRates.ClientID %>");
            var items = gv.getElementsByTagName('input');
            for (var i = 0; i < items.length; i++) {
                if (items[i].type == "radio") {
                    if (items[i].checked) {
                        args.IsValid = true;
                        return;
                    }
                    else {
                        args.IsValid = false;
                    }
                }
            }
        }

        function validate_IBAN(source, arguments) {

            arguments.IsValid = false;
            source.className = "errMsg";
            var lbliban = document.getElementById('<%= lblIFSC.ClientID %>').value;
            var iban = document.getElementById('<%= txtIFSC_IBAN.ClientID %>').value;
            var accNo = document.getElementById('<%= txtAccNo.ClientID %>').value;
            //alert(document.getElementById("cpLyremit_lblIFSC").innerHTML);
            //var indxtxt = lbliban.indexOf('IBAN');
            if (iban.length > 0 && accNo.length > 0 && document.getElementById("cpLyremit_lblIFSC").innerHTML == "IBAN") {
                var indx = iban.indexOf(accNo);
                if (indx != -1) {
                    arguments.IsValid = true;
                }
                else {
                    arguments.IsValid = false;
                }
            }
            else {
                arguments.IsValid = true;
            }
        }
    </script>
    <style type="text/css">
        .ds {
            background: #fff none repeat scroll 0 0;
            border: 1px solid #ccc;
            box-sizing: border-box;
            color: #777;
            display: block;
            font-size: 13px;
            padding: 5px;
            transition: all 0.5s ease 0s;
            width: 100%;
        }

        .mrgL0 {
            margin-left: 0px;
        }

        .aspNetDisabled {
            float: left;
            width: 100%;
            background: #ccc;
        }

        #cpLyremit_ddlNationality.aspNetDisabled {
            width: 83%;
        }

        #cpLyremit_ddlBanknameSrch_chzn {
            width: 339px !important;
        }

        .wnDis.aspNetDisabled {
            float: left;
            width: 83%;
        }

        .txtbx_state {
            width: 80%;
            position: relative;
        }

        .hsnone {
            display: none;
        }

        .hsblock {
            display: block;
        }

        .Hide {
            display: none;
        }

        .WordWrap {
            word-break: break-all;
        }

        th {
            background: #0065B3;
            color: #fff;
        }

        .rdText {
            font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
            font-size: 14px;
            line-height: 1.42857;
            color: #333;
        }
    </style>
    <script type="text/javascript">

        function BenAmtLimitChkAlert(msg, typ) {

            document.getElementById('<%= dvPriceBox.ClientID %>').className = "hsnone";
            document.getElementById('<%= dvChkRate.ClientID %>').className = "hsnone";
            document.getElementById('<%= dvTranType.ClientID %>').className = "hsnone";
            swal({
                html: true,
                title: "",
                text: msg,
                type: typ,
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "YES",
                cancelButtonText: "NO",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {

                if (isConfirm) {
                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'BENEFICIARY PERSONAL DETAILS';
                    document.getElementById('<%= dvTranType.ClientID %>').className = "hsnone";
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsblock";
                    document.getElementById('<%= dvPriceBox.ClientID %>').className = "hsnone";
                }
                else {
                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'CHOOSE TRANSFER TYPE - TO SEND MONEY IN SPECIFIC MODE OF TRANSFER';
                    document.getElementById('<%= dvTranType.ClientID %>').className = "hsblock";
                    document.getElementById('<%= dvChkRate.ClientID %>').className = "hsblock";
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsnone";
                    document.getElementById('<%= dvPriceBox.ClientID %>').className = "hsnone";
                }
            });
        }
        function currency_change() {

            var remtr_Curr = '<%=ViewState["rmtr_Curr_symbol"] %>';
            var benef_Curr = '<%=ViewState["benef_Curr_symbol"] %>';

            var rmtr = document.getElementById('<%= rdoRemittertosend.ClientID %>');

            if (rmtr.checked)
                $('#<%= lblCurrencySym.ClientID %>').text(remtr_Curr);
            else
                $('#<%= lblCurrencySym.ClientID %>').text(benef_Curr);
        }

        function ClientItemSelected(sender, e) {
            $get("<%=hfbnfId.ClientID %>").value = e.get_value();
        }

        function Registration_alert() {
            swal({ title: "", text: "You have exceeded your allowed transfer limit, please upload your proof of ID etc to transfer a higher amount.", type: "info" });
        }

        function alert_word_restrict(word, msg) {

            swal({
                html: true,
                title: "",
                text: msg,
                showCancelButton: false,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: true
            });
        }

        function SelectBank() {
            swal({ title: "", text: "Please select a Bank.", type: "info" });
        }

        function swaRedirect(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: false
            }, function (isConfirm) {
                if (isConfirm) {
                    window.location.href = '<%=redurl %>';
                }
            });
        }

        function swalalert(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: true
            });
        }

        function Confirmalert_PAKAdrs(val1, val2, val3, val4, val5, val6, val7, val8) {

            document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsnone";
            document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsnone";
            swal({
                html: true,
                title: "",
                text: "<b>Please check the details before proceeding – Press Confirm to continue or Edit to edit the details</b><br/><table><br/><tr><td>Receive Amount </td><td><b>:" + val8 + "</b></td></tr><tr><td>Address </td><td><b>:" + val1 + "</b></td></tr><tr><td>City </td><td><b>:" + val2 + "</b></td></tr><tr><td>Province </td><td><b>:" + val3 + " </b></td></tr><tr><td>Mobile </td><td><b>:" + val5 + " </b></td></tr><tr><td>Nationality </td><td><b>:" + val7 + "</b></td></tr></table>",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Confirm",
                cancelButtonText: "Edit",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {

                if (isConfirm) {

                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'CHOOSE PAYOUT LOCATION';
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsnone";
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsblock";
                }
                else {

                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'BENEFICIARY PERSONAL DETAILS';
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsblock";
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').style = "display:none;";
                }
            });
        }
        function BlueLimitChkAlert(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Yes",
                cancelButtonText: "No",
                closeOnConfirm: false
            }, function (isConfirm) {
                if (isConfirm) {
                    window.location.href = '../Customer/AccountUpgrade.aspx';
                }
                else {
                    window.location.href = '../Remittance/MoneyRemittance.aspx';
                }
            });
        }
        function SilverLimitChkAlert(msg, typ) {
            swal({
                html: true,
                title: "",
                text: msg,
                type: typ,
                showCancelButton: true,
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Upload Now",
                cancelButtonText: "Upload Later",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {

                if (isConfirm) {
                    window.location.href = '../Customer/AccountUpgrade.aspx';
                }
                else {

                }
            });
        }

        function Confirmalert(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11) {

            document.getElementById('<%= dv_PersonalDetails.ClientID %>').visible = "false";
            //document.getElementById('<%= dvRoutingDetails.ClientID %>').visible = "true";
            //document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsnone";
            swal({
                html: true,
                title: "",
                text: "<b>Please check the details before proceeding – Press Confirm to continue or Edit to edit the details</b><br/><table><br/><tr><td>Receive Amount </td><td><b>  :" + val11 + "</b></td></tr><tr><td>Address </td><td><b>:" + val1 + "</b></td></tr><tr><td>City</td><td><b>:" + val4 + " </b></td></tr><tr><td>Post/Zip code </td><td><b>:" + val5 + " </b></td></tr><tr><td>State/County </td><td><b>:" + val6 + " </b></td></tr><tr><td>Mobile </td><td><b>:" + val8 + " </b></td></tr><tr><td>Nationality </td><td><b>:" + val10 + "</b></td></tr></table>",

                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Confirm",
                cancelButtonText: "Edit",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {

                if (isConfirm) {
                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'CHOOSE PAYOUT LOCATION';
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').visible = "false";
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').visible = "true";
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsnone";
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsblock";
                }
                else {
                    document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'BENEFICIARY PERSONAL DETAILS';
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').visible = "true";
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').visible = "false";
                    document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsblock";
                    document.getElementById('<%= dvRoutingDetails.ClientID %>').style = "display:none;";
                }
            });
        }

        function HidePersonalDeatils() {
            document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'CHOOSE PAYOUT LOCATION';
            document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsnone";
            document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsblock";
        }

        function HideRoutingDeatils() {
            document.getElementById('<%= lblSendTo.ClientID %>').innerHTML = 'BENEFICIARY PERSONAL DETAILS';
            document.getElementById('<%= dv_PersonalDetails.ClientID %>').visible = "true";
            document.getElementById('<%= dvRoutingDetails.ClientID %>').visible = "false";
            document.getElementById('<%= dv_PersonalDetails.ClientID %>').className = "hsblock";
            document.getElementById('<%= dvRoutingDetails.ClientID %>').className = "hsnone";
        }

        $(function () {

            $(".help-tooltip").mouseover(function () {
                $(this).find('.tooltip-info-box').css({ "display": "block" });
                $(this).find('.tooltip-info-box').css({});
            });
            $(".help-tooltip").mouseout(function () {
                $('.help-tooltip .tooltip-info-box').css({ 'display': 'none' });
            });
        });

        function DisplayProgress() {

            $find('<%=ModalPopupExtender2.ClientID %>').show();
            setTimeout('document.images["imgLoad"].src = "../Styles/images/loading.gif"', 10);
        }

        function DisplayWaiting(validationgroup) {

            if (Validate(validationgroup) == 'success') {
                $find('<%=ModalPopupExtender2.ClientID %>').show();
                setTimeout('document.images["imgLoad"].src = "../Styles/images/loading.gif"', 10);
            }
        }

        function ConfirmMsg(msg, current, next) {

            //alert(msg);
            document.getElementById(next).focus();
        }

        function Validate(validationgroupname) {

            if (Page_ClientValidate(validationgroupname)) {
                return 'success';
            }
        }

        function SelectBank() {
            swal({ title: "", text: "Please select a Bank.", type: "info" });
        }

        $(document).ready(function () {

            SearchText();
        });

        function SearchText() {
            $("#txtEmpName").autocomplete({
                source: function (request, response) {
                    $.ajax({
                        type: "POST",
                        contentType: "application/json; charset=utf-8",
                        url: "../Remittance/MoneyRemittance.aspx",
                        data: "{'empName':'" + document.getElementById('txtCustName').value + "'}",
                        dataType: "json",
                        success: function (data) {
                            response(data.d);
                        },
                        error: function (result) {
                            //alert("No Match");
                        }
                    });
                }
            });
        }
        function SplitTranConfirmalert(val1) {

            document.getElementById('<%= dvSubTrans.ClientID %>').visible = "false";
            swal({
                html: true,
                title: "",
                text: val1,
                type: "info",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Yes",
                cancelButtonText: "No",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {

                if (isConfirm) {
                    document.getElementById('<%= dvSubTrans.ClientID %>').visible = "true";
                    document.getElementById('<%= dvSubTrans.ClientID %>').className = "hsblock";
                }
                else {
                    document.getElementById('<%= dvSubTrans.ClientID %>').visible = "false";
                    window.location.href = '<%=redurl %>';
                }
            });
        }
        function SplitTranConfirmalert1(val1) {

            swal({
                html: true,
                title: "",
                text: val1,
                type: "info",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "Yes",
                cancelButtonText: "No",
                closeOnConfirm: true,
                closeOnCancel: true
            }, function (isConfirm) {

                if (isConfirm) {
                }
                else {
                    window.location.href = '<%=redurl %>';
                }
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpLyremit" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server">
    </asp:ScriptManager>
    <script type="text/javascript">

        function DisplayProgress() {

            $find('<%=ModalPopupExtender2.ClientID %>').show();
            setTimeout('document.images["imgLoad"].src = "../Styles/images/loading.gif"', 10);
        }


        function CheckFeeValid() {

            $.ajax({
                type: "POST",
                url: "MoneyRemittance.aspx/CheckTransfee",
                data: '{origAmt: "' + $("#<%=HdnAgntFee.ClientID%>")[0].value + '",feeAmt: "' + $("#<%=txtAgtTransFee.ClientID%>")[0].value + '" }',
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: OnSuccessF
            });
        }

        function OnSuccessF(response) {
            var mesg1 = $("#mesgFee")[0];

            switch (response.d) {
                case "true":
                    //mesg.style.color = "green";
                    mesg1.className = "spn_msg_H";
                    mesg1.innerHTML = "";
                    break;
                case "false":
                    document.getElementById("<%=txtAgtTransFee.ClientID %>").value = document.getElementById("<%=HdnAgntFee.ClientID %>").value;
                    mesg1.className = "spn_msg_V";
                    mesg1.style.color = "red";
                    mesg1.innerHTML = "TransferFee cannot be greater than the configured";
                    break;
                case "error":
                    mesg1.class = "spn_msg_V";
                    mesg1.style.color = "red";
                    mesg1.innerHTML = "Error occured";
                    break;
            }
        }



        function InvalidDOB() {
            swal({ title: "", text: "please select a valid DOB.", type: "error" });
        }

        function SrchDay_onchange() {

            var year = document.getElementById("<%=ddlSyear.ClientID %>");
            var month = document.getElementById("<%=ddlSmonth.ClientID %>");
            var day = document.getElementById("<%=ddlSday.ClientID %>");

            var selected_year = year.value.toString();
            var selected_month = month.value.toString();
            var selected_day = day.value.toString();

            $('#<%=Shdnf_Day.ClientID %>').val(selected_day);
            $('#<%=Shdnf_Mnth.ClientID %>').val(selected_month);
            $('#<%=Shdnf_Yr.ClientID %>').val(selected_year);
        }


        function SrchPopulate_day() {
            var yearID = document.getElementById("<%=ddlSyear.ClientID %>");
            var monthID = document.getElementById("<%=ddlSmonth.ClientID %>");
            var list_day = document.getElementById("<%=ddlSday.ClientID %>");

            var year = parseInt(yearID.value.toString());
            var month = parseInt(monthID.value.toString());

            $('#<%=ddlSday.ClientID %>').empty();
            var newlistitem = document.createElement('OPTION');
            newlistitem.text = "Day";
            newlistitem.value = "0";
            list_day.options.add(newlistitem);

            switch (month) {
                case 01:
                case 03:
                case 05:
                case 07:
                case 08:
                case 10:
                case 12:
                    for (i = 1; i <= 31; i++) {
                        var newListItem = document.createElement('OPTION');
                        if (i < 10) {
                            newListItem.text = "0" + i.toString();
                            newListItem.value = "0" + i.toString();
                        }
                        else {
                            newListItem.text = i.toString();
                            newListItem.value = i.toString();
                        }

                        list_day.options.add(newListItem);
                    }
                    break;

                case 4:
                case 6:
                case 9:
                case 11:
                    for (i = 1; i <= 30; i++) {
                        var newListItem = document.createElement('OPTION');
                        if (i < 10) {
                            newListItem.text = "0" + i.toString();
                            newListItem.value = "0" + i.toString();
                        }
                        else {
                            newListItem.text = i.toString();
                            newListItem.value = i.toString();
                        }

                        list_day.options.add(newListItem);
                    }
                    break;

                case 2:
                    if ((year % 400 == 0) || (year % 100 != 0 && year % 4 == 0)) {
                        for (i = 1; i <= 29; i++) {
                            var newListItem = document.createElement('OPTION');
                            if (i < 10) {
                                newListItem.text = "0" + i.toString();
                                newListItem.value = "0" + i.toString();
                            }
                            else {
                                newListItem.text = i.toString();
                                newListItem.value = i.toString();
                            }

                            list_day.options.add(newListItem);
                        }
                    }
                    else {
                        for (i = 1; i <= 28; i++) {
                            var newListItem = document.createElement('OPTION');
                            if (i < 10) {
                                newListItem.text = "0" + i.toString();
                                newListItem.value = "0" + i.toString();
                            }
                            else {
                                newListItem.text = i.toString();
                                newListItem.value = i.toString();
                            }

                            list_day.options.add(newListItem);
                        }
                    }
                    break;
            }
        }
    </script>
    <div class="clearfix">
        &nbsp;
    </div>
    <div id="Div1" runat="server" class="col-md-12">
        <div class="box-typ4 rec-his-box working">
            <div class="bluHD col-md-12">
                <i class="fa fa-stack-overflow iconsize" aria-hidden="true"></i>
                <asp:Label ID="lblsendmoney" Text="SEND MONEY HOME" runat="server"></asp:Label>
            </div>
            <div class=" col-md-12 vinobox">
                <div class="blueHeadTxt">
                    <asp:Label ID="lblSendTo" runat="server" Text="Search Remitter"></asp:Label>
                </div>
                <div class="row mrgBot10" runat="server" id="dvOption">
                    <div class="col-md-3">
                        <asp:Label ID="Label2" runat="server" Text="Type"></asp:Label>
                        <span class="starRed">*</span>
                    </div>
                    <div class=" col-md-7">
                        <asp:RadioButtonList ID="rdoSlect" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdoSlect_changed"
                            onchange="DisplayProgress();" RepeatDirection="Horizontal" CssClass="space">
                            <asp:ListItem Value="S" style="padding-right: 20px;">Existing Remitter</asp:ListItem>
                            <asp:ListItem Value="N" Text="New User"></asp:ListItem>
                        </asp:RadioButtonList>
                        <asp:RequiredFieldValidator ID="req" runat="server" ErrorMessage="Please select Document"
                            ControlToValidate="rdoSlect" class="errMsg" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div id="dvRemSerch" runat="server" visible="false">
                    <asp:HiddenField ID="Shdnf_Day" runat="server" />
                    <asp:HiddenField ID="Shdnf_Mnth" runat="server" />
                    <asp:HiddenField ID="Shdnf_Yr" runat="server" />
                    <asp:Panel ID="pnlRemSrch" runat="server" DefaultButton="btnRemSrch">
                        <div class="BG_Gray mrg20-T">
                            <div class="pulLft">
                                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblRemtID" runat="server" Text="Remitter ID"></asp:Label>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtSRemtID" class="txtboxM" runat="server"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="regRemID" runat="server" ControlToValidate="txtSRemtID"
                                                    Display="Dynamic" CssClass="errMsg" ValidationGroup="RemSrch" ErrorMessage="Please enter a valid RemitterID"
                                                    ValidationExpression="^(([a-zA-Z0-9]\s?){1,50})$"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblSFName" runat="server" Text="First Name" />
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtSFname" class="txtboxM" MaxLength="50" runat="server"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="regFirstName" runat="server" ValidationGroup="RemSrch"
                                                    ControlToValidate="txtSFname" Display="Dynamic" class="errMsg" ErrorMessage="Please enter a valid FirstName"
                                                    ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                            </div>
                                            <asp:HiddenField ID="HiddenField1" runat="server" />
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblSLName" runat="server" Text="Last Name"></asp:Label>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtSLName" class="txtboxM" MaxLength="50" runat="server"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="regFamilyName" runat="server" ControlToValidate="txtSLName"
                                                    Display="Dynamic" CssClass="errMsg" ValidationGroup="RemSrch" ErrorMessage="Please enter a valid LastName"
                                                    ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblSMobNo" runat="server" Text="Mobile No"></asp:Label>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtSMobNo" class="txtboxM" runat="server"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="regMbNo" runat="server" ControlToValidate="txtSMobNo"
                                                    Display="Dynamic" CssClass="errMsg" ValidationGroup="RemSrch" ErrorMessage="Please enter a valid MobileNo"
                                                    ValidationExpression="^([0-9]{1,12})$"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblDOB" runat="server" Text="Date Of Birth"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <span class="dateholder">
                                                    <asp:DropDownList ID="ddlSyear" CssClass="selectBox" runat="server" Style="width: 90%;"
                                                        onchange="SrchPopulate_day();">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rqSyear" runat="server" ErrorMessage="Please select Year"
                                                        ControlToValidate="ddlSyear" CssClass="errMsg" ValidationGroup="RemSrch" InitialValue="0"
                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                </span><span class="dateholder">
                                                    <asp:DropDownList ID="ddlSmonth" CssClass="selectBox" Style="width: 90%;" runat="server"
                                                        onchange="SrchPopulate_day();">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rqSmonth" runat="server" ErrorMessage="Please select Month"
                                                        ControlToValidate="ddlSmonth" CssClass="errMsg" ValidationGroup="RemSrch" InitialValue="00"
                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                </span><span class="dateholder">
                                                    <asp:DropDownList ID="ddlSday" CssClass="selectBox" Style="width: 90%;" runat="server"
                                                        onchange="SrchDay_onchange();">
                                                        <asp:ListItem Selected="True" Value="0">Day</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rqSday" runat="server" ErrorMessage="Please select Day"
                                                        ControlToValidate="ddlSday" CssClass="errMsg" ValidationGroup="RemSrch" InitialValue="0"
                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                </span>
                                            </div>
                                        </div>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </div>
                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2">
                                &nbsp;
                            </div>
                            <div class="col-md-4">
                                <asp:Button ID="btnRemSrch" runat="server" class="btnB mrgL0 " ValidationGroup="RemSrch"
                                    OnClientClick="DisplayWaiting('RemSrch')" OnClick="RemSearch_Click" Text="Search" />
                            </div>
                        </div>
                        <div class=" clrfx">
                            &nbsp;
                        </div>
                    </asp:Panel>
                </div>
                <div id="dvSrchReslt" class="table-responsive m-t-20 overflowMob" runat="server"
                    visible="false" style="border: 1px solid #fff;">
                    <asp:GridView ID="gvRemitter" runat="server" AutoGenerateColumns="False" AllowPaging="True"
                        CssClass="table table-striped table-bordered tablefieldWidth bgrow tbl-typ2"
                        OnPageIndexChanging="gvRemitter_PageIndexChanging" OnRowDataBound="gvRemitter_RowDataBound"
                        OnRowCommand="gvRemitter_RowCommand" HeaderStyle-CssClass="tbl-head" RowStyle-CssClass="tbl-data"
                        AlternatingRowStyle-BackColor="#ffffff" DataKeyNames="Remitter_ID,Rem_FirstName,Acc_Status,Rem_LastName,Rem_AddressLine1,Rem_City,Rem_Country,Rem_DOB,Rem_Mobile,Rem_Type,Rem_Title,Groups"
                        EmptyDataText="No Records Found">
                        <RowStyle CssClass="faq_text_tb2" />
                        <Columns>
                            <asp:BoundField DataField="Remitter_ID" HeaderText="RemitterID" />
                            <asp:BoundField DataField="Rem_FirstName" HeaderText="FirstName" />
                            <asp:BoundField DataField="Rem_LastName" HeaderText="LastName" />
                            <asp:BoundField DataField="Rem_Mobile" HeaderText="MobileNo" />
                            <asp:BoundField DataField="Acc_Status" HeaderText="Status" />
                            <asp:BoundField DataField="Groups" HeaderText="Category" />
                            <asp:BoundField DataField="Rem_Email" HeaderText="Email ID" ItemStyle-Wrap="true"
                                ItemStyle-CssClass="WordWrap" />
                            <asp:TemplateField ShowHeader="False">
                                <ItemTemplate>
                                    <asp:LinkButton ID="btnView" runat="server" Text="Send Money" CommandName="sendmoney"
                                        CausesValidation="false" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerStyle BackColor="White" ForeColor="White" Width="200px" HorizontalAlign="Center"
                            CssClass="pgg" />
                    </asp:GridView>
                </div>
                <asp:Panel ID="pnlTranType" runat="server" DefaultButton="btnSendMoney">
                    <div id="dvTranType" title="" runat="server" visible="false">
                        <div class="BG_Gray mrg20-T">
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblRemitterID" runat="server" Text="Remitter ID"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class="col-md-4">
                                    <div>
                                        <asp:TextBox ID="txtRemitterID" class="txtboxM" runat="server" MaxLength="15" ReadOnly="true"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblRemtName" runat="server" Text="Remitter Name"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class="col-md-4">
                                    <div>
                                        <asp:TextBox ID="txtRemtrName" class="txtboxM" runat="server" ReadOnly="true"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblCountry" runat="server" Text="Select Country"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div runat="server" class="col-md-4">
                                    <asp:DropDownList ID="ddlCountry" class="txtboxM" runat="server" onchange="DisplayProgress();"
                                        OnSelectedIndexChanged="ddlCountry_changed" AutoPostBack="true">
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="reqCountry" runat="server" ErrorMessage="Please select Country"
                                        ControlToValidate="ddlCountry" CssClass="errMsg" ValidationGroup="TT" InitialValue="0"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvTyBack" runat="server">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Button class="btnG" ID="btnTyback" OnClientClick="DisplayProgress();" Text="Back"
                                    runat="server" OnClick="btnbk_click" />
                            </div>
                            <!-- Moved the btn to ChkrateGridView Div-->
                            <div class="col-md-4">
                            </div>
                        </div>
                        <div class="clrfx">
                            &nbsp;
                        </div>
                        <%--<div class="pull-right mrgBot10" id="dvbtn" runat="server">
                            <asp:Button ID="btnbk" runat="server" Text="Search" class="btnB" OnClick="btnbk_click" />
                        </div>--%>
                    </div>
                    <!--Check Rate GridView-->
                    <div id="dvChkRate" runat="server" visible="false">
                        <div id="dvgrid" class="table-responsive m-t-20" runat="server">
                            <asp:GridView ID="gvRates" Style="width: 60%; margin-left: 1%;" runat="server" class="table m-t-15"
                                AutoGenerateColumns="False" DataKeyNames="Country,TransferType,Currency,Amount,TransferTypeCode"
                                OnPageIndexChanging="gvRates_PageIndexChanging" OnRowDataBound="gvRates_RowDataBound"
                                OnRowCommand="gvRates_RowCommand" AllowPaging="True" EmptyDataText="No Record Found"
                                CellPadding="6" CellSpacing="2" GridLines="None" HeaderStyle-CssClass="tbl-head"
                                RowStyle-CssClass="tbl-data">
                                <RowStyle HorizontalAlign="Left" />
                                <Columns>
                                    <%--  <asp:BoundField DataField="Country" HeaderText="Country" HeaderStyle-CssClass="wp25" />--%>
                                    <asp:BoundField DataField="TransferType" HeaderText="Transfer Type" HeaderStyle-CssClass="wp25" />
                                    <asp:BoundField DataField="Currency" HeaderText="To Currency" HeaderStyle-CssClass="wp25" />
                                    <asp:BoundField DataField="Amount" HeaderText="Amount" HeaderStyle-CssClass="wp25"
                                        DataFormatString="{0:n}" />
                                    <asp:BoundField DataField="TransferTypeCode" HeaderText="TypeCode" HeaderStyle-CssClass="Hide"
                                        ItemStyle-CssClass="Hide" />
                                    <asp:TemplateField HeaderText="Select">
                                        <ItemTemplate>
                                            <%-- <asp:LinkButton ID="btnSelect" runat="server" Text="Select" CommandName="select" 
                                                CausesValidation="false" />--%>
                                            <asp:RadioButton ID="rdbTransTyp" runat="server" GroupName="transType" AutoPostBack="true"
                                                onchange="DisplayProgress();" OnCheckedChanged="Rb_CheckChanged" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                            <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Please select row in the grid."
                                ClientValidationFunction="ValidateRadioButton" ValidationGroup="TT" CssClass="errMsg"></asp:CustomValidator>
                        </div>
                        <div id="dvSubTrans" runat="server" visible="false">
                            <div class="row mrg10-T" runat="server" visible="false">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="Label5" runat="server">To Currency</asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class="col-md-4">
                                    <div>
                                        <asp:DropDownList ID="ddltocurrency" class="txtboxM" AutoPostBack="true" OnSelectedIndexChanged="ddltocurrency_Changed"
                                            onchange="DisplayProgress();" runat="server">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="ddltocurrency"
                                            ErrorMessage="Please select To Currency" CssClass="errMsg" ValidationGroup="TT"
                                            InitialValue="0" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblAmountType" runat="server" Text="Currency Type"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class="col-md-4">
                                    <div class="mnutab3" style="font-size: 13px;">
                                        <label class="radio-inline ">
                                            <asp:RadioButton ID="rdoRemittertosend" GroupName="AmountType" Text="Remitter to send (not including charges) - GBP"
                                                runat="server" AutoPostBack="true" onchange="currency_change();" />
                                        </label>
                                    </div>
                                    <div class="mnutab3" style="font-size: 13px;">
                                        <label class="radio-inline ">
                                            <asp:RadioButton ID="rdoBeneficiarytoreceive" GroupName="AmountType" runat="server"
                                                AutoPostBack="false" onchange="currency_change();" />
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="clrfx">
                                &nbsp;
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblTransAmount" runat="server" Text="Amount"></asp:Label>
                                    <span class="starRed">*</span> &nbsp;
                                    <asp:Label ID="lblCurrencySym" runat="server" CssClass="boxpound"></asp:Label>
                                </div>
                                <div class="col-md-4">
                                    <asp:TextBox ID="txtAmount" runat="server" class="txtboxM" MaxLength="11" autocomplete="off"
                                        onchange="DisplayProgress();" CausesValidation="true" OnTextChanged="txtAmount_Changed"
                                        AutoPostBack="true" AutoCompleteType="Disabled" ValidationGroup="TC" oncopy="return false;"
                                        onpaste="return false;" oncut="return false;"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Enter the transfer amount."
                                        ControlToValidate="txtAmount" CssClass="errMsg" ValidationGroup="TC" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="reqAmount" runat="server" ErrorMessage="Enter the transfer amount."
                                        ControlToValidate="txtAmount" CssClass="errMsg" ValidationGroup="TT" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="regAmount" runat="server" ValidationGroup="TT"
                                        ControlToValidate="txtAmount" Display="Dynamic" CssClass="errMsg" ErrorMessage="Please enter a valid amount"
                                        ValidationExpression="^(([0-9.]\s?){1,11})$"></asp:RegularExpressionValidator>
                                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtAmount"
                                        ValidationGroup="TT" ValueToCompare="30" Operator="GreaterThanEqual" Type="Currency"
                                        CssClass="errMsg" ErrorMessage="Amount cannot be less than 30.">
                                    </asp:CompareValidator>
                                </div>
                            </div>
                            <div class="clrfx">
                                &nbsp;
                            </div>
                            <div class="row mrg10-T" id="dvServiceTyp" runat="server" visible="false">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblSelectService" runat="server" Text="Select Service"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class="col-md-4">
                                    <asp:DropDownList ID="ddlService" class="txtboxM" runat="server">
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please select service"
                                        ControlToValidate="ddlService" CssClass="errMsg" ValidationGroup="TT" InitialValue="0"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <%--<asp:HiddenField ID="hiModelPopupBnk" runat="server" />
                                    <asp:ModalPopupExtender ID="mdpFindbank" runat="server" TargetControlID="hiModelPopupBnk"
                                        CancelControlID="btnClose" PopupControlID="pnlFindBank">
                                    </asp:ModalPopupExtender>
                                    <asp:HiddenField ID="hiModelPopupColctn" runat="server" />
                                    <asp:ModalPopupExtender ID="mdpFindColPt" runat="server" TargetControlID="hiModelPopupColctn"
                                        CancelControlID="btnClose1" PopupControlID="pnlFindColctPt">
                                    </asp:ModalPopupExtender>--%>
                                </div>
                            </div>
                            <div class="clrfx">
                                &nbsp;
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblAgtTransfee" runat="server" Text="Transaction Fee"></asp:Label>
                                    <span class="starRed">*</span> &nbsp;
                                    <asp:Label ID="lblSign" runat="server" Visible="false" CssClass="boxpound"></asp:Label>
                                </div>
                                <div class="col-md-4">
                                    <asp:HiddenField ID="HdnAgntFee" runat="server" />
                                    <asp:TextBox ID="txtAgtTransFee" runat="server" class="txtboxM" MaxLength="6" autocomplete="off"
                                        onchange="CheckFeeValid();" AutoCompleteType="Disabled" oncopy="return false;"
                                        onpaste="return false;" oncut="return false;"></asp:TextBox>
                                    <span id="mesgFee"></span><span id="mesgFee1" runat="server"></span>
                                    <asp:RequiredFieldValidator ID="reqTrsfee" runat="server" ErrorMessage="Enter the Transaction Fee"
                                        ControlToValidate="txtAgtTransFee" CssClass="errMsg" ValidationGroup="TT" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="regTrsfee" runat="server" ValidationGroup="TT"
                                        ControlToValidate="txtAgtTransFee" Display="Dynamic" CssClass="errMsg" ErrorMessage="Please enter a valid Transaction Fee"
                                        ValidationExpression="^(([0-9.]\s?){1,5})$"></asp:RegularExpressionValidator>
                                    <asp:RegularExpressionValidator ID="regTrsfeePerc" runat="server" ValidationGroup="TT"
                                        ControlToValidate="txtAgtTransFee" Display="Dynamic" CssClass="errMsg" ErrorMessage="Please enter a valid Transaction fee"
                                        ValidationExpression="^(([0-9.]\s?){1,5})$"></asp:RegularExpressionValidator>
                                    <asp:CompareValidator ID="cmpTrsfeePerc" runat="server" ControlToValidate="txtAgtTransFee"
                                        ValidationGroup="TT" ValueToCompare="100" Operator="LessThan" Type="Currency"
                                        CssClass="errMsg" ErrorMessage="Fee cannot be grater than or equal to 100">
                                    </asp:CompareValidator>
                                </div>
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Label ID="lblpromo" runat="server" Text="Promo Code"></asp:Label>
                                   
                                </div>
                                <div class="col-md-4">
                                    
                                    <asp:TextBox ID="txtpromo" runat="server" class="txtboxM"></asp:TextBox>
                                    
                                </div>
                            </div>

                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Button class="btnG" ID="btnSMback" OnClientClick="DisplayProgress();" Text="Back"
                                    runat="server" OnClick="btnbk_click" />
                            </div>
                            <div class="col-md-4">
                                <asp:Button class="btnB" ID="btnSendMoney" Text="Next" runat="server" OnClientClick="DisplayWaiting('TT');"
                                    OnClick="btnSendMoney_Click" ValidationGroup="TT"></asp:Button>
                            </div>
                        </div>
                    </div>
                </asp:Panel>
                <!--Check Rate GridView-->
                <div id="dvPriceBox" title="" runat="server" visible="false">
                    <%--<span class=" span12 HeadTypeNew1 "> Send Money </span>--%>
                    <span class=" col-md-12 HeadTypeNew2 margT20 ">From United Kingdom to
                        <asp:Literal ID="lttoCountry" runat="server"></asp:Literal>
                        <asp:Image ID="img_cntry_flag" runat="server" Height="30" Width="35" />
                        <asp:Literal ID="ltTransferType" runat="server"></asp:Literal>
                    </span>
                    <div class=" row margT20">
                        <div class=" boxColr1_4 col-md-3">
                            <span class="BigTxt">
                                <asp:Literal ID="ltSendAmount" runat="server"></asp:Literal></span><span class="clearfix smlTxt"><asp:Literal
                                    ID="Literal2" runat="server">Send Amount</asp:Literal>
                                </span>
                        </div>
                        <div class=" boxColr1_1 col-md-3">
                            <span class="BigTxt">
                                <asp:Literal ID="ltRate" runat="server"></asp:Literal>
                            </span><span class="clearfix smlTxt">
                                <asp:Literal ID="Literal4" runat="server">Exchange Rate</asp:Literal></span>
                        </div>
                        <div class=" boxColr1_2 col-md-3">
                            <span class="BigTxt">
                                <asp:Literal ID="ltReceiveAmount" runat="server"></asp:Literal>
                            </span><span class="clearfix smlTxt">
                                <asp:Literal ID="Literal6" runat="server">Receive Amount</asp:Literal>
                            </span>
                        </div>
                        <div class=" boxColr1_3 col-md-3" style="display: none">
                            <span class="BigTxt">
                                <asp:Literal ID="ltTotalCharges" runat="server"></asp:Literal></span><span class="clearfix smlTxt"><asp:Literal
                                    ID="Literal8" runat="server">Lyca Fee</asp:Literal>
                                </span>
                        </div>
                        <div class=" boxColr2_1 col-md-3" style="display: none">
                            <span class="BigTxt">
                                <asp:Literal ID="ltAgentCharge" runat="server"></asp:Literal></span> <span class="clearfix smlTxt">
                                    <asp:Literal ID="Literal7" runat="server">Agent Fee</asp:Literal>
                                </span>
                        </div>
                        <div class=" boxColr1 col-md-3">
                            <span class="BigTxt">
                                <asp:Literal ID="ltTotalFee" runat="server"></asp:Literal></span>
                            <span  class="BigTxt">
                                    <asp:Literal ID="ltoffer" Visible="false" runat="server"></asp:Literal></span><span class="clearfix smlTxt"><asp:Literal
                                    ID="Literal3" runat="server">Transaction Fee</asp:Literal>
                                </span>
                        </div>
                        <div class=" boxColr2 col-md-3">
                            <span class="BigTxt">
                                <asp:Literal ID="ltTotaltopay" runat="server"></asp:Literal></span> <span class="clearfix smlTxt">
                                    <asp:Literal ID="Literal10" runat="server">Total to Pay</asp:Literal>
                                </span>
                        </div>
                    </div>
                    <div class="clrfx">
                        &nbsp;
                    </div>
                    <div class="row mrg10-T">
                        <div class="col-md-2 TxtalinRgt TxtLable">
                            <asp:Button class="btnG" ID="btCancel" OnClientClick="DisplayProgress();" Text="Back"
                                runat="server" OnClick="btnBack1_click" />
                        </div>
                        <div class="col-md-4">
                            <asp:Button ID="btnNext2" class="btnB" Text="Next" OnClientClick="DisplayProgress();"
                                runat="server" OnClick="btnNext2_click" />
                        </div>
                    </div>
                    <div class=" clrfx">
                        &nbsp;
                    </div>
                </div>
                <!--Benef Dtls-->
                <div id="dv_PersonalDetails" runat="server" visible="false">
                    <asp:Panel ID="Panel3" runat="server" DefaultButton="btnNext4">
                        <div class="BG_Gray mrg20-T">
                            <div class="pulLft">
                                <asp:UpdatePanel ID="upnlAuto" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblChooseBenef" Text="Choose Beneficiary" runat="server" />
                                            </div>
                                            <div class="col-md-4">
                                                <asp:DropDownList ID="ddlChooseBeneficiary" runat="server" AutoPostBack="true" CssClass="txtboxM"
                                                    OnSelectedIndexChanged="ddlChooseBenef_Change">
                                                </asp:DropDownList>
                                            </div>
                                            <asp:HiddenField ID="hfbnfId" runat="server" />
                                        </div>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                    <ContentTemplate>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtFirstName" class="txtboxM" runat="server" MaxLength="25" AutoPostBack="false"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rqfFirstName" runat="server" ErrorMessage="Please enter FirstName"
                                                    ControlToValidate="txtFirstName" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="regBenefFirstName" Visible="false" runat="server"
                                                    ValidationGroup="Next2" ControlToValidate="txtFirstName" Display="Dynamic" CssClass="errMsg"
                                                    ErrorMessage="Please enter a valid First Name" ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                                <asp:RegularExpressionValidator ID="regFNchn" runat="server" ValidationGroup="Next2"
                                                    ControlToValidate="txtFirstName" Display="Dynamic" CssClass="errMsg" ErrorMessage="Please enter your Beneficiary First Name in Chinese"
                                                    ValidationExpression="^(([a-zA-Z\u4e00-\u9fff]\s?){1,50})$"></asp:RegularExpressionValidator>
                                                <div runat="server" style="display: none;" id="dvchnhelp">
                                                    <span class=" wid1  pull-right"><span class="help-tooltip"><span class="inner-tooltiop">
                                                        <a class="icon ico-help tooltip" title="" href="Javascript:;"></a><span class="tooltip-info-box"
                                                            style="display: block; width: 130px; left: 40px;"><a class="icon ico-close1 tooltip-close"
                                                                style="display: none;" title="Close" href="Javascript:;"></a><span class="tooltip-arrow"></span>
                                                            <p class="tool-tip-color">
                                                                Please enter beneficiary name in Chinese characters.
                                                            </p>
                                                        </span></span></span></span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtLastName" class="txtboxM" runat="server" MaxLength="20" AutoPostBack="false"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="reqLastName" runat="server" ErrorMessage="Please enter LastName"
                                                    ControlToValidate="txtLastName" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="regBenefLastName" Visible="false" runat="server"
                                                    ControlToValidate="txtLastName" ErrorMessage="Please enter a valid Last Name"
                                                    Display="Dynamic" CssClass="errMsg" ValidationGroup="Next2" ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                                <asp:RegularExpressionValidator ID="regLNchn" runat="server" ValidationGroup="Next2"
                                                    ControlToValidate="txtLastName" Display="Dynamic" CssClass="errMsg" ErrorMessage="Please enter your Beneficiary Last Name in Chinese"
                                                    ValidationExpression="^(([a-zA-Z\u4e00-\u9fff]\s?){1,50})$"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblGender" runat="server" Text="Gender"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:RadioButtonList ID="rdoGender" runat="server" RepeatDirection="Horizontal" RepeatLayout="flow"
                                                    CssClass="space">
                                                    <asp:ListItem Value="M" style="padding-right: 20px;">Male</asp:ListItem>
                                                    <asp:ListItem Value="F">Female</asp:ListItem>
                                                </asp:RadioButtonList>
                                                <asp:RequiredFieldValidator ID="rqGender" runat="server" ErrorMessage="Please select Gender"
                                                    ControlToValidate="rdoGender" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div visible="false" id="divbenmail" runat="server" class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="Label1" runat="server" Text="Email ID"></asp:Label>
                                                <%--<span class="starRed">*</span>--%>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtbenmail" class="txtboxM" runat="server" MaxLength="40"></asp:TextBox>
                                                <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please enter Email ID"
                                                    ControlToValidate="txtbenmail" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator14" runat="server"
                                                    ControlToValidate="txtbenmail" ErrorMessage="Please enter a valid Email ID" Display="Dynamic"
                                                    CssClass="errMsg" ValidationGroup="Next2" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
                                                </asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div id="divplace" runat="server" visible="false">
                                            <div class="row mrg10-T">
                                                <div class="col-md-2 TxtalinRgt TxtLable">
                                                    <asp:Label ID="lblPlaceBirth" runat="server" Text="Place of Birth"></asp:Label>
                                                    <span class="starRed"></span>
                                                </div>
                                                <div class="col-md-4">
                                                    <asp:TextBox ID="txtPlceBirth" class="txtboxM" runat="server" MaxLength="50"></asp:TextBox>
                                                    <%-- <asp:RequiredFieldValidator ID="reqPlceBirth" runat="server" ErrorMessage="Please enter Place of Birth"
                                ControlToValidate="txtPlceBirth" CssClass="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                                    <asp:RegularExpressionValidator ID="regPlcBrth" runat="server" ControlToValidate="txtPlceBirth"
                                                        ErrorMessage="Please enter valid Place of Birth" Display="Dynamic" CssClass="errMsg"
                                                        ValidationGroup="Next1" ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="row mrg10-T">
                                                <div class="col-md-2 TxtalinRgt TxtLable">
                                                    <asp:Label ID="lblOccupation" runat="server" Text="Occupation"></asp:Label>
                                                    <span class="starRed"></span>
                                                </div>
                                                <div class="col-md-4">
                                                    <asp:TextBox ID="txtOccupation" class="txtboxM" runat="server" MaxLength="50"></asp:TextBox>
                                                    <%-- <asp:RequiredFieldValidator ID="reqOccupation" runat="server" ErrorMessage="Please enter Occupation"
                                ControlToValidate="txtOccupation" CssClass="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                                    <asp:RegularExpressionValidator ID="regOccupation" runat="server" ControlToValidate="txtOccupation"
                                                        ErrorMessage="Please enter valid Occupation" Display="Dynamic" CssClass="errMsg"
                                                        ValidationGroup="Next1" ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblBenefType" runat="server" Visible="false" Text="Beneficiary Type"></asp:Label>
                                                <%-- <span class="starRed" visible="false">*</span>--%>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:DropDownList ID="ddlBenefType" Visible="false" CssClass="txtboxM" runat="server">
                                                    <asp:ListItem Selected="True" Value="0" Text="--Select--"></asp:ListItem>
                                                    <asp:ListItem Value="Individual" Text="Individual"></asp:ListItem>
                                                    <%-- <asp:ListItem Value="Company" Text="Company"></asp:ListItem>--%>
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="reqBenefType" Visible="false" runat="server" ErrorMessage="Please select Beneficiary Type"
                                                    InitialValue="0" ControlToValidate="ddlBenefType" CssClass="errMsg" ValidationGroup="Next1"
                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div id="div_Adrs_cmn" runat="server">
                                            <div id="divhouse" visible="false" runat="server">
                                                <div class="row mrg10-T">
                                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                                        <asp:Label ID="lblHouseno" runat="server" Text="House Number"></asp:Label>
                                                        <%--<span class="starRed">*</span>--%>
                                                    </div>
                                                    <div class="col-md-4">
                                                        <asp:TextBox ID="txtHouseno" class="txtboxM" MaxLength="20" runat="server"></asp:TextBox>
                                                        <%--<asp:RequiredFieldValidator ID="reqHouseno" Visible="false" runat="server" ErrorMessage="Please enter House No"
                                    CssClass="errMsg" ControlToValidate="txtHouseno" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                                    </div>
                                                </div>
                                                <div class="TxtLable2" style="font-weight: bold; width: 100%; text-align: center; padding-top: 10px;">
                                                    (OR)
                                                </div>
                                                <div class="row mrg10-T">
                                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                                        <asp:Label ID="lblPremiseName" runat="server" Text="House Name"></asp:Label>
                                                        <%--<span class="starRed">*</span>--%>
                                                    </div>
                                                    <div class="col-md-4">
                                                        <asp:TextBox ID="txtPremiseName" class=" txtboxM" MaxLength="25" runat="server"></asp:TextBox>
                                                        <%--<asp:RequiredFieldValidator ID="reqPremiseName" Visible="false" runat="server" ErrorMessage="Please enter House No"
                                    CssClass="errMsg" ControlToValidate="txtHouseno" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row mrg10-T">
                                                <div class="col-md-2 TxtalinRgt TxtLable">
                                                    <asp:Label ID="lblAddres" runat="server" Text="Address"></asp:Label>
                                                    <span class="starRed">*</span>
                                                </div>
                                                <div class="col-md-4">
                                                    <asp:TextBox ID="txtAddress" class=" txtboxM" runat="server" MaxLength="50"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="reqAddrs" runat="server" ErrorMessage="Please enter Address"
                                                        ControlToValidate="txtAddress" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="regAddrs" runat="server" ControlToValidate="txtAddress"
                                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="Special characters are not allowed"
                                                        ValidationGroup="Next2" Display="Dynamic" CssClass="errMsg" />
                                                </div>
                                            </div>
                                            <div class="row mrg10-T">
                                                <div class="col-md-2 TxtalinRgt TxtLable">
                                                    <asp:Label ID="lblCity" runat="server" Text="City"></asp:Label>
                                                    <span class="starRed">*</span>
                                                </div>
                                                <div class="col-md-4">
                                                    <asp:TextBox ID="txtCity" class=" txtboxM" runat="server" MaxLength="25"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="reqBenefCity" runat="server" ErrorMessage="Please enter City"
                                                        ControlToValidate="txtCity" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="regCity" runat="server" ControlToValidate="txtCity"
                                                        ValidationExpression="[a-zA-Z ]*$" ErrorMessage="please enter valid city" Display="Dynamic"
                                                        ValidationGroup="Next2" CssClass="errMsg" />
                                                </div>
                                            </div>
                                            <div id="dvzipost" runat="server" class="row mrg10-T">
                                                <div class="col-md-2 TxtalinRgt TxtLable">
                                                    <asp:Label ID="lblPostCode" runat="server" Text="Post/Zip Code"></asp:Label>
                                                    <%--<span class="starRed">*</span>--%>
                                                </div>
                                                <div class="col-md-4">
                                                    <asp:TextBox ID="txtPost" class=" txtboxM" runat="server" MaxLength="15"></asp:TextBox>
                                                    <asp:RegularExpressionValidator ID="regPostCode" runat="server" ControlToValidate="txtPost"
                                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="please enter valid postcode"
                                                        ValidationGroup="Next2" Display="Dynamic" CssClass="errMsg" />
                                                </div>
                                            </div>
                                            <div class="row mrg10-T">
                                                <div class="col-md-2 TxtalinRgt TxtLable">
                                                    <asp:Label ID="lblState" runat="server" Text="State/County"></asp:Label>
                                                    <span class="starRed">*</span>
                                                </div>
                                                <div class="col-md-4">
                                                    <asp:TextBox ID="txtState" class=" txtboxM" runat="server" MaxLength="25"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="reqState" runat="server" ErrorMessage="Please enter State"
                                                        ControlToValidate="txtState" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="regState" runat="server" ControlToValidate="txtState"
                                                        ValidationExpression="[a-zA-Z ]*$" ErrorMessage="please enter valid state" Display="Dynamic"
                                                        ValidationGroup="Next2" CssClass="errMsg" />
                                                </div>
                                            </div>
                                        </div>
                                        <uc_PAK:PAK_Adrs ID="Address_PAK" runat="server" Visible="false" />
                                        <div style="display: none;" class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblTelephone" runat="server" Text="Landline"></asp:Label>
                                            </div>
                                            <div class="col-md-4">
                                                <span style="float: left">
                                                    <asp:TextBox ID="txtlandlinecode" class="txtboxM" Enabled="false" runat="server"
                                                        MaxLength="3" ToolTip="Landline Code" Width="40px"></asp:TextBox></span>
                                                <span class="wnDis">
                                                    <asp:TextBox ID="txtTelephone" class=" TxtBox" runat="server" MaxLength="15"></asp:TextBox></span>
                                                <asp:RegularExpressionValidator Visible="false" ID="regTelephone" runat="server"
                                                    ControlToValidate="txtTelephone" CssClass="errMsg" ValidationGroup="Next2" ErrorMessage="Please enter valid TelephoneNo"
                                                    Display="Dynamic" Font-Size="X-Small" ValidationExpression="^([0-9]{1,12})$"></asp:RegularExpressionValidator>
                                                <asp:RegularExpressionValidator Visible="false" ID="RegularExpressionValidator7"
                                                    runat="server" ControlToValidate="txtlandlinecode" CssClass="errMsg" ValidationGroup="Next2"
                                                    ErrorMessage="Please enter valid Landlinecode" Display="Dynamic" Font-Size="X-Small"
                                                    ValidationExpression="^([0-9]{1,3})$"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblMobile" runat="server" Text="Mobile"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <span style="float: left;">
                                                    <asp:TextBox ID="txtmobilecode" Enabled="false" class=" txtboxM" runat="server" MaxLength="3"
                                                        ToolTip="Mobile Code" Style="width: 33px; height: 32px;"></asp:TextBox></span>
                                                <span class="wnDis">
                                                    <asp:TextBox ID="txtMobile" class=" txtboxM" runat="server" MaxLength="12"></asp:TextBox></span>
                                                <asp:RequiredFieldValidator ID="reqMobile" CssClass="errMsg" runat="server" ErrorMessage="Please enter MobileNo"
                                                    ControlToValidate="txtMobile" class="starRed" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="regMobile" CssClass="errMsg" runat="server" ControlToValidate="txtMobile"
                                                    ValidationGroup="Next2" ErrorMessage="Please enter valid MobileNo" Display="Dynamic"
                                                    Font-Size="X-Small"></asp:RegularExpressionValidator>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" CssClass="errMsg" runat="server"
                                                    ErrorMessage="Please enter Mobile Code" ControlToValidate="txtmobilecode" class="starRed"
                                                    ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator8" CssClass="errMsg"
                                                    runat="server" ControlToValidate="txtmobilecode" ValidationGroup="Next2" ErrorMessage="Please enter valid Mobile Code"
                                                    Display="Dynamic" Font-Size="X-Small" ValidationExpression="^([0-9]{1,3})$"></asp:RegularExpressionValidator>
                                                <asp:Label ID="lblmobibank" Font-Italic="true" Font-Size="X-Small" runat="server" ForeColor="Red"
                                                    Text="The mobile number must be linked with your bank account, otherwise the transaction will be rejected."
                                                    Visible="false"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="lblNationality" runat="server" Text="Nationality"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:DropDownList ID="ddlNationality" CssClass="txtboxM" runat="server" DataTextField="Nationality"
                                                    DataValueField="Alpha_3_Code">
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="reqNationality" runat="server" ErrorMessage="Please select Nationality"
                                                    ControlToValidate="ddlNationality" InitialValue="0" CssClass="errMsg" ValidationGroup="Next2"
                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div class="row mrg10-T">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="Label8" runat="server" Text="Relationship"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <asp:TextBox ID="txtrelation" class=" txtboxM" runat="server" MaxLength="25"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="Please enter Relationship"
                                                    ControlToValidate="txtrelation" CssClass="errMsg" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="txtrelation"
                                                    ValidationExpression="[a-zA-Z ]*$" ErrorMessage="please enter valid Relationship" Display="Dynamic"
                                                    ValidationGroup="Next2" CssClass="errMsg" />
                                            </div>
                                        </div>
                                        <div class="row mrg10-T" id="dvCPFNo" runat="server" visible="false">
                                            <div class="col-md-2 TxtalinRgt TxtLable">
                                                <asp:Label ID="Label3" runat="server" Text="CPF Number"></asp:Label>
                                                <span class="starRed">*</span>
                                            </div>
                                            <div class="col-md-4">
                                                <div>
                                                    <asp:TextBox ID="txtCPFno" runat="server" class="txtboxM" MaxLength="50" autocomplete="off"
                                                        AutoCompleteType="Disabled"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtCPFno"
                                                        Display="Dynamic" ValidationGroup="Next2" CssClass="errMsg" ErrorMessage="Please enter CPF Number"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" CssClass="errMsg"
                                                        runat="server" ControlToValidate="txtCPFno" ValidationGroup="Next2" ErrorMessage="Please enter valid CPF Number"
                                                        Display="Dynamic" Font-Size="X-Small" ValidationExpression="(\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2})|(\d{3}\.\d{3}\.\d{3}\-\d{2})"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </div>
                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Button class="btnG" ID="btnBack2" OnClientClick="DisplayProgress();" Text="Back"
                                    runat="server" OnClick="btnBack2_click" />
                            </div>
                            <div class="col-md-4">
                                <asp:Button ID="btnNext4" runat="server" class="btnB" ValidationGroup="Next2" OnClientClick="DisplayWaiting('Next2')"
                                    OnClick="btnNext4_click" Text="Next" />
                            </div>
                        </div>
                        <div class=" clrfx">
                            &nbsp;
                        </div>
                    </asp:Panel>
                </div>
                <!--Benef Dtls-->
                <div id="dvRoutingDetails" runat="server" style="display: none;">
                    <asp:Panel ID="Panel4" runat="server" DefaultButton="btnNext6">
                        <div class="BG_Gray mrg20-T">
                            <div class="pulLft">
                                <div class="row mrg10-T" id="dvAcctNo" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="lblAcctNo" runat="server" Text="Account Number"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <asp:TextBox ID="txtAccNo" runat="server" class="txtboxM" MaxLength="50" autocomplete="off"
                                            AutoCompleteType="Disabled"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqAcc" runat="server" ControlToValidate="txtAccNo"
                                            Display="Dynamic" ValidationGroup="PL" CssClass="errMsg" ErrorMessage="Please enter Account Number"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="regAccNo" CssClass="errMsg" runat="server" ControlToValidate="txtAccNo"
                                            ValidationGroup="PL" ErrorMessage="Please enter valid AccNo" Display="Dynamic"
                                            Font-Size="X-Small" ValidationExpression="^([0-9]{1,28})$"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                                <div class="row mrg10-T" id="dvAccType" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="Label4" runat="server" Text="Type Of Account"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <div>
                                            <asp:DropDownList ID="ddlAccType" runat="server" class="txtboxM">
                                                <asp:ListItem Text="<-- Select Account Type -->" Value="0"></asp:ListItem>
                                                <asp:ListItem Text="Current" Value="C"></asp:ListItem>
                                                <asp:ListItem Text="Savings" Value="S"></asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="ddlAccType"
                                                Display="Dynamic" ValidationGroup="PL" CssClass="errMsg" ErrorMessage="Please select Account Type"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div id="divIFSC" class="row mrg10-T" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="lblIFSC" runat="server"></asp:Label>
                                        <span id="spanIFSC" runat="server" class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <asp:TextBox ID="txtIFSC_IBAN" runat="server" class="txtboxM" autocomplete="off"
                                            AutoCompleteType="Disabled"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvIFSC" runat="server" ControlToValidate="txtIFSC_IBAN"
                                            Display="Dynamic" ValidationGroup="PL" CssClass="errMsg"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revIFSC" CssClass="errMsg" runat="server" ControlToValidate="txtIFSC_IBAN"
                                            ValidationGroup="PL" Display="Dynamic" Font-Size="X-Small"></asp:RegularExpressionValidator>
                                        <asp:CustomValidator ID="CustomValidator2" runat="server" Visible="false" ControlToValidate="txtIFSC_IBAN"
                                            ClientValidationFunction="validate_IBAN" Font-Size="X-Small" Display="Dynamic" ErrorMessage="IBAN should contain Account number."
                                            ValidationGroup="PL"></asp:CustomValidator><br />
                                        <asp:Label ID="lblibanmsg" Font-Italic="true" Font-Size="X-Small" runat="server"
                                            Visible="false"></asp:Label>
                                    </div>
                                    <div runat="server" visible="false" id="dvTTIBAN" title="Know more about IBAN" style="float: left;">
                                        <span class="help-tooltip"><span class="inner-tooltiop"><a class="icon ico-help tooltip1"
                                            title="" href="Javascript:;"></a><span class="tooltip-info-box" style="display: none;">
                                                <a class="icon ico-close1 " title="Close" href="Javascript:;"></a><span class="tooltip-arrow"></span>
                                                <p class="tool-tip-color">
                                                    Get IBAN from your beneficiary. The IBAN can be found on your beneficiary’s bank
                                                    statement, online bank account or by asking a bank representative.
                                                </p>
                                            </span></span></span>
                                    </div>
                                </div>
                                <div class="row mrg10-T" id="dvSwiftCode" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="lblSwiftCode" runat="server" Text="SWIFT Code"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <div>
                                            <asp:TextBox ID="txtSwiftCode" class="txtboxM" runat="server" MaxLength="11" autocomplete="off"
                                                AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="reqSwiftCode" CssClass="errMsg" runat="server" ControlToValidate="txtSwiftCode"
                                                Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter SwiftCode"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="regSwiftCode" CssClass="errMsg" runat="server"
                                                ControlToValidate="txtSwiftCode" ValidationGroup="PL" ErrorMessage="Please enter valid SwiftCode"
                                                Display="Dynamic"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="row mrg10-T" id="dvAccountName" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="lblAccountName" runat="server" Text="Account Holder Name"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4 padMarg0">
                                        <div>
                                            <asp:TextBox ID="txtAccountName" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                                AutoCompleteType="Disabled"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="reqAccountName" runat="server" ControlToValidate="txtAccountName"
                                                Display="Dynamic" ValidationGroup="PL" CssClass="errMsg" ErrorMessage="Please enter Account Holder Name"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="regAccname" CssClass="errMsg" runat="server"
                                                ControlToValidate="txtAccountName" ValidationGroup="PL" ErrorMessage="Please enter valid Account Holder Name"
                                                Display="Dynamic" Font-Size="X-Small" ValidationExpression="[a-zA-Z ]*$"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>
                                    <div class=" wid1" style="float: left;">
                                        <span class="help-tooltip"><span class="inner-tooltiop"><a class="icon ico-help tooltip1"
                                            title="" href="Javascript:;"></a><span class="tooltip-info-box" style="display: none;">
                                                <a class="icon ico-close1 tooltip-close" title="Close" href="Javascript:;"></a><span
                                                    class="tooltip-arrow"></span>
                                                <p class="tool-tip-color">
                                                    Please exclude special characters like ./*&^%$#@!~'";,{}[}:|\?<>
                                                </p>
                                            </span></span></span>
                                    </div>
                                </div>
                                <div id="dvSrchBnkTxt" runat="server" visible="false">
                                    <div class="row mrg10-T" id="dvSrchBnkText" runat="server">
                                        <div class="col-md-2 TxtalinRgt TxtLable">
                                            <asp:Label ID="Label7" runat="server" Text="Bank Name"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class="col-md-4 padMarg0">
                                            <div>
                                                <asp:TextBox ID="txtSrchBnkTxt" placeholder="Enter Recipient Bank Name" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                                    AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" CssClass="errMsg" runat="server"
                                                    ControlToValidate="txtSrchBnkTxt" Display="Dynamic" ValidationGroup="SrchBank" ErrorMessage="Please Enter Bank Name"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator4" CssClass="errMsg"
                                                    runat="server" ControlToValidate="txtSrchBnkTxt" ValidationGroup="SrchBank" ErrorMessage="Please Enter Minimum 3 Alpha-Numeric Characters"
                                                    Display="Dynamic" Font-Size="X-Small" ValidationExpression="^(([A-Za-z0-9]\s?){3,50})$"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row mrg10-T " id="dvSrchBank" runat="server">
                                        <div class="col-md-2 TxtalinRgt TxtLable">
                                            &nbsp;
                                        </div>
                                        <div class="col-md-4 padMarg0">
                                            <asp:Button ID="btnSrchBank" runat="server" Text="Search Banks" class="orngBtn"
                                                OnClientClick="DisplayWaiting('SrchBank')" ValidationGroup="SrchBank"
                                                OnClick="btnSrchBank_Click" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row mrg10-T" id="dvBankName" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="lblBankNameSrch" runat="server" Text="Bank Name"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <%--<asp:DropDownList ID="ddlBanknameSrch" runat="server" AutoPostBack="true" class="txtboxM"
                                            OnSelectedIndexChanged="ddlBanknameSrch_Changed">
                                        </asp:DropDownList>--%>
                                        <ucc:DropDownListChosen ID="ddlBanknameSrch" runat="server" AutoPostBack="true" NoResultsText="No results match."
                                            onchange="DisplayProgress();" CssClass="txtboxM txtadd" OnSelectedIndexChanged="ddlBanknameSrch_Changed"
                                            Width="100%" DataPlaceHolder="Type Here..." AllowSingleDeselect="true">
                                        </ucc:DropDownListChosen>
                                        <%--<asp:TextBox ID="txtBankName" class="TxtBox" runat="server" MaxLength="50" autocomplete="off"
                                AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>--%>
                                        <asp:RequiredFieldValidator ID="reqBankName" CssClass="errMsg" runat="server" ControlToValidate="ddlBanknameSrch"
                                            Display="Dynamic" ValidationGroup="PL" InitialValue="0" ErrorMessage="Please enter BankName"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="row mrg10-T" id="dvtxtBankname" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="Label9" runat="server" Text="Bank Name"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <asp:TextBox ID="txtBankName" class="txtboxM" runat="server" MaxLength="50" ToolTip="Please enter your Bank Name"
                                            autocomplete="off" AutoCompleteType="Disabled"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" CssClass="errMsg" runat="server"
                                            ControlToValidate="txtBankName" Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter Bank Name"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator6" CssClass="errMsg"
                                            runat="server" ControlToValidate="txtBankName" ValidationGroup="PL" ErrorMessage="Please enter valid Bank Name"
                                            Display="Dynamic" Font-Size="X-Small" ValidationExpression="^(([A-Za-z]\s?){1,50})$"></asp:RegularExpressionValidator>

                                    </div>
                                </div>
                                <div class="row mrg10-T" id="dvBankCode" runat="server" visible="false">
                                    <div class="col-md-2 TxtalinRgt TxtLable">
                                        <asp:Label ID="lblBankBranch" runat="server" Text="Bank Branch"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-4">
                                        <%--<asp:DropDownList ID="ddlBankBranch" runat="server" class="txtboxM">
                                        </asp:DropDownList>--%>
                                        <ucc:DropDownListChosen ID="ddlBankBranch" runat="server" NoResultsText="No results match."
                                            CssClass="txtboxM txtadd" Width="100%" DataPlaceHolder="Type Here..." AllowSingleDeselect="true">
                                        </ucc:DropDownListChosen>
                                        <%--<asp:TextBox ID="txtBankCode" class="TxtBox" runat="server" MaxLength="50" autocomplete="off"
                                AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>--%>
                                        <asp:RequiredFieldValidator ID="reqBankCode" CssClass="errMsg" runat="server" ControlToValidate="ddlBankBranch"
                                            Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter BankCode" InitialValue="0"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvBranchCode" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="Label6" runat="server" Text="Branch Code" ToolTip="Please enter your Branch Code"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <div>
                                    <asp:TextBox ID="txtBranchCode" class="txtboxM" runat="server" MaxLength="50" ToolTip="Please enter your Branch Code"
                                        autocomplete="off" AutoCompleteType="Disabled"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" CssClass="errMsg" runat="server"
                                        ControlToValidate="txtBranchCode" Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter Branch Code"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" CssClass="errMsg"
                                        runat="server" ControlToValidate="txtBranchCode" ValidationGroup="PL" ErrorMessage="Please enter valid Branch Code"
                                        Display="Dynamic" Font-Size="X-Small" ValidationExpression="^(([A-Za-z0-9]\s?){1,50})$"></asp:RegularExpressionValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvBnkBranch" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblBnkBranch" runat="server" Text="Bank Branch" ToolTip="Please enter your Bank Branch"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <asp:TextBox ID="txtBnkBranch" class="txtboxM" runat="server" MaxLength="50" ToolTip="Please enter your Bank Branch"
                                    autocomplete="off" AutoCompleteType="Disabled"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqBnkBranch" CssClass="errMsg" runat="server" ControlToValidate="txtBnkBranch"
                                    Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter Bank Branch"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator9" CssClass="errMsg"
                                    runat="server" ControlToValidate="txtBnkBranch" ValidationGroup="PL" ErrorMessage="Please enter valid Bank Branch"
                                    Display="Dynamic" Font-Size="X-Small" ValidationExpression="^(([A-Za-z0-9]\s?){1,50})$"></asp:RegularExpressionValidator>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvPayoutCity" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblPayoutCity" runat="server" Text="Payout City"></asp:Label>
                                <span id="spanpayout" visible="false" runat="server" class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <asp:TextBox ID="txtPayoutCity" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                    AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqPayoutCity" runat="server" Visible="false" ErrorMessage="Please enter Payout City"
                                    ControlToValidate="txtPayoutCity" CssClass="errMsg" ValidationGroup="Select Address"
                                    Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvPayoutPostCode" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblPayoutPostCode" runat="server" Text="Payout PostCode"></asp:Label>
                                <%--<span class="starRed">*</span>--%>
                            </div>
                            <div class="col-md-4">
                                <asp:TextBox ID="txtPayoutPostCode" class="txtboxM" runat="server" MaxLength="50"
                                    autocomplete="off" AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;"
                                    oncut="return false;"></asp:TextBox>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvPayoutSrchTxt" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblPayoutSrchTxt" runat="server" Text="Payout Search Location"></asp:Label>
                            </div>
                            <div class="col-md-4">
                                <div>
                                    <asp:TextBox ID="txtPayoutSrchTxt" class="txtboxM" runat="server" MaxLength="50"
                                        autocomplete="off" AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;"
                                        oncut="return false;"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvSelectCollectionpoint" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                &nbsp;
                            </div>
                            <div class="col-md-4">
                                <asp:Button ID="btnSelectadrs" runat="server" Text="Search Payout Location" class="orngBtn"
                                    Style="width: 60%; margin-right: 70px;" OnClientClick="DisplayWaiting('Select Address');"
                                    ValidationGroup="Select Address" OnClick="btnSelectPayout_Click" />
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvCashPickup" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblFndState" runat="server" Text="Collection Point"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <%--<asp:DropDownList ID="ddlFndState" runat="server" class="Txtbox_demo2">
                                        </asp:DropDownList>--%>
                                <ucc:DropDownListChosen ID="ddlFndState" runat="server" NoResultsText="No results match."
                                    OnSelectedIndexChanged="ddlFndStateChanged" CssClass="txtboxM" Width="344px"
                                    DataPlaceHolder="Type Here..." AllowSingleDeselect="true">
                                </ucc:DropDownListChosen>
                                <asp:RequiredFieldValidator ID="reqFndState" CssClass="errMsg" runat="server" ControlToValidate="ddlFndState"
                                    Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please select Collection Point"
                                    InitialValue="0"></asp:RequiredFieldValidator>
                                <div class="pull-left wid1">
                                    <asp:Label ID="lblContent" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvColctPtName" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblColctPtName" runat="server" Text="Ewallet ID"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <div>
                                    <asp:TextBox ID="txtColctPtName" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                        AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="reqColctPtName" CssClass="errMsg" runat="server"
                                        ControlToValidate="txtColctPtName" Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter the Ewallet ID"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvColctPtBank" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblColctPtBank" runat="server" Text="Ewallet Agent ID"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <asp:TextBox ID="txtColctPtbank" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                    AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqColctPtbank" CssClass="errMsg" runat="server"
                                    ControlToValidate="txtColctPtbank" Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter Collection Point Bank"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvCardNumber" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblCardNumber" runat="server" Text="CardNumber"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <div>
                                    <asp:TextBox ID="txtCardNumber" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                        AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" CssClass="errMsg" runat="server"
                                        ControlToValidate="txtCardNumber" Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter the CardNumber"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T" id="dvMobilewallet" runat="server" visible="false">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblMobilewallet" runat="server" Text="Mobile Number"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <asp:TextBox ID="txtMobilewallet" class="txtboxM " runat="server" MaxLength="50"
                                    autocomplete="off" AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;"
                                    oncut="return false;"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="ReqMobilewallet" CssClass="errMsg" runat="server"
                                    ControlToValidate="txtMobilewallet" Display="Dynamic" ValidationGroup="PL" ErrorMessage="Please enter Collection Point Bank"></asp:RequiredFieldValidator>
                                <div class="pull-left wid1">
                                    <span class="help-tooltip"><span class="inner-tooltiop"><a class="icon ico-help tooltip"
                                        title="" href="Javascript:;"></a><span class="tooltip-info-box" style="display: none;">
                                            <a class="icon ico-close1 tooltip-close" title="Close" href="Javascript:;"></a><span
                                                class="tooltip-arrow"></span>
                                            <p class="tool-tip-color">
                                                <%=ConfigurationManager.AppSettings["Benef_MobNo_alert"] %>
                                            </p>
                                        </span></span></span>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblSourceofIncome" runat="server" Text="Remitter Source of Income"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <div>
                                    <asp:DropDownList ID="ddlSourceofIncome" runat="server" class="txtboxM">
                                        <asp:ListItem Value="0">Select</asp:ListItem>
                                        <asp:ListItem Value="S01">Salary</asp:ListItem>
                                        <asp:ListItem Value="S02">Business</asp:ListItem>
                                        <asp:ListItem Value="S03">Savings</asp:ListItem>
                                        <asp:ListItem Value="S04">Lottery</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="reqSourceofIncome" runat="server" ControlToValidate="ddlSourceofIncome"
                                        Display="Dynamic" ValidationGroup="PL" InitialValue="0" CssClass="errMsg" ErrorMessage="Please Select SourceofIncome"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Label ID="lblPurPosofRem" runat="server" Text="Purpose of Remittance"></asp:Label>
                                <span class="starRed">*</span>
                            </div>
                            <div class="col-md-4">
                                <div>
                                    <asp:DropDownList ID="ddlPurPosofRem" runat="server" class="txtboxM">
                                        <asp:ListItem Value="0">Select</asp:ListItem>
                                        <asp:ListItem Value="P51">Investment In Real Estate</asp:ListItem>
                                        <asp:ListItem Value="P52">Investment In Equity Shares</asp:ListItem>
                                        <asp:ListItem Value="P53">Investment In Securities</asp:ListItem>
                                        <asp:ListItem Value="P54">Repayment Of Loans</asp:ListItem>
                                        <asp:ListItem Value="P55">Business Travel</asp:ListItem>
                                        <asp:ListItem Value="P56">Insurance Premium</asp:ListItem>
                                        <asp:ListItem Value="P57">Other Remittances</asp:ListItem>
                                        <asp:ListItem Value="P58">Family Maintenance/Savings</asp:ListItem>
                                        <asp:ListItem Value="P59">Interest On Loans</asp:ListItem>
                                        <asp:ListItem Value="P60">Repatriation Of Business Profits</asp:ListItem>
                                        <asp:ListItem Value="P62">Educational Expenses</asp:ListItem>
                                        <asp:ListItem Value="P63">Hotel Expenses</asp:ListItem>
                                        <asp:ListItem Value="P64">Medical Expenses</asp:ListItem>
                                        <asp:ListItem Value="P65">Personal Travels & Tours</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="reqPurPosofRem" runat="server" ControlToValidate="ddlPurPosofRem"
                                        Display="Dynamic" ValidationGroup="PL" InitialValue="0" CssClass="errMsg" ErrorMessage="Please Select Purpose of Remittance"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Button class="btnG" ID="btnBack5" Text="Back" OnClientClick="DisplayProgress();"
                                    runat="server" OnClick="btnBack5_Click" />
                            </div>
                            <div class="col-md-4">
                                <asp:Button class="btnB" runat="server" ID="btnNext6" Text="Next" ValidationGroup="PL"
                                    OnClientClick="DisplayWaiting('PL')" OnClick="btnNext6_Click"></asp:Button>
                            </div>
                            <div class=" clrfx">
                                &nbsp;
                            </div>
                        </div>
                    </asp:Panel>
                </div>
                <div id="dvSummary" runat="server" visible="false" style="margin-left: 20px; font-size: 1em;">
                    <div style="padding: 8px; text-align: left; font-size: 1.4em; color: #024b84; margin-top: 15px; width: 100%;">
                        Remitter Details
                    </div>
                    <asp:Panel ID="Panel2" runat="server" DefaultButton="btnPrintSumry">
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrSenderName" runat="server" Text="Remitter Name :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrSenderNameV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrCity" runat="server" Text="Remitter's City :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrCityV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="padding: 8px; text-align: left; font-size: 1.4em; color: #024b84; margin-top: 15px; width: 100%; float: left;">
                            Beneficiary Details
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrBeneficairyName" runat="server" Text="Beneficiary Name :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrBeneficairyNameV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrBnfCity" runat="server" Text="City :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrBnfCityV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrCountry" runat="server" Text="Country :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrCountryV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="padding: 8px; text-align: left; font-size: 1.4em; color: #024b84; margin-top: 15px; width: 100%; float: left;">
                            Transfer Summary
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrTransferType" runat="server" Text="Type Of Transfer :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrTransferTypeV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrSendAmount" runat="server" Text="Send Amount :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrSendAmountV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrReceiverAmount" runat="server" Text="Receive Amount :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrReceiverAmountV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrExchangeRate" runat="server" Text="Exchange Rate :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrExchangeRateV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrTransactionFee" runat="server" Text="Transaction Fee :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltrTransactionFeeV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div id="dvcashFe" runat="server" visible="false" style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;" runat="server">
                                <asp:Literal ID="ltCashFee" runat="server" Text="Cash Payement Fee :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                <asp:Literal ID="ltCashFeeV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="width: 25%; float: left;">
                                <asp:Literal ID="ltrTotalToPay" runat="server" Text="Total To Pay :"></asp:Literal>
                            </div>
                            <div style="font-weight: bold; width: 58.33333333%; font-size: medium; color: Red; float: left;">
                                <asp:Literal ID="ltrTotalToPayV" runat="server"></asp:Literal>
                            </div>
                        </div>
                        <div style="padding: 8px; text-align: left; font-size: 1.4em; color: #024b84; margin-top: 15px; width: 100%; float: left;">
                            Payout Details
                        </div>
                        <div id="dvBankType" runat="server" visible="false">
                            <div runat="server" id="dvAccNo" visible="false" style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrAccountNo" runat="server" Text="Account No : "></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrAccountNoV" runat="server"></asp:Literal>
                                </div>
                            </div>
                            <div style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrAccountName" runat="server" Text="Account Holder Name :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrAccountNameV" runat="server"></asp:Literal>
                                </div>
                            </div>
                            <%--<div style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrAccountType" runat="server" Text="Type Of Account"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrAccountTypeV" runat="server"></asp:Literal>
                                </div>
                            </div>--%>
                            <div style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrBankName" runat="server" Text="Bank Name :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrBankNameV" runat="server"></asp:Literal>
                                </div>
                            </div>
                            <div runat="server" id="dvIFSCIBAN" visible="false" style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrIFSCCode" runat="server" Text="IFSC Code :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrIFSCCodeV" runat="server"></asp:Literal>
                                </div>
                            </div>
                            <div runat="server" id="dvSwift" visible="false" style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrSwiftCode" runat="server" Text="Swift Code :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrSwiftCodeV" runat="server"></asp:Literal>
                                </div>
                            </div>
                            <div style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="Literal1" runat="server" Text="Branch Name :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrBranchNameV" runat="server"></asp:Literal>
                                </div>
                            </div>
                        </div>
                        <div id="dvCollectionType" runat="server" visible="false">
                            <div style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrCollectionPointName" runat="server" Text="Collection Point Name :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrCollectionPointNameV" runat="server"></asp:Literal>
                                </div>
                            </div>
                        </div>
                        <div id="dvMoblewaletType" runat="server" visible="false">
                            <div style="margin-bottom: 15px;">
                                <div style="width: 25%; float: left;">
                                    <asp:Literal ID="ltrMobileWallet" runat="server" Text="Mobile Wallet No :"></asp:Literal>
                                </div>
                                <div style="font-weight: bold; width: 58.33333333%; float: left;">
                                    <asp:Literal ID="ltrMobileWalletV" runat="server"></asp:Literal>
                                </div>
                            </div>
                        </div>
                        <div class=" clrfx">
                            &nbsp;
                        </div>
                        <div class=" clrfx">
                            &nbsp;
                        </div>
                        <div class=" clrfx">
                            &nbsp;
                        </div>
                        <div style="margin-bottom: 15px;">
                            <div style="float: left; margin-left: 20px; font-weight: bold;">
                                Agent Signature
                            </div>
                            <div style="float: right; margin-right: 20px; font-weight: bold;">
                                Remitter Signature
                            </div>
                            <div class=" clrfx">
                                &nbsp;
                            </div>
                        </div>
                        <div class="row mrg10-T">
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Button class="btnB" ID="btnPrintSumry" Text="Print" OnClientClick="printpage();" OnClick="printsum_click"
                                    runat="server" />
                            </div>
                            <div class="col-md-2 TxtalinRgt TxtLable">
                                <asp:Button class="btnG" ID="btnBckSummry" Text="Back" OnClientClick="DisplayProgress();"
                                    runat="server" OnClick="btnBckSummry_Click" />
                            </div>
                            <div class="col-md-4">
                                <asp:Button class="btnB" runat="server" ID="btnNxtSummry" Text="Submit" OnClientClick="DisplayProgress();"
                                    OnClick="btnNxtSummary_Click" />
                            </div>
                            <div class=" clrfx">
                                &nbsp;
                            </div>
                        </div>
                    </asp:Panel>
                </div>
                <div id="dvPayment" runat="server" style="display: none;">
                    <asp:Panel ID="Panel5" runat="server" DefaultButton="btnSubmit">
                        <div class="span8 mrg10-T">
                            <div id="Step4">
                                <div class="span10 mrg10-T">
                                    <div class="span8  TxtLable hd-typ4" style="text-align: left;">
                                        <asp:Label ID="lblPaymentMethod" runat="server" Text="Payment Method"></asp:Label>
                                    </div>
                                    <div class="span7 boxGrxy">
                                        <div class="GrayBG span7">
                                            <div id="dvWalet" runat="server" class=" span3 margT20  " style="margin-right: 40px;">
                                                <a href="Javascript:;" class="walletIoc" style="margin-left: 5px;">&nbsp;</a>
                                                <label class="radio-inline">
                                                    <asp:RadioButton ID="rdoWallet" Visible="false" AutoPostBack="true" GroupName="paymentmethod" OnCheckedChanged="rdoPayment_changed"
                                                        Checked="true" runat="server" />
                                                    <br />
                                                    <asp:Label ID="lblCashFee" runat="server" ForeColor="Red"></asp:Label>
                                                </label>
                                            </div>
                                            <div id="dvCash" runat="server" class=" span3 margT20  " style="margin-right: 40px;">
                                                <a href="Javascript:;" class="walletIoc" style="margin-left: 5px;">&nbsp;</a>
                                                <label class="radio-inline">
                                                    <asp:RadioButton ID="rdoMpos" Text="MPOS" AutoPostBack="true" GroupName="paymentmethod" OnCheckedChanged="rdoPayment_changed"
                                                        Visible="true" Checked="false" runat="server" />
                                                    <br />
                                                    <asp:Label ID="lblMposfee" runat="server" ForeColor="Red"></asp:Label>
                                                </label>
                                            </div>

                                            <%--OnCheckedChanged="rdoWallet_changed" <div class="span3"> &nbsp;</div>--%>
                                             <div class="span3 margT20 " style="margin-right: 100px; width: 100%; margin-top: 10px;">
                                                <a href="Javascript:;" class="DcardIoc" style="margin-right: 5px;">&nbsp;</a>
                                                <label class="radio-inline ">
                                                    <asp:RadioButton ID="rdoDebitCard" GroupName="paymentmethod" Text="Debit Card" runat="server" />
                                                    <label style="font-size: 11px;">
                                                        (Your debit card must be 3D-secure)
                                                    </label>
                                                </label>
                                            </div>
                                            <asp:HiddenField ID="lbOrderID" runat="server" />
                                            <asp:HiddenField ID="hiMposurl" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div id="dvPOID" runat="server" class="span10 mrg10-T" visible="false">
                                    <div class="span8  TxtLable hd-typ4" style="text-align: left;">
                                        <asp:Label ID="lblPODoc" runat="server" Text="Upload file(Proof Of Identity)"></asp:Label>
                                    </div>
                                    <div class="span7 boxGrxy">
                                        <div class="GrayBG span7">
                                            <asp:FileUpload ID="FileUpPOID" runat="server" />
                                            <span class="starRed">*</span> &nbsp;
                                            <asp:RegularExpressionValidator ID="regUpld" runat="server" ValidationGroup="payment_option"
                                                ControlToValidate="FileUpPOID" Display="Dynamic" class="errMsg" ErrorMessage="Please select a valid file"
                                                ValidationExpression="^.*\.(jpg|JPG|jpeg|JPEG|gif|GIF|pdf|PDF|png|PNG|tif|TIF|tiff|TIFF)$"></asp:RegularExpressionValidator>
                                            <asp:CustomValidator ID="Cstm1" runat="server" ControlToValidate="FileUpPOID" ClientValidationFunction="validate_ID_FileSize"
                                                Font-Size="X-Small" Display="Dynamic" ValidationGroup="payment_option"></asp:CustomValidator>
                                            <asp:RequiredFieldValidator ID="reqUpld" runat="server" ErrorMessage="Please Select File."
                                                CssClass="errMsg" ControlToValidate="FileUpPOID" ValidationGroup="payment_option"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row mrg10-T">
                                <div class="col-md-2 TxtalinRgt TxtLable">
                                    <asp:Button class="btnG" ID="btnBack6" OnClientClick="DisplayProgress();" Text="Back"
                                        runat="server" OnClick="btnBack6_Click" />
                                </div>
                                <div class="col-md-4">
                                    <asp:Button class="btnB" ID="btnSubmit" Text="Next" runat="server" OnClientClick="DisplayProgress();"
                                        OnClick="btnSubmit_Click" ValidationGroup="payment_option"></asp:Button>
                                </div>
                                <div class="clrfx">
                                    &nbsp;
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                </div>

                <div id="divsuccmsg" runat="server" class="successBox" visible="false">
                    <img src="../Styles/img/success.png" />
                    <asp:Label ID="lblsucmsg" runat="server" Visible="false" Text=""></asp:Label>
                </div>
                <div id="divfailmsg" runat="server" class="failedbox" visible="false">
                    <img src="../Styles/img/warning.png" /><asp:Label ID="lbfailmsg" runat="server" Visible="false"
                        Text=""></asp:Label>
                </div>
                <div id="dvPaymentSuccess" runat="server" visible="true">
                    <div class="span8 mrg10-T">
                        <div id="dvpaysuc" runat="server" visible="false">
                            <asp:Literal ID="ltPaymentSuccess" runat="server"></asp:Literal>
                            <hr />
                            <asp:Button ID="btnprint" runat="server" class="btnG" OnClientClick="DisplayProgress();"
                                OnClick="print_click" Text="Print Preview" />
                        </div>
                    </div>
                </div>
            </div>
            <div class=" clrfx">
                &nbsp;
            </div>
        </div>
        <div id="dvProgressbar">
            <asp:Button runat="server" ID="Button1" Style="display: none" />
            <asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Style="display: none">
                <div class="modal1">
                    <div class="center1">
                        <!-- Start -->
                        <img id="imgLoad" alt="Please wait....." src="../Styles/images/loading.gif" />
                        <!-- End -->
                        <asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="Button1"
                            PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="false" />
                    </div>
                </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
