<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="DCXDealEntry_IX.aspx.vb" Inherits="FinIQWebApp.DCXDealEntry_IX" MasterPageFile="~/FiniqAppMasterPage.Master" %>

<%@ Register Src="../FinIQ_User_Controls/DateControl.ascx" TagName="DateControl" TagPrefix="uc1" %>
<%@ Register Src="~/FinIQ_User_Controls/FinIQ_LP_QuoteDisplayPanel/FinIQ_LP_QuoteDisplayPanel.ascx" TagName="FinIQ_LP_QuoteDisplayPanel" TagPrefix="ucQuoteDisplayPanel" %>
<%@ Register Src="../FinIQ_User_Controls/Smart_Search_Customer_Control/FinIQ_Customer_SmartSearch.ascx" TagName="FinIQ_Customer_SmartSearch" TagPrefix="ucsmart" %>
<%@ Register Src="../FinIQ_User_Controls/FinIQ_Publish_Browser/PublishBrowser.ascx" TagName="PubBrowser" TagPrefix="uc3" %>
<%@ Register Src="../FinIQ_User_Controls/Smart_Search_RM_Control/Smart_Serach_RM_Control.ascx" TagName="Smart_Search_RM_Control" TagPrefix="ucRM" %>
<%@ Register Src="../FinIQ_User_Controls/Smart_Search_Book_Control/Smart_Search_Book_Control.ascx" TagName="Smart_Search_Book_Control" TagPrefix="ucBook" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="DCDDealEntry.css" rel="stylesheet" type="text/css" />
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
    </asp:ScriptManagerProxy>

    <style type="text/css">
        /* */ .DateControlWidth {
            width: 180px !important;
            white-space: nowrap !important;
        }

        .lblCustCSS td {
            vertical-align: top !important;
            padding-top: 0px;
        }

        .btnCalculate {
            width: 80px;
            background-color: #0A9A46 !important;
            color: #fff !important;
            margin-left: 2px !important;
            cursor: pointer;
        }

        .Customerstatus td {
            padding: 10px 30px 5px 30px !important;
        }


        .btnCalculate:hover {
            width: 80px;
            background-color: #eaeaea !important;
            color: #333 !important;
            margin-left: 2px !important;
            cursor: pointer;
        }

        .lblinfo_Panel_error {
            color: #ff4e4e;
            font: normal 13px "SC Sans Web","SC Sans",Helvetica,Arial,sans-serif !important;
            white-space: normal !important;
            display: block !important;
            padding: 15px 30px 5px 25px !important;
        }

        .lnkCSS {
            margin-left: 5px;
            text-decoration: none;
        }

        .tbllnkCSS {
            height: 30px;
            width: 2500px;
            background-color: #f2f2f2;
            margin-bottom: 10px;
            margin-top: 10px;
        }

        .UCPanelWorkflow {
            top: 200px !important;
        }


        .btnImage {
            background-image: url("Icons/Swap_Arrow.png" ) !important;
            background-repeat: no-repeat !important;
            background-position: right !important;
        }

        #ctl00_MainContent_chkOverride {
            width: 20px !important;
            height: 20px !important;
        }

        .chkCSS label {
            line-height: 7px;
            height: 20px;
            vertical-align: middle;
            display: inline-block;
        }

        #ctl00_MainContent_txtTradeDate_btnDate,
        #ctl00_MainContent_txtPremiumDate_btnDate,
        #ctl00_MainContent_txtSettlementDate_btnDate {
            background-color: #fff !important;
            height: 22px !important;
            box-shadow: 0px 0px #dddddd !important;
            border: 0px solid #fff !important;
        }

        .LPDisableButton {
            box-shadow: none !important;
            background-color: #ffffff !important;
            color: #e6e6e6 !important;
            border: 1px solid #e6e6e6 !important;
        }

            .LPDisableButton:hover {
                box-shadow: none !important;
                background-color: #ffffff !important;
                color: #e6e6e6 !important;
                border: 1px solid #e6e6e6 !important;
            }

        .tdbtnWidth {
            width: 125px;
        }

        select:focus, select options:focus {
            background-color: #F5F5F5 !important;
        }

        input[type="submit"]:focus {
            border: 1px solid #bfbfbf !important;
        }
        /*.selected {
             padding-bottom: 7px !important;
        }*/
    </style>

    <div title="header">


        <script type="text/javascript">

            function InitializeTimer1() {

            }
            function StopTheClock() {

            }
            function StopTheClockOnExceptions() {

            }
            function StartTheTimer() {

            }
            var popUpObj;
            function showModalPopUp() {

                popUpObj = window.open("frmDealConfirmation.aspx",
                "DealConfirmation",
                "toolbar=no," +
                "scrollbars=no," +
                "location=no," +
                "statusbar=no," +
                "menubar=no," +
                "resizable=0," +
                "width=300," +
                "height=400," +
                "left = 490," +
                "top=300"
                );
                popUpObj.focus();
                LoadModalDiv();


            }
            function LoadModalDiv() {

                var bcgDiv = document.getElementById("divBackground");

                bcgDiv.style.display = "block";
            }
            function HideModalDiv() {

                var bcgDiv = document.getElementById("divBackground");
                $("#ctl00_MainContent_pnlDealConfirmationPCI").hide();
                //$("#ctl00_MainContent_btnConfirm").click();
                bcgDiv.style.display = "none";

                document.getElementById('<%=btnhiddenClearQuote.ClientID%>').click();
                StopDealTimer();


            }
            function CallAcceptDeal() {

                document.getElementById('ctl00_MainContent_btnAcceptDeal').disabled = false;
                btn1 = document.getElementById('ctl00_MainContent_btnAcceptDeal');
                btn1.click();


            }
            function InitializeconfirmationTimer() {

            }
            function StopTheconfirmationClock() {

            }

            function StartTheconfirmationTimer() {

            }

            function SaveConfirm() {



                if (confirm('Do you want to Accept?')) {

                    document.getElementById('ctl00_MainContent_hdnDealConfirmation').value = "Y";
                }
                else {
                    document.getElementById('ctl00_MainContent_hdnDealConfirmation').value = "N";
                }
            }
            function CheckDefaultSpread() {

                if ($("#ctl00_MainContent_hdnDefaultSpread").val() == "YES") {

                    $("#ctl00_MainContent_hdnDefaultSpread").val("NO");

                    document.getElementById("ctl00_MainContent_imgDefaultSpread").src = "../App_Resources/NO.png";
                    document.getElementById("ctl00_MainContent_chkDefaultSalesSpread").checked = false;
                }
                else {

                    $("#ctl00_MainContent_hdnDefaultSpread").val("YES");

                    document.getElementById("ctl00_MainContent_imgDefaultSpread").src = "../App_Resources/YES.png";
                    document.getElementById("ctl00_MainContent_chkDefaultSalesSpread").checked = true;
                }
                StopTheClock();
                //document.getElementById("ctl00_MainContent_chkDefaultSalesSpread").CheckedChanged();
            }
            function isNumberKey(evt) {
                // 
                var charCode = (evt.which) ? evt.which : evt.keyCode;
                if ((charCode > 31 && (charCode < 48 || charCode > 57)) && charCode != 45)
                    return false;
                return true;
            }
            function isNumberDotKey(evt) {
                // 
                var charCode = (evt.which) ? evt.which : evt.keyCode;
                if ((charCode > 31 && (charCode < 48 || charCode > 57)) && charCode != 45 && charCode != 46)
                    return false;
                return true;
            }
            function isNumberMinusKey(evt) {
                // 
                var charCode = (evt.which) ? evt.which : evt.keyCode;
                if ((charCode > 31 && (charCode < 48 || charCode > 57)) && charCode != 46)
                    return false;
                return true;
            }
            function isMinusKey(evt) {
                // 
                var charCode = (evt.which) ? evt.which : evt.keyCode;
                if (charCode == 45)
                    return false;
                return true;
            }
            function sleep(milliSeconds) {

                var startTime = new Date().getTime(); // get the current time

                while (new Date().getTime() < startTime + milliSeconds); // hog cpu

            }

            document.addEventListener("keydown", keyDownTextField, false);
            function keyDownTextField(e) {
                var keyCode = e.keyCode;
                if (keyCode == 13) {
                    return true;
                }


            }

            function EnableAcceptBtn() {
                var preM;
                preM = 'ctl00_MainContent_';
                document.getElementById(preM + 'btnAcceptDeal').disabled = false;
                document.getElementById(preM + 'btnAcceptDeal1').disabled = false;
                document.getElementById(preM + 'BtnTermsheet').disabled = false;
                document.getElementById(preM + 'btnTermsheet1').disabled = false;
            }
        </script>

        <script type="text/javascript">

            function BookTrade(btn1, btn2, btn3, btn4, LPName, mainTBL) {
                var iLeftTime = $("#" + mainTBL).find(".lblTimerLPVal").html();
                
                document.getElementById(btn1).classList.add("LPDisableButton");
                document.getElementById(btn2).classList.add("LPDisableButton");
                document.getElementById(btn3).classList.add("LPDisableButton");
                document.getElementById(btn4).classList.add("LPDisableButton");

                document.getElementById('<%=hdnPriceProviderForTrade.ClientID%>').value = LPName;
                document.getElementById('<%=hdnTimerLeft.ClientID%>').value = iLeftTime

                document.getElementById('<%=btnHiddenTrade.ClientID%>').click();

                var preM;
                preM = 'ctl00_MainContent_';
                if (document.getElementById(preM + 'btnAcceptDeal')) { document.getElementById(preM + 'btnAcceptDeal').disabled = true; }
                if (document.getElementById(preM + 'btnAcceptDeal1')) { document.getElementById(preM + 'btnAcceptDeal1').disabled = true; }
                if (document.getElementById(preM + 'BtnTermsheet')) { document.getElementById(preM + 'BtnTermsheet').disabled = true; }
                if (document.getElementById(preM + 'BtnTermsheet1')) { document.getElementById(preM + 'BtnTermsheet1').disabled = true; }
                if (document.getElementById(preM + 'btnRouteToDealer')) { document.getElementById(preM + 'btnRouteToDealer').disabled = true; }

            }

            function Reprice(btn1, btn2, btn3, btn4, LPName) {

                
                $(document.getElementById(btn1)).prop('disabled', true);
                $(document.getElementById(btn2)).prop('disabled', true);
                $(document.getElementById(btn3)).prop('disabled', true);
                $(document.getElementById(btn4)).prop('disabled', true);


                document.getElementById(btn1).classList.add("LPDisableButton");
                document.getElementById(btn2).classList.add("LPDisableButton");
                document.getElementById(btn3).classList.add("LPDisableButton");
                document.getElementById(btn4).classList.add("LPDisableButton");


                document.getElementById('<%=hdnPriceProviderForTrade.ClientID%>').innerText = LPName;
                /*document.getElementById('<=btnHiddenTrade.ClientID>').click();*/


                var ddlSolveFor = document.getElementById("ctl00_MainContent_hdnSolveFor").value;

                if (ddlSolveFor == "YIELD") {

                    document.getElementById('<%=btnSolveForYield.ClientID%>').click();
                }
                else if (ddlSolveFor == "MARGIN") {

                    document.getElementById('<%=btnSolveForMargin.ClientID%>').click();
                }
                else if (ddlSolveFor == "STRIKE") {

                    document.getElementById('<%=btnSolveForStrike.ClientID%>').click();
                }
    }

    //<Start ||  Added by Arshin S || Asked by Prashant M || for indicative termsheet || on 25th July 2018>
    function IndicativeTermsheet(btn1, btn2, btn3, btn4, LPName) {
        document.getElementById('<%=hdnPriceProviderForTrade.ClientID%>').value = LPName;
        document.getElementById('<%=btnHiddenIndicativeTermsheet.ClientID%>').click();
    }
    //<End ||  Added by Arshin S || Asked by Prashant M || for indicative termsheet || on 25th July 2018>


    function EmailGen(btn1, btn2, btn3, btn4, LPName) {

        document.getElementById('<%=btnHiddenEmailGen.ClientID%>').click();

    }


    function NonBestSolve(btn1, btn2, btn3, btn4, LPName) {

        //

        document.getElementById('<%=hdnPriceProviderForTrade.ClientID%>').value = LPName;
        document.getElementById('<%=btnHiddenNonBestSolve.ClientID%>').click();

    }



    function HideErrorPanel() {

        document.getElementById('ctl00_MainContent_pnlError').style.visibility = "hidden";
    }

    function HideExecutionPanel() {

        document.getElementById('ctl00_MainContent_pnlExecutionDetails').style.visibility = "hidden";
    }

    function HideCustomerStatusPanel() {

        document.getElementById('ctl00_MainContent_pnlCustStatus').style.visibility = "hidden";

    }

    function HideDateComparisonPanel() {

        document.getElementById('ctl00_MainContent_pnlDateComparison').style.visibility = "hidden";
    }

    function HideDealConfirmationPanle() {

        document.getElementById('ctl00_MainContent_pnlDealConfirmationPCI').style.visibility = "hidden";
        document.getElementById('<%=btnhiddenClearQuote.ClientID%>').click();
        StopDealTimer();

    }

    function ConfirmCheckPCI() {


        $("#ctl00_MainContent_btnConfirm").click();
        StopDealTimer();
        //document.getElementById('<%=btnConfirm.ClientID%>').click();

    }


            var intervalTrade, intervalTrade1;
            $(document).ready(function () { });
            var timer, minutes, seconds;

            function startTimerPCI(duration, display) {
                
                try {

                    //document.getElementById('ctl00_MainContent_btnTradeForQENMode').setAttribute("class", "btn");


                    timer = duration;
                    intervalTrade1 = undefined;
                    intervalTrade = setInterval(function () {

                        seconds = parseInt(timer % 60, 10);
                        seconds = seconds < 10 ? "0" + seconds : seconds;
                        document.getElementById(display).innerHTML = seconds
                        document.getElementById('<%=hdnTimerLeft.ClientID%>').value = seconds

                        //$(document.getElementById('ctl00_MainContent_btnTradeForQENMode')).prop('disabled', false);

                        if (--timer < 0) {
                            timer = duration;
                            if (intervalTrade != undefined) {
                                clearInterval(intervalTrade);
                            }
                            document.getElementById(display).innerHTML = ""

                            //$(document.getElementById('ctl00_MainContent_btnTradeForQENMode')).prop('disabled', true);
                            //document.getElementById('ctl00_MainContent_btnTradeForQENMode').setAttribute("class", "btndisabled");

                        }

                        intervalTrade1 = intervalTrade;

                    }, 1000);

                } catch (er) { console.log(er.message); }

            }

            function startDealTimerPCI(duration, display) {
                //        
                try {

                    document.getElementById('ctl00_MainContent_btnConfirm').setAttribute("class", "btn");

                    timer = duration;
                    intervalTrade1 = undefined;
                    intervalTrade = setInterval(function () {

                        //seconds = parseInt(timer % 60, 10);

                        seconds = timer;

                        seconds = seconds < 10 ? "0" + seconds : seconds;
                        document.getElementById(display).innerHTML = seconds;

                        $(document.getElementById('ctl00_MainContent_btnConfirm')).prop('disabled', false);

                        if (--timer < 0) {
                            timer = duration;
                            if (intervalTrade != undefined) {
                                clearInterval(intervalTrade);
                            }
                            document.getElementById(display).innerHTML = "00";

                            $(document.getElementById('ctl00_MainContent_btnConfirm')).prop('disabled', true);
                            document.getElementById('ctl00_MainContent_btnConfirm').setAttribute("class", "btndisabled");
                        }
                        intervalTrade1 = intervalTrade;
                    }, 1000);
                } catch (er) { console.log(er.message); }
            }



            function StopTimer() {
                try {
                    if (intervalTrade1 != undefined && seconds != undefined) {
                        clearInterval(intervalTrade1);
                    }
                    document.getElementById('ctl00_MainContent_lblTimerValue').innerText = "";
                    document.getElementById('ctl00_MainContent_btnConfirm').innerText = "";
                    document.getElementById('ctl00_MainContent_btnTradeForQENMode').setAttribute("class", "btndisabled");
                    $(document.getElementById('ctl00_MainContent_btnTradeForQENMode')).prop('disabled', true);

                    //document.getElementById('ctl00_MainContent_btnConfirm').setAttribute("class", "btndisabled");
                    //$(document.getElementById('ctl00_MainContent_btnConfirm')).prop('disabled', true);


                    var preM;
                    preM = 'ctl00_MainContent_';
                    if (document.getElementById(preM + 'btnAcceptDeal')) { document.getElementById(preM + 'btnAcceptDeal').disabled = true; }
                    if (document.getElementById(preM + 'btnAcceptDeal1')) { document.getElementById(preM + 'btnAcceptDeal1').disabled = true; }
                    if (document.getElementById(preM + 'BtnTermsheet')) { document.getElementById(preM + 'BtnTermsheet').disabled = true; }
                    if (document.getElementById(preM + 'BtnTermsheet1')) { document.getElementById(preM + 'BtnTermsheet1').disabled = true; }
                    if (document.getElementById(preM + 'btnRouteToDealer')) { document.getElementById(preM + 'btnRouteToDealer').disabled = true; }



                } catch (er) { console.log(er.message); }
            }

            function StopDealTimer() {

                

                try {
                    if (intervalTrade1 != undefined && seconds != undefined) {
                        clearInterval(intervalTrade1);
                    }
                    document.getElementById('ctl00_MainContent_btnConfirm').setAttribute("class", "btndisabled");
                    $(document.getElementById('ctl00_MainContent_btnConfirm')).prop('disabled', true);
                    document.getElementById('ctl00_MainContent_lblDealConfirmTimer').innerText = "";

                    var preM;
                    preM = 'ctl00_MainContent_';
                    if (document.getElementById(preM + 'btnAcceptDeal')) { document.getElementById(preM + 'btnAcceptDeal').disabled = true; }
                    if (document.getElementById(preM + 'btnAcceptDeal1')) { document.getElementById(preM + 'btnAcceptDeal1').disabled = true; }
                    if (document.getElementById(preM + 'BtnTermsheet')) { document.getElementById(preM + 'BtnTermsheet').disabled = true; }
                    if (document.getElementById(preM + 'BtnTermsheet1')) { document.getElementById(preM + 'BtnTermsheet1').disabled = true; }
                    if (document.getElementById(preM + 'btnRouteToDealer')) { document.getElementById(preM + 'btnRouteToDealer').disabled = true; }


                } catch (er) { console.log(er.message); }
            }





            //Added by Nikita S || Loading panel with blur background || 13-Jul-2018
            Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(
                          function () {
                              if (document.getElementById) {
                                  wt = $(document).width();
                                  ht = $(document).height()

                                  $(".UpdateProgress").width(wt);
                                  $(".UpdateProgress").height(ht);
                                  $(".Progress").width(wt);

                              }
                          }
                 )





            function InitializeTimer(mainTableID, id) {
                try {



                    //

                    var Timer = 0;

                    TimerTemp = $("#" + mainTableID).find("#hdnTimerID").val();
                    if (TimerTemp > 0 || TimerTemp != undefined) {
                        clearInterval(TimerTemp);
                    }

                    Timer = setInterval(function () {

                        if (Timer != $("#" + mainTableID).find("#hdnTimerID").val()) {
                            clearInterval($("#" + mainTableID).find("#hdnTimerID").val());
                        }

                        $("#" + mainTableID).find("#hdnTimerID").val(Timer);

                        var TimerVal = parseInt($("#" + id).text());

                        if (parseInt(TimerVal) == 0 || isNaN(TimerVal)) {


                            clearInterval(Timer);
                            Timer = null;
                            $('#' + id).text("-");
                            var btn1Name = mainTableID.replace("mainTable", "button1");
                            var btn2Name = mainTableID.replace("mainTable", "button2");
                            var btn3Name = mainTableID.replace("mainTable", "button3");
                            var btn4Name = mainTableID.replace("mainTable", "button4");
                            var btn5Name = mainTableID.replace("mainTable", "button5");
                            //var lnkName = mainTableID.replace("mainTable", "lnk1");
                            //$("#" + btn1Name).attr('disabled', true);
                            //$("#" + btn2Name).attr('disabled', true);
                            //$("#" + btn3Name).attr('disabled', true);
                            //$("#" + btn4Name).attr('disabled', true);

                            $("#" + btn1Name).addClass('LPDisableButton');
                            $("#" + btn2Name).addClass('LPDisableButton');
                            $("#" + btn3Name).addClass('LPDisableButton');
                            $("#" + btn4Name).addClass('LPDisableButton');

                            $("#" + btn5Name).addClass('LPDisableLink');



                            document.getElementById(btn1Name).disabled = true;
                            document.getElementById(btn2Name).disabled = true;
                            document.getElementById(btn3Name).disabled = true;
                            document.getElementById(btn4Name).disabled = true;

                            document.getElementById(btn5Name).disabled = true;


                            //$("#" + lnkName).attr('disabled', true);

                        }
                        else {
                            TimerVal = parseInt(TimerVal - 1);
                            $('#' + id).text(TimerVal);
                        }


                    }, 1000);
                } catch (er) { }
            }

        </script>

    </div>

    <asp:UpdatePanel ID="pnlUpdateDCD_V" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true" ClientIDMode="Static">
        <ContentTemplate>


            <%--  <iframe id="iframe1" runat="server"  frameborder="0" height="200px" width="130px" style="left: auto!important;"
                    class="UCPanelFind" visible="false"></iframe>--%>
            <asp:Panel ID="pnlError" runat="server" BorderStyle="solid" BorderWidth="0" Style="border: 1px solid #dddddd !important;" CssClass="outerdraggablePanel UCPanelFind  UCOverflow UCBlock UCErrorBox" Visible="false">
                <table style="width: 100%;" class="PnlErrorTD">

                    <tr>

                        <td class="lblHeader background_gray" style="height: 30px; vertical-align: top; color: #00a546 !important;" align="center">
                            <asp:Label ID="Label1" runat="server" Text="User Notifications" Style="font-size: 14px; padding-left: 30px;"></asp:Label>
                        </td>
                        <%--  <td class="background_gray" align="right"></td>--%>
                    </tr>
                    <tr>
                        <td colspan="2" style="padding-right: 10px; padding-Left: 15px; padding-top: 15px">
                            <asp:Label runat="server" ID="lblErrorHeader" CssClass="PnlError"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="padding-right: 10px; height: 120px !important;"><%--style="min-height: 80px; vertical-align: top;"--%>
                            <asp:Label ID="lblItemError" runat="server" Font-Names="verdana" Wrap="True"></asp:Label>

                        </td>
                    </tr>

                    <tr>
                        <td align="left" valign="top" colspan="2">
                            <br />
                            <table id="tblOrderExecutionDetails" runat="server" visible="false" cellpadding="1" cellspacing="3">
                                <tr>
                                    <td colspan="3">
                                        <asp:Label ID="lblmsgOrderExecutionDetails" runat="server" CssClass="lblerror" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="lblError" style="color: Blue; text-align: left; font-size: 11px;" colspan="3">Price provider order execution details:-
                                    </td>
                                </tr>
                                <tr>
                                    <td>&nbsp;&nbsp;
                                    </td>
                                    <td>FinIQ Details&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    </td>
                                    <td>PP Details
                                    </td>
                                </tr>
                                <tr>
                                    <td>Notional
                                    </td>
                                    <td>
                                        <asp:Label ID="lblNotional_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblNotional_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Deal Pair
                                    </td>
                                    <td>
                                        <asp:Label ID="lblDealPair_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblDealPair_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Bank Option Dir
                                    </td>
                                    <td>
                                        <asp:Label ID="lblBankOptionDir_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblBankOptionDir_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Option Type
                                    </td>
                                    <td>
                                        <asp:Label ID="lblOptionType_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblOptionType_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Strike
                                    </td>
                                    <td>
                                        <asp:Label ID="lblStrike_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblStrike_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Spot
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSpot_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSpot_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Notional Currency
                                    </td>
                                    <td>
                                        <asp:Label ID="lblDepoCurrency_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblDepoCurrency_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Prem Currency
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPremCurrency_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPremCurrency_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Premium Amount
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPremiumAmount_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPremiumAmount_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Volatility
                                    </td>
                                    <td>
                                        <asp:Label ID="lblVolatility_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblVolatility_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Trade Date
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTradeDate_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTradeDate_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Spot Date
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSpotDate_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSpotDate_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Fixing Date
                                    </td>
                                    <td>
                                        <asp:Label ID="lblFixingDate_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblFixingDate_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Maturity Date
                                    </td>
                                    <td>
                                        <asp:Label ID="lblMaturityDate_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblMaturityDate_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Option Cut
                                    </td>
                                    <td>
                                        <asp:Label ID="lblOptionCut_F" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblOptionCut_PP" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>


                    <tr id="tr_PopConf" runat="server" visible="false">
                        <td colspan="2" align="center" style="padding-top: 35px !important; height: 225px; vertical-align: bottom !important;">
                            <asp:Button ID="btnPopConfYES" ToolTip="Close" runat="server"   Text="YES"  Width="100px" CssClass="btn" Style="cursor: pointer;" />
                            &nbsp;&nbsp;
                            <asp:Button ID="btnPopConfNO" ToolTip="Close" runat="server"   Text="NO" Width="100px" CssClass="btn" Style="cursor: pointer;" />
                        </td>
                    </tr>


                    <tr id="tr_PopConf_btnClose" runat="server"  >
                        <td colspan="2" align="Middle" style="padding-top: 35px !important; height: 225px; vertical-align: bottom !important;">
                            <asp:Button ID="btnClosePopup" ToolTip="Close" runat="server" Text="Close" CssClass="btn" Width="80px" />
                        </td>
                    </tr>

                    <tr runat="server" id="trTranLog" visible="false">
                        <td colspan="2" align="Middle" style="padding-top: 35px !important;"></td>
                    </tr>


                </table>
            </asp:Panel>



            <asp:Panel ID="pnlDealEntry_V" runat="server">

                <div id="divBackground" style="position: fixed; z-index: 999; height: 100%; width: 100%; top: 0; left: 0; background-color: #f7f7f7; filter: alpha(opacity=60); opacity: 0.6; -moz-opacity: 0.8; display: none">
                </div>
                <%--  <div id="divLogo" runat="server" style="width: 100%; height: 80px; text-align: center; color: #848484; font-size: 25px !important; background-color: rgb(255, 255, 255);">
                    <img style="FLOAT: left; VERTICAL-ALIGN: 50px" alt="Bank Logo" src="../App_Resources/BankLogo.jpg">
                    <span class="lblScreenHeader" id="ctl00_MainContent_lblScreenHeader">Dual Currency Investment</span>
                </div>--%>

                <div>
                    <asp:Panel ID="pnlDealConfirmationPCI" BorderStyle="Groove" HorizontalAlign="Center" BorderWidth="0" Visible="false" runat="server">
                        <%-- CssClass="UCPanelError_Landscape"--%>


                        <table border="0" class="ConfirmationBoxPos" height="510px" width="449px">
                            <%--style="width: 282px; height: 100px;"--%>
                            <tr>
                                <td colspan="4" style="height: 4px;"></td>
                            </tr>
                            <tr>

                                <td colspan="4" style="text-align: center;">
                                    <asp:Label ID="lblHeader" runat="server" CssClass="Header">You are about to book a deal with following details</asp:Label>
                                </td>

                            </tr>
                            <tr>
                                <td colspan="4" style="height: 14px;"></td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <table style="text-align: left;">
                                        <tr>
                                            <td style="width: 60px;"></td>
                                            <%----%>
                                            <td style="width: 130px;">

                                                <asp:Label ID="lblCcyPairCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Currency Pair"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblCcyPair" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td style="width: 60px;"></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblSpotRateCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Spot Rate"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblSpotRate" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblStrikeRateCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Strike Rate"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblStrikeRate" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblTransactionDateCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Trade Date"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblTransactionDate" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblValueDateCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Value Date"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblValueDate" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblFixingDateCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Fixing Date"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblFixingDate" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblMaturityDateCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Maturity Date"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblMaturityDate" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblPrincipalCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Notional"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblPrincipal" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblCustomerYieldCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Customer Yield"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblCustomerYield" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblIntAmtCap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Interest Amount"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblIntAmt" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblRepayment1Cap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Repayment1"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblRepayment1" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Label ID="lblRepayment2Cap" runat="server" CssClass="lblConfirmBOLDWidth12" Text="Repayment2"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblRepayment2" runat="server" CssClass="lblConfirmBOLDWidth12"></asp:Label>
                                            </td>
                                            <td></td>

                                        </tr>

                                        <tr style="height: 40px !important;">
                                            <td></td>
                                            <td style="text-align: center;" colspan="2">
                                                <%--<asp:Label ID="lblTimer" runat="server" CssClass="lblConfirmTimerBOLDWidth14"></asp:Label>--%>
                                                <asp:Label ID="lblRemainingTime" runat="server" CssClass="lbl" Text="Remaining Time :"></asp:Label>

                                                <asp:Label ID="lblDealConfirmTimer" runat="server" CssClass="lbl" Font-Bold="true" Font-Size="20px" Width="25px" Style="color: #2686e0;"></asp:Label>

                                            </td>
                                            <td></td>
                                        </tr>

                                        <tr>
                                            <td></td>
                                            <td>
                                                <input type="button" class="btn" value="Confirm" onclick="ConfirmCheckPCI()" style="width: 110px;" />
                                                <asp:Button ID="btnConfirm" runat="server" Text="" CssClass="show_hide" Width="0px" Style="display: none;" />


                                            </td>
                                            <td>
                                                <%--<input type="button" id="btnCancelDealConfirmation" runat="server" value="Close" class="btn" style="vertical-align: top; width: 120px;" onclick="HideModalDiv()" />--%>
                                                <asp:Button ID="btnCancelConfirmation" runat="server" Text="Cancel" CssClass="btn" Width="110px" />
                                            </td>
                                            <td></td>

                                        </tr>
                                    </table>
                                </td>
                            </tr>



                        </table>
                    </asp:Panel>
                </div>

                <table id="FavPairs" class="Main">
                </table>

                <table class="tblDealEntry">

                    <%--    ''<$Rajesh M | 26-Jun-2020 |Changes done | JIRA Ref: BNPINT-547 As per discussion with Prashant M. over whatsapp call>
                            ''JIRA Ref: BNPINT-547 DCI/DCX deal entry : Move LP Panel to top
	                        ''Issue   : 
                            ''Logs    : 
                            ''Findings:  
                            ''Solution: 
                            ''Email Sub:  
                            ''SQL change Y/N : N
                    --%>
                    <tr>
                        <td colspan="3">

                            <table class="lptbl" runat="server" id="tblp" cellpadding="0" cellspaceing="0">
                                <tr>
                                    <td id="tdQuoteDisplay" runat="server" style="border-collapse: collapse !important; padding-left: 3px; padding-right: 3px;">
                                        <asp:Label ID="lblHeaderBestPricePremiums" runat="server" Text="Premium(s)" CssClass="Header" Visible="false"></asp:Label>


                                        <asp:DataList ID="dlLPControl" runat="server" RepeatLayout="Table" CellPadding="0" cellspaceing="0">
                                            <ItemTemplate>

                                                <table cellpadding="0" cellspaceing="0" style="border-collapse: collapse !important">
                                                    <tr>
                                                        <td style="border-collapse: collapse !important; padding: 0px 3px">
                                                            <ucQuoteDisplayPanel:FinIQ_LP_QuoteDisplayPanel runat="server" Style="vertical-align: top; white-space: nowrap;" ID="QuoteDisplayPanel1" OnUC_Postback="QuoteDisplayPanel1_UC_Postback" />

                                                            <td>
                                                    </tr>
                                                </table>


                                            </ItemTemplate>
                                        </asp:DataList>

                                    </td>
                                </tr>
                            </table>

                        </td>

                    </tr>

                    <%-- ''</$Rajesh M | 26-Jun-2020 |Changes done | JIRA Ref: BNPINT-547 As per discussion with Prashant M. over whatsapp call>  --%>

                    <tr>
                        <td colspan="4">

                            <asp:Label ID="lblErrorMessage" runat="server" CssClass="DCDinfo_Panel" ClientIDMode="Static" EnableViewState="true"></asp:Label>
                            <!-- Hidden Controls -->

                            <div title="hiddenControls">
                                <input type="hidden" id="hdnScreenGUID" name="hdnScreenGUID" runat="server" />

                                <input type="hidden" id="hdnProductID" name="hdnProductID" runat="server" />
                                <input type="hidden" id="hdnProductCode" name="hdnProductCode" runat="server" />
                                <input type="hidden" id="hdnProductName" name="hdnProductName" runat="server" />


                                <input type="hidden" id="hdnEnternalRFQID" name="hdnEnternalRFQID" runat="server" />
                                <input type="hidden" id="hdnBestPriceDCDRFQID" name="hdnBestPriceDCDRFQID" runat="server" />
                                <input type="hidden" id="hdnParentRFQId" name="hdnParentRFQId" runat="server" />
                                <input type="hidden" id="hdnTwoStepParentRFQId" name="hdnTwoStepParentRFQId" runat="server" />

                                <input type="hidden" id="hdnPriceProviderExternalRFQId" name="hdnPriceProviderExternalRFQId" runat="server" />
                                <asp:HiddenField ID="hdnConfirmBoxValue" runat="server" />
                                <input type="hidden" runat="server" id="hdnDealEntryHideShow" />
                                <input type="hidden" id="hdnRateSetName" name="hdnRateSetName" runat="server" />
                                <input type="hidden" id="hdnDealingRMID" name="hdnDealingRMID" runat="server" />
                                <input type="hidden" id="hdnBookID" name="hdnBookID" runat="server" />
                                <input type="hidden" id="hdnStaffYN" name="hdnStaffYN" runat="server" />
                                <input type="hidden" id="hdnCustAccrediatedFlag" name="hdnCustAccrediatedFlag" runat="server" />
                                <input type="hidden" id="hdnMainRMID" name="hdnMainRMID" runat="server" />
                                <input type="hidden" id="hdnDecimalRate1" name="hdnDecimalRate1" runat="server" />
                                <input type="hidden" id="hdnDecimalRate2" name="hdnDecimalRate2" runat="server" />
                                <input type="hidden" id="hdnDecimalAmount1" name="hdnDecimalAmount1" runat="server" />
                                <input type="hidden" id="hdnDecimalAmount2" name="hdnDecimalAmount2" runat="server" />
                                <input type="hidden" id="hdnBaseSpot" name="hdnBaseSpot" runat="server" />
                                <input type="hidden" id="hdnPointShift" name="hdnPointShift" runat="server" />
                                <input type="hidden" id="hdnBusinessDate" name="hdnBusinessDate" runat="server" />
                                <input type="hidden" id="hdnLocalDate" name="hdnLocalDate" runat="server" />
                                <input type="hidden" id="hdnGlobalServerDate" name="hdnGlobalServerDate" runat="server" />
                                <input type="hidden" id="hdnUTCTradeDate" name="hdnUTCTradeDate" runat="server" />

                                <input type="hidden" id="hdnPairID" name="hdnPairID" runat="server" />
                                <input type="hidden" id="hdnCCYPair" name="hdnCCYPair" runat="server" />
                                <input type="hidden" id="hdnOPPOS_StaticField1" name="hdnOPPOS_StaticField1" runat="server" />
                                <input type="hidden" id="hdnIRDecimalRate1" name="hdnDecimalRate1" runat="server" />
                                <input type="hidden" id="hdnIRDecimalRate2" name="hdnDecimalRate2" runat="server" />

                                <input type="hidden" id="hdnDepoLeapYearBasis" name="hdnDepoLeapYearBasis" runat="server" />
                                <input type="hidden" id="hdnAltLeapYearBasis" name="hdnAltLeapYearBasis" runat="server" />
                                <input type="hidden" id="hdnDeltaHedgeSpotSpread" name="hdnDeltaHedgeSpotSpread"
                                    runat="server" />
                                <input type="hidden" id="hdnRollOver_Root_Depo_Ccy" name="hdnRollover_Root_CCY" runat="server" />
                                <input type="hidden" id="hdnRollOver_Root_Depo_Amount" name="hdnRollover_Root_Amt"
                                    runat="server" />
                                <input type="hidden" id="hdnRollover_Root_Depo_Equvi_Amount_Now" name="hdnRollover_Root_Depo_Equvi_Amount_Now"
                                    runat="server" />
                                <input type="hidden" id="hdnCustType" name="hdnCustType" runat="server" />
                                <input type="hidden" id="hdnPEN_DepoCCY" name="hdnPEN_DepoCCY" runat="server" />
                                <input type="hidden" id="hdnPEN_AltCCY" name="hdnPEN_AltCCY" runat="server" />
                                <input type="hidden" id="hdnPEN_Tenor" name="hdnPEN_Tenor" runat="server" />
                                <input type="hidden" id="hdnPEN_Spread" name="hdnPEN_Spread" runat="server" />
                                <input type="hidden" id="hdnPEN_Strike" name="hdnPEN_Strike" runat="server" />
                                <input type="hidden" id="hdnBaseDA" name="hdnBaseDA" runat="server" />
                                <input type="hidden" id="hdnParentDeal_CcyPair" name="hdnParentDeal_CcyPair" runat="server" />
                                <input type="hidden" id="hdnOptionPremiumBasedOn_Rollover" name="hdnOptionPremiumBasedOn_Rollover"
                                    runat="server" />
                                <input type="hidden" id="hdnOptionPremiumBasedOn" name="hdnOptionPremiumBasedOn"
                                    runat="server" />
                                <input type="hidden" id="hdnRollOver_Root" name="hdnRollOver_Root" runat="server" />
                                <input type="hidden" id="hdnClickButtonStatus" name="hdnClickButtonStatus" runat="server" />
                                <input type="hidden" id="hdnValidityTime" name="hdnValidityTime" runat="server" />
                                <input type="hidden" id="hdnMENTotalNotionalAmt" name="hdnMENTotalNotionalAmt" runat="server" />
                                <input type="hidden" id="hdnSolvedAt" name="hdnSolvedAt" runat="server" />
                                <input type="hidden" id="hdnSolvedAt_ClientSide" name="hdnSolvedAt_ClientSide" runat="server" />
                                <input type="hidden" id="hdnMinSpreadPct" name="hdnMinSpreadPct" runat="server" />
                                <input type="hidden" id="hdnMaxSpreadPct" name="hdnMaxSpreadPct" runat="server" />
                                <input type="hidden" id="hdnMaxDealNotional" name="hdnMaxDealNotional" runat="server" />
                                <input type="hidden" id="hdnMinDealNotional" name="hdnMinDealNotional" runat="server" />
                                <input type="hidden" id="hdnMinSpreadAmt" name="hdnMinSpreadAmt" runat="server" />
                                <input type="hidden" id="hdnMaxSpreadAmt" name="hdnMaxSpreadAmt" runat="server" />
                                <input type="hidden" id="hdnPremiumSpreadDepo" name="hdnPremiumSpreadDepo" runat="server" />
                                <input type="hidden" id="hdnInterestDepo_Rounded_AfterTax" name="hdnInterestDepo_Rounded_AfterTax"
                                    runat="server" />
                                <input type="hidden" id="hdnInterestAlt_Rounded_AfterTax" name="hdnInterestAlt_Rounded_AfterTax"
                                    runat="server" />
                                <input type="hidden" id="hdnInterestDepo_Rounded" name="hdnInterestDepo_Rounded"
                                    runat="server" />
                                <input type="hidden" id="hdnInterestAlt_Rounded" name="hdnInterestAlt_Rounded"
                                    runat="server" />
                                <input type="hidden" id="hdnIRDepo_NR" name="hdnIRDepo_NR" runat="server" />
                                <input type="hidden" id="hdnIRAlt_NR" name="hdnIRAlt_NR" runat="server" />
                                <input type="hidden" id="hdnIRDepo_Compounded" name="hdnIRDepo_Compounded" runat="server" />
                                <input type="hidden" id="hdnIRALt_Compounded" name="IRALt_Compounded" runat="server" />
                                <input type="hidden" id="hdnVolatilityNONRounded" name="hdnVolNONRounded" runat="server" />
                                <input type="hidden" id="hdnTotalYield_NR" name="hdnCustYield_NR" runat="server" />
                                <input type="hidden" id="hdnPremiumAnnualised" name="hdnPremiumAnnualised" runat="server" />
                                <input type="hidden" id="hdnMarketPremium" name="hdnMarketPremium" runat="server" />
                                <input type="hidden" id="hdnVega" name="hdnVega" runat="server" />
                                <input type="hidden" id="hdnGamma" name="hdnGamma" runat="server" />
                                <input type="hidden" id="hdnTheta" name="hdnTheta" runat="server" />
                                <input type="hidden" id="hdnRHO" name="hdnRHO" runat="server" />
                                <input type="hidden" id="hdnVegaAmt" name="hdnVegaAmt" runat="server" />
                                <input type="hidden" id="hdnGammaAmt" name="hdnGammaAmt" runat="server" />
                                <input type="hidden" id="hdnThetaAmt" name="hdnThetaAmt" runat="server" />
                                <input type="hidden" id="hdnRHOAmt" name="hdnRHOAmt" runat="server" />
                                <input type="hidden" id="hdnsDefaultCrDays" name="hdnsDefaultCrDays" runat="server" />
                                <input type="hidden" id="hdnsDefaultDrDays" name="hdnsDefaultDrDays" runat="server" />
                                <input type="hidden" id="hdnSoftTenorCode" name="hdnSoftTenorCode" runat="server" />
                                <input type="hidden" id="hdnMENParentDealNumber" name="hdnMENParentDealNumber" runat="server" />
                                <input type="hidden" id="hdnEnhancedYield_NR" name="hdnEnhancedYield_NR" runat="server" />
                                <input type="hidden" id="hdnAltShortYearBasisAlt2" name="hdnAltShortYearBasisAlt2" runat="server" />
                                <input type="hidden" id="hdnAltLeapYearBasisAlt2" name="hdnAltLeapYearBasisAlt2" runat="server" />
                                <input type="hidden" id="hdnDecimalAmount3" name="hdnDecimalAmount3" runat="server" />
                                <asp:TextBox ID="txtSpotRateCrossAltCcy" runat="server" Visible="false"></asp:TextBox>
                                <asp:TextBox ID="txtStrikeRateCrossAlt" runat="server" Visible="false"></asp:TextBox>
                                <asp:TextBox ID="txtStrikePointsCrossAlt" runat="server" Visible="false"></asp:TextBox>
                                <input type="hidden" id="hdnDecimalAmount_USD" name="hdnDecimalAmount_USD" runat="server" />
                                <input type="hidden" id="hdnPointShift2" name="hdnPointShift2" runat="server" />
                                <input type="hidden" id="hdnDelta1" name="hdnDelta1" runat="server" />
                                <input type="hidden" id="hdnDelta2" name="hdnDelta2" runat="server" />
                                <input type="hidden" id="hdnDeltaAmt1" name="hdnDeltaAmt1" runat="server" />
                                <input type="hidden" id="hdnDeltaAmt2" name="hdnDeltaAmt2" runat="server" />
                                <input type="hidden" id="hdnPrem_Strike" name="hdnPrem_Strike" runat="server" />
                                <input type="hidden" id="hdnPrem_Strike_Far" name="hdnPrem_Strike_Far" runat="server" />
                                <input type="hidden" id="hdnBidVol" name="hdnBidVol" runat="server" />
                                <input type="hidden" id="hdnAskVol" name="hdnAskVol" runat="server" />
                                <input type="hidden" id="hdnFarStrikeOfferVol" name="hdnFarStrikeOfferVol" runat="server" />
                                <input type="hidden" id="hdnSpotFactorAlt1" name="hdnSpotFactorAlt1" runat="server" />
                                <input type="hidden" id="hdnSpotFactorAlt2" name="hdnSpotFactorAlt2" runat="server" />
                                <input type="hidden" id="hdnPair12_Input_CV_CR_Flag" name="hdnPair12_Input_CV_CR_Flag"
                                    runat="server" />
                                <input type="hidden" id="hdnLCY_USD_Pair" name="hdnLCY_USD_Pair" runat="server" />
                                <input type="hidden" id="hdnRCY_USD_Pair" name="hdnRCY_USD_Pair" runat="server" />
                                <input type="hidden" id="hdnlLCY_USD_Rate" name="hdnlLCY_USD_Rate" runat="server" />
                                <input type="hidden" id="hdnlRCY_USD_Rate" name="hdnlRCY_USD_Rate" runat="server" />
                                <input type="hidden" id="hdnLCY_To_RCY_Divide_Multiply" name="hdnLCY_To_RCY_Divide_Multiply"
                                    runat="server" />
                                <input type="hidden" id="hdnLCY_USD_Position" name="hdnLCY_USD_Position" runat="server" />
                                <input type="hidden" id="hdnRCY_USD_Position" name="hdnRCY_USD_Position" runat="server" />
                                <input type="hidden" id="hdnResultBidAsk" name="hdnResultBidAsk" runat="server" />
                                <input type="hidden" id="hdnRepayment3" name="hdnRepayment3" runat="server" />
                                <input type="hidden" id="hdnDecimalRate3" name="hdnDecimalRate3" runat="server" />
                                <input type="hidden" id="hdnDecimalRates2" name="hdnDecimalRates2" runat="server" />
                                <input type="hidden" id="hdnPremPctNonRounded" name="hdnPremPctNonRounded" runat="server" />
                                <input type="hidden" id="hdnDelta_Pair1AltCcy" name="hdnDelta_Pair1AltCcy" runat="server" />
                                <input type="hidden" id="hdnDelta_Pair2AltCcy" name="hdnDelta_Pair2AltCcy" runat="server" />
                                <input type="hidden" id="hdnDelta_Pair1DepoCcy" name="hdnDelta_Pair1DepoCcy" runat="server" />
                                <input type="hidden" id="hdnDelta_Pair2DepoCcy" name="hdnDelta_Pair2DepoCcy" runat="server" />
                                <input type="hidden" id="hdnDelta_Pair1DepoCcy_Amt" name="hdnDelta_Pair1DepoCcy_Amt"
                                    runat="server" />
                                <input type="hidden" id="hdnDelta_Pair1AltCcy_Amt" name="hdnDelta_Pair1AltCcy_Amt"
                                    runat="server" />
                                <input type="hidden" id="hdnDelta_Pair2DepoCcy_Amt" name="hdnDelta_Pair2DepoCcy_Amt"
                                    runat="server" />
                                <input type="hidden" id="hdnDelta_Pair2AltCcy_Amt" name="hdnDelta_Pair2AltCcy_Amt"
                                    runat="server" />
                                <input type="hidden" id="hdnIRDepo_Rounded" name="hdnIRDepo_Rounded" runat="server" />
                                <input type="hidden" id="hdnForwardRate2" name="hdnForwardRate2" runat="server" />
                                <input type="hidden" id="hdnIRALt2_Compounded" name="hdnIRALt2_Compounded" runat="server" />
                                <input type="hidden" id="hdnOriginalRM_Spread" name="hdnOriginalRM_Spread" runat="server" />
                                <input type="hidden" id="hdnOrdinaryInterestAmount" name="hdnOrdinaryInterestAmount" runat="server" />
                                <input type="hidden" id="hdnAnnualisedCustomerPremium" name="hdnAnnualisedCustomerPremium"
                                    runat="server" />
                                <input type="hidden" id="hdnCustomerProdSubDate" name="hdnCustomerProdSubDate" runat="server" />
                                <input type="hidden" id="hdncustomerid" name="hdncustomerid" runat="server" />
                                <input type="hidden" id="hdnCustName" name="hdnCustName" runat="server" />
                                <input type="hidden" id="hdnCustomerDocID" name="hdnCustomerDocID" runat="server" />
                                <!--23-Mar-2013 -->
                                <!-- 1-Apr-2013 -->
                                <input type="hidden" id="hdnSpotRateNR" name="hdnSpotRateNR" runat="server" />
                                <input type="hidden" id="hdnSpotRateNR2" name="hdnSpotRateNR2" runat="server" />
                                <!-- End 1-Apr-2013 -->
                                <input type="hidden" id="hdnExceptionWarningMessage" name="hdnExceptionWarningMessage"
                                    runat="server" />
                                <%--End : added by Kshitija on 09-Nov-2012--%>
                                <input type="hidden" id="hdnDeltaAmountDepo_NonRounded_PAdj" name="hdnDeltaAmountDepo_NonRounded_PAdj"
                                    runat="server" />
                                <input type="hidden" id="hdnPremiumReceivable" name="hdnPremiumReceivable"
                                    runat="server" />
                                <input type="hidden" id="hdnPremiumPayable" name="hdnPremiumPayable"
                                    runat="server" />
                                <asp:HiddenField ID="hdnSpotInv" runat="server" />
                                <asp:HiddenField ID="hdnStrikeInv" runat="server" />
                                <asp:HiddenField ID="hdnSpotInternal" runat="server" />
                                <asp:HiddenField ID="hdnSolveForTimer" runat="server" />
                                <asp:HiddenField ID="hdnDealingRM" runat="server" />
                                <asp:HiddenField ID="hdnMainRM" runat="server" />
                                <asp:HiddenField ID="hdnRFQNo" runat="server" />
                                <asp:HiddenField ID="hdnParentDCDRFQNo" runat="server" />


                                <input type="hidden" id="hdnMMInterestAmt" name="hdnMMInterestAmt" runat="server" />
                                <asp:HiddenField ID="hdnTaxRate" runat="server" />
                                
                                <input type="hidden" id="hdnForwardDays" name="hdnForwardDays" runat="server" />

                                <input type="hidden" id="hdnPremSpread" name="hdnPremSpread" runat="server" />
                                <input type="hidden" id="hdnNotionalAmtAlt" name="hdnNotionalAmtAlt" runat="server" />
                                <asp:HiddenField ID="hdnPrincipalProtectionPct" runat="server" />
                                <asp:HiddenField ID="hdnbankbasegoodorder" runat="server" />
                                <asp:HiddenField ID="hdnbasedeporate" runat="server" />

                                <input type="hidden" id="hdnMode" name="hdnMode" runat="server" />

                                <input type="hidden" id="hdnAutoSaveFromDealEntry" name="hdnAutoSaveFromDealEntry" runat="server" />
                                <input type="hidden" id="hdnDealConfirmation" name="hdnDealConfirmation" runat="server" />
                                <input type="hidden" id="hdnPopUpSummary" name="hdnPopUpSummary" runat="server" />

                                <input type="hidden" id="hdnDefaultSpread" name="hdnDefaultSpread" runat="server" value="YES" />
                                <input type="hidden" id="hdnAccreditedCust" name="hdnAccreditedCust" runat="server" />
                                <input type="hidden" id="hdnDecimalRate_USD" name="hdnDecimalRate_USD" runat="server" />
                                <input type="hidden" id="hdnPENMode" name="hdnPENMode" runat="server" />
                                <input type="hidden" id="hdnFEA_ID" name="hdnFEA_ID" runat="server" />
                                <input type="hidden" id="hdnLimitCheck" name="hdnLimitCheck" runat="server" />
                                <input type="hidden" id="hdnVolChange" name="hdnVolChange" runat="server" />
                                <input type="hidden" id="hdnIR1change" name="hdnIR1change" runat="server" />
                                <input type="hidden" id="hdnIR2change" name="hdnIR2change" runat="server" />
                                <input type="hidden" id="hdnTradeDatechange" name="hdnTradeDatechange" runat="server" />
                                <input type="hidden" id="hdnValueDatechange" name="hdnValueDatechange" runat="server" />
                                <input type="hidden" id="hdnExpiryDatechange" name="hdnExpiryDatechange" runat="server" />
                                <input type="hidden" id="hdnMaturityDatechange" name="hdnMaturityDatechange" runat="server" />
                                <input type="hidden" id="hdnBoardratechange" name="hdnBoardratechange" runat="server" />
                                <input type="hidden" id="hdnOptionSpreadChange" name="hdnOptionSpreadChange" runat="server" />
                                <input type="hidden" id="hdnMMSpreadChange" name="hdnMMSpreadChange" runat="server" />

                                <input type="hidden" id="hdnUseManualEnteredIRValues" name="hdnUseManualEnteredIRValues" runat="server" />
                                <input type="hidden" id="hdnSpotFactor" name="hdnSpotFactor" runat="server" />
                                <input type="hidden" id="hdnRateInterpolationBasis1" name="hdnRateInterpolationBasis1" runat="server" />
                                <input type="hidden" id="hdnRateInterpolationBasis2" name="hdnRateInterpolationBasis2" runat="server" />
                                <input type="hidden" id="hdnBookName" name="hdnBookName" runat="server" />
                                <asp:HiddenField ID="hdnpairdetails" runat="server" />

                                <input type="hidden" id="hdnTradeBook_PriceProvider" name="hdnTradeBook_PriceProvider" runat="server" />
                                <input type="hidden" id="hdnPriceProviderForTrade" name="hdnPriceProviderForTrade" runat="server" />
                                <input type="hidden" id="hdnClearQuoteDisplay" name="hdnClearQuoteDisplay" runat="server" />
                                <input type="hidden" id="hdnTimerLeft" name="hdnTimerLeft" runat="server" />
                                <input type="hidden" id="hdnSolveFor" name="hdnSolveFor" runat="server" />

                                <input type="hidden" id="hdnBestPriceLog" name="hdnBestPriceLog" runat="server" />


                                <asp:Label ID="lblNotionalAlt" CssClass="lbl" runat="server" Visible="false"></asp:Label>
                                <asp:Label ID="lblInterestAmtAlt" runat="server" CssClass="lbl" Text="Label" BorderStyle="None" Visible="false"></asp:Label>
                                <asp:TextBox ID="txtSolveForValue" runat="server" CssClass="txt" Font-Bold="True" TabIndex="6" ReadOnly="true" Visible="false"></asp:TextBox>
                                <asp:DropDownList ID="ddlTaxOn" runat="server" CssClass="ddl" ReadOnly="True" Visible="false"> </asp:DropDownList>
                                <asp:Button ID="btnApplyChild" runat="server" Style="width: 0px; height: 0px; font-size: 0; border: none; display: none !important;" />
                                <asp:Button ID="btnStaticClose" runat="server" Width="0" Style="width: 0px; height: 0px; font-size: 0; border: none; display: none !important;" />

                                <asp:Button ID="btnHiddenTrade" runat="server" Width="100" CssClass="btn" Text="click" Style="display: none;" />
                                <asp:Button ID="btnHiddenIndicativeTermsheet" runat="server" Width="100" CssClass="btn" Text="click" Style="display: none;" />
                                <asp:Button ID="btnHiddenEmailGen" runat="server" Width="100" CssClass="btn" Text="click" Style="display: none;" />
                                <asp:Button ID="btnHiddenNonBestSolve" runat="server" Width="100" CssClass="btn" Text="click" Style="display: none;" />
                                <asp:Button ID="btnhiddenClearQuote" runat="server" Width="100" CssClass="btn" Text="click" Style="display: none;" />

                                <asp:Label ID="lblTimeVal" runat="server" Text="" Visible="false"></asp:Label>
                                <asp:Label ID="lblBaseCcy2" runat="server" Text="" Visible="false"></asp:Label>
                                <asp:Label ID="lblBankBaseCurrency" runat="server" Text="" Visible="false"></asp:Label>

                                <asp:Label ID="lblCallPut" runat="server" CssClass="lbl" TabIndex="9" Visible="false"></asp:Label>

                                <asp:DropDownList ID="ddlSolveFor" runat="server" CssClass="ddl txtLong_WidthStatic" AutoPostBack="true" Visible="false"
                                    Width="128px" TabIndex="17">
                                    <asp:ListItem>Strike</asp:ListItem>
                                    <asp:ListItem Selected="True">Yield</asp:ListItem>
                                    <asp:ListItem>Margin</asp:ListItem>
                                </asp:DropDownList>
                                <asp:CheckBox ID="chkSuggestStrike" runat="server" ToolTip="Auto suggest strike"
                                    Visible="false" />
                                <asp:DropDownList ID="ddlAltCcy2" CssClass="ddl" runat="server" AutoPostBack="True" Visible="false"
                                    Height="16px">
                                </asp:DropDownList>
                               
                             
 
                                <asp:TextBox ID="txtTaxRates" runat="server" CssClass="txt" MaxLength="6" Style="padding-left: 0px" Visible="false"></asp:TextBox>
                                <asp:TextBox ID="txtStrike2" CssClass="txt Width60" runat="server" AutoPostBack="true" Visible="false" />


                                <asp:TextBox ID="lblTaxAmount" runat="server" CssClass="txt" ReadOnly="false" Style="padding-left: 0px" Visible="false"></asp:TextBox>

                                <asp:Label ID="lblRepaymentInv" runat="server" CssClass="lbl" Text="(Inv)" Visible="false"></asp:Label>
                                <asp:Label ID="lblRepaymentAlt" runat="server" CssClass="lbl" Text="(Alt)" Visible="false"></asp:Label>

                                <asp:TextBox ID="txtSpot2" CssClass="txt" runat="server" AutoPostBack="true" Visible="false"></asp:TextBox>
                                <asp:TextBox ID="txtStrikePoints2" CssClass="txt" Width="45px" runat="server" AutoPostBack="true"
                                    Font-Bold="True" Visible="false"></asp:TextBox>
                                <asp:TextBox ID="lblOpEndDate" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="true" Style="padding-left: 0px"
                                    Enabled="false" Visible="false"></asp:TextBox>
                                <asp:DropDownList ID="ddlCorrelationSource" runat="server" AutoPostBack="true" CssClass="ddl Width142" Visible="false">
                                </asp:DropDownList>
                                 
                            
                                <asp:TextBox ID="txtValueDays" runat="server" CssClass="txtValueDays" Visible="false"></asp:TextBox>

                            </div>
                        </td>

                    </tr>

                    <tr>
                        <td>
                            <table class="lblinfoTable">

                                <tr>
                                    <td style="width: 150px;"></td>
                                    <td style="padding-left: 8px;">

                                        <span id="SpanRFQID" runat="server" cssclass="lbl RFQLabel">RFQ No </span>
                                        <asp:Label ID="lblRFQ" runat="server" CssClass="lbl RFQLabelValue"></asp:Label>

                                        <asp:Label ID="lblTimerTime" runat="server" Text="" CssClass="lbl lblTimer"></asp:Label>
                                        <asp:Label ID="lblQueueName" runat="server" CssClass="lbl" Style="padding-left: 10px;" Visible="false"></asp:Label>
                                    </td>
                                </tr>

                            </table>




                        </td>
                        <td colspan="3"></td>
                    </tr>

                    <tr>


                        <td style="padding-bottom: 30px !important;">



                            <table id="deal_data_2" style="" class="Main">
                                <tr>
                                    <td>
                                        <asp:Label ID="lbldummy5" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label>

                                    </td>
                                    <td>
                                        <asp:Label ID="lbldummy6" runat="server" CssClass="lblerror"></asp:Label>

                                    </td>
                                </tr>


                                <tr>
                                    <td>
                                        <asp:Label ID="lblEntityCap" runat="server" CssClass="lbl" Text="Booking Center"></asp:Label>
                                        <asp:Label ID="Label39" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlEntity" runat="server" CssClass="ddl" Enabled="True"
                                            AutoPostBack="True" TabIndex="14">
                                        </asp:DropDownList></td>
                                </tr>
                                <tr id="trCustomer" runat="server">
                                    <td>
                                        <asp:Label ID="lblCustCap" runat="server" CssClass="lbl" Text="Customer ID"></asp:Label>
                                        <asp:Label ID="Label13" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <ucsmart:FinIQ_Customer_SmartSearch ID="FindCustSmart" runat="server" Style="vertical-align: top; white-space: nowrap;" OnUC_Postback="FindCustSmart_UC_Postback" SetTabIndex="1" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblDepoCcyCap" runat="server" CssClass="lbl" Text="Investment Currency"></asp:Label>
                                        <asp:Label ID="Label14" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlDepoCcy" CssClass="ddl" runat="server" AutoPostBack="True"
                                            TabIndex="2">
                                        </asp:DropDownList>


                                        <asp:TextBox ID="txtDepoYearBasis" runat="server" Enabled="false" CssClass="txtWidthYearBasis" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblAltCcyCap" runat="server" CssClass="lbl" Text="Alternate Currency"></asp:Label>
                                        <asp:Label ID="Label15" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlAltCcy" CssClass="ddl" runat="server" AutoPostBack="True"
                                            TabIndex="3">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="txtAltYearBasis" runat="server" Enabled="false" CssClass="txtWidthYearBasis" />
                                    </td>

                                </tr>
                                <tr id="tr_PriceProvider" runat="server" visible="false">
                                    <td>
                                        <asp:Label ID="lblPriceProviderCap" runat="server" CssClass="lbl" Text="Price Provider"></asp:Label>
                                        <asp:Label ID="Label17" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td style="vertical-align: middle;">
                                        <asp:DropDownList CssClass="ddl" ID="ddlPriceProvider" runat="server"
                                            AutoPostBack="true" TabIndex="9" Visible="true">
                                        </asp:DropDownList>
                                        <asp:Image ID="imgPPHighlighter" runat="server" ImageUrl="~/App_Resources/goldtrophy.png" Height="18px" Width="22px" Style="vertical-align: middle;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPrincipalCap1" runat="server" CssClass="lbl" Text="Notional"></asp:Label>
                                        <asp:Label ID="lblPrincipalInv" runat="server" Text="(Inv)" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="Label18" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtNotionalDepo" CssClass="txt txtNotionalDepo" runat="server" onkeypress="return isMinusKey(event)" onchange="StopTheClock();"
                                            Style="" AutoPostBack="true"
                                            TabIndex="4" MaxLength="12"></asp:TextBox>
                                        <input type="button" id="btnLimitInquiry" class="btnActive" value="L" runat="server" disabled="disabled" visible="false" style="width: 20px !important;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPrincipalCap2" runat="server" CssClass="lbl" Text="Notional"></asp:Label>
                                        <asp:Label ID="lblNotionalBase" runat="server" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="Label16" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="lblNotionalUSD" runat="server" CssClass="txt txtNotionalDepo" Text="" ReadOnly="true"
                                            Style=""></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblDepositTenorCap" runat="server" CssClass="lbl" Text="Investment Period"></asp:Label>
                                        <asp:Label ID="Label19" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlTenor" CssClass="ddl" runat="server" AutoPostBack="true" TabIndex="5"></asp:DropDownList>
                                        <asp:TextBox ID="txtTenor" runat="server" AutoPostBack="true" CssClass="txt txtWidth"></asp:TextBox>
                                        <asp:DropDownList ID="ddlValueDays" runat="server" CssClass="ddl" AutoPostBack="true" Enabled="false"></asp:DropDownList>
                                        <asp:CheckBox ID="chkDates" runat="server" ToolTip="Default Dates" AutoPostBack="true"
                                            CssClass="chkDefaultDates" Style="padding-left: 0px" TabIndex="15" Checked="true" Visible="false" />
                                    </td>


                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblOptCutCap" runat="server" CssClass="lbl" Text="Option Cut"></asp:Label></td>
                                    <td>
                                        <asp:DropDownList ID="ddlOptionCut" runat="server" CssClass="ddl" Enabled="false"></asp:DropDownList></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblSpotRateCap1" runat="server" CssClass="lbl" Text="Spot Rate"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtSpot" CssClass="txtSpot" runat="server" AutoPostBack="true"
                                            TabIndex="6" MaxLength="12" onkeypress="return isNumberMinusKey(event)" onchange="StopTheClock();"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: top !important;">
                                        <asp:Label ID="lblStrikeRateCap1" runat="server" CssClass="lbl" Text="Strike Rate"></asp:Label>
                                        <asp:ImageButton ID="imgDirection" ImageUrl="..\App_Resources\RMW_Images\Down.png" runat="server" Style="margin-left: 0px !important; padding-left: 60px !important; vertical-align: bottom; padding-top: 6px;" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtStrikeRate" runat="server" CssClass="txtStrikePoints" AutoPostBack="true" TabIndex="7" MaxLength="12" onkeypress="return isNumberMinusKey(event)" onchange="StopTheClock();"></asp:TextBox>
                                        <asp:Button ID="btnSolveStrike" runat="server" Text="Strike" CssClass="btn btnCalculate" Width="60px" ToolTip="Solve for *Strike" TabIndex="8" Visible="false"></asp:Button>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblStrikePtsCap" runat="server" CssClass="lbl" Text="Strike Points"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtStrikePoints" CssClass="txtStrikePoints" runat="server" AutoPostBack="true"
                                            TabIndex="8" MaxLength="12" onkeypress="return isNumberKey(event)" onchange="StopTheClock();"></asp:TextBox>

                                        <asp:UpdateProgress ID="pnlProgress" runat="server" AssociatedUpdatePanelID="pnlUpdateDCD_V" DisplayAfter="0">
                                            <ProgressTemplate>
                                                <div class="UpdateProgress" style="top: 0px; height: 1000px; background-color: #f2f2f2; opacity: 0.8; filter: alpha(opacity=80); vertical-align: middle; left: 0px; z-index: 99999; position: absolute; text-align: center;">
                                                    <div class="Progress divLoading " style="font: bold 12px/14px verdana; color: #333333; padding: 10px; height: auto; width: 100%; vertical-align: middle; z-index: 999999; position: absolute; text-align: left; top: 30% !important; left: 40% !important;">
                                                        <img alt="Loading" src="../App_Resources/ajax-loader7.gif" style="width: 22px;" /><span class="">Loading...</span>
                                                    </div>
                                                </div>
                                            </ProgressTemplate>
                                        </asp:UpdateProgress>
                                    </td>
                                </tr>

                                <tr>
                                    <td>
                                        <asp:Label ID="Label22" runat="server" CssClass="lbl" Text="Pricing Model"></asp:Label>
                                        <asp:Label ID="Label23" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlPricingModel" runat="server" CssClass="ddl" Enabled="True" AutoPostBack="false" TabIndex="14">
                                            <asp:ListItem Text="Black Scholes" Value="BS"></asp:ListItem>
                                            <asp:ListItem Text="Vanna–Volga" Value="VANNAVOLGA"></asp:ListItem>

                                        </asp:DropDownList>

                                    </td>
                                </tr>

                                <tr>
                                    <td>
                                        <asp:Label ID="Label20" runat="server" CssClass="lbl" Text="Barrier Type"></asp:Label>
                                        <asp:Label ID="Label21" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlBarrierSelector" runat="server" CssClass="ddl" Enabled="True" AutoPostBack="True" TabIndex="14"></asp:DropDownList>

                                    </td>
                                </tr>

                                <tr>
                                    <td>
                                        <asp:Label ID="lblBarrierText" runat="server" CssClass="lbl" Text="Upper / Lower Barrier"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtUpperBarrier" CssClass="txtBarriers" runat="server" AutoPostBack="true"
                                            TabIndex="8" MaxLength="12" onkeypress="return isNumberDotKey(event)" ></asp:TextBox>

                                        <asp:TextBox ID="txtLowerBarrier" CssClass="txtBarriers" runat="server" AutoPostBack="true"
                                            TabIndex="8" MaxLength="12" onkeypress="return isNumberDotKey(event)" ></asp:TextBox>
           
                                    </td>
                                </tr>

                              <tr>
                                    <td>
                                        <asp:Label ID="lblYieldCap" runat="server" CssClass="lbl" Text="Enhanced Yield p.a. (%)"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtCustomerYield" CssClass="txtStrikePoints" runat="server" AutoPostBack="true"
                                            MaxLength="12" onkeypress="return isNumberDotKey(event)" onchange="StopTheClock();"> </asp:TextBox>

                                        <asp:Button ID="btnSolveYield" runat="server" Text="Yield" CssClass="btn btnCalculate" Width="60px" ToolTip="Solve for Yield" TabIndex="9"></asp:Button>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPerSprdCap" runat="server" CssClass="lbl" Text="% Spread p.a."></asp:Label><asp:CheckBox ID="chkDefaultSalesSpread" runat="server" ToolTip="Suggest Default Spread" AutoPostBack="true"
                                            CssClass="chkDefaultSalesSpread" Style="padding-left: 0px" TabIndex="15" Checked="true" /></td>
                                    <td>
                                        <asp:TextBox ID="txtMarginDisplay" runat="server" CssClass="txt txtMargin" MaxLength="12" AutoPostBack="true" onchange="StopTheClock();" ToolTip=""></asp:TextBox>
                                        <asp:TextBox ID="txtMargin" runat="server" CssClass="txt txtMargin" MaxLength="12" AutoPostBack="true" onchange="StopTheClock();"></asp:TextBox>
                                        <asp:Button ID="btnSolveMargin" runat="server" Text="Margin" CssClass="btn btnCalculate" Width="60px" ToolTip="Solve for Spread Margin" TabIndex="11"></asp:Button>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblMarginInv" runat="server" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtMarginDepo" CssClass="txtStrikePoints" runat="server" AutoPostBack="true"
                                            TabIndex="16" MaxLength="12" onkeypress="return isNumberDotKey(event)" onchange="StopTheClock();"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblMarginBase" runat="server" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtMarginBaseCcy" CssClass="txtStrikePoints" runat="server" AutoPostBack="true" MaxLength="12" onchange="StopTheClock();"></asp:TextBox></td>
                                </tr>


                                <tr>
                                    <td>
                                        <asp:Label ID="lblRemarks" runat="server" CssClass="lbl" Text="Remarks"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtRemarks" runat="server" CssClass="txt txtRemarks" MaxLength="100" Visible="true"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">


                                        <asp:Button ID="btnReprice1" runat="server" ToolTip="Solve for Margin"
                                            CssClass="btn btnCalculate" Text="Re-price All" Height="18px" Width="90px" Enabled="false"></asp:Button>
                                        <asp:Button ID="btnEmailDetails" runat="server" Style="margin-left: 5px;"
                                            CssClass="btn btnCalculate" Text="Email the Quote" Height="18px" Width="110px" Enabled="false" visible="false"></asp:Button>

                                        <asp:Button ID="btnViewSchedule" runat="server"
                                            CssClass="btn btnCalculate" Text="View Schedule" Width="105px" Visible="false"></asp:Button>
                                        <asp:Button ID="btnReset" runat="server" Text="Reset" CssClass="btn btnCalculate"
                                            Width="65px" Height="18px"></asp:Button>

                                        <asp:Button ID="btnEdit" runat="server" Text="Edit" CssClass="btn btnCalculate"
                                            Width="60px" Height="18px" Enabled="false" Visible="false"></asp:Button>
                                        <asp:Button ID="btnTradeRecommendation" runat="server" Text="Save Trade Idea" CssClass="btn btnCalculate"
                                            Width="120px" Height="18px" Enabled="false" Visible="false"></asp:Button>

                                        

                                    </td>

                                </tr>
                                <tr>
                                    <td colspan="2" style="white-space: normal;"></td>
                                </tr>
                            </table>

                        </td>
                        <td id="td_DatesPanel" runat="server" style="padding-bottom: 30px!important;">
                            <table id="deal_data_4" class="Main">
                                <%-- <tr>
                            <td>
                                <asp:Label ID="lbldummy7" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                            <td>
                                <asp:Label ID="lbldummy8" runat="server" CssClass="lblerror" Visible="false"></asp:Label></td>
                       </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lbldummy9" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lbldummy10" runat="server" CssClass="lblerror" Visible="false"></asp:Label></td>
                                </tr> --%>
                                <tr>
                                    <td>
                                        <asp:Label ID="lbldummy1" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lbldummy2" runat="server" CssClass="lblerror" Visible="false"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: middle !important;">
                                        <asp:Label ID="lblTradeDateDts" runat="server" Text="Trade Date" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="lblDateLookUp" runat="server" Text="" CssClass="lblTimer"></asp:Label>
                                    </td>
                                    <td>
                                        <uc1:DateControl ID="txtTradeDate" runat="server" CalenderCss="btn1" Disabled="True" TextBoxCss="txt txtdate" />
                                    </td>
                                </tr>
                                <tr id="trSpotDate" runat="server" visible="false">
                                    <td style="vertical-align: middle !important;">
                                        <asp:Label ID="lblSpotDateDts" runat="server" Text="Spot Date" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <uc1:DateControl ID="txtSpotDate" runat="server" CalenderCss="btn1" Disabled="True" SetDefaultDate="False" TextBoxCss="txt txtdate" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: middle !important;">
                                        <asp:Label ID="lblValueDateDts" runat="server" Text="Start/Value Date" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <uc1:DateControl ID="txtValueDate" runat="server" CalenderCss="btn1" Disabled="True" SetDefaultDate="False" TextBoxCss="txt txtdate" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: middle">
                                        <asp:Label ID="lblExpiryDateDts" runat="server" Text="Fixing Date" CssClass="lbl"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:TextBox ID="txtExpiryDays" runat="server" Enabled="false" CssClass="txtDaysWidth" Style="margin-left: 1px;" />
                                    </td>
                                    <td>

                                        <uc1:DateControl ID="txtExpiryDate" runat="server" CalenderCss="btn1" Disabled="True" SetDefaultDate="False" TextBoxCss="txt txtdate" />
                                    </td>
                                </tr>

                                <tr>
                                    <td style="vertical-align: middle">
                                        <asp:Label ID="lblMaturityDts" runat="server" Text="Maturity Date" CssClass="lbl"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:TextBox ID="txtMaturityDays" runat="server" Enabled="false" CssClass="txtDaysWidth" />
                                    </td>
                                    <td>

                                        <uc1:DateControl ID="txtMaturityDate" runat="server" CalenderCss="btn1" Disabled="True" SetDefaultDate="False" TextBoxCss="txt txtdate" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: middle !important;">
                                        <asp:Label ID="lblBoardrateCap" runat="server" Text="Yield (FD / PCI Cover) % p.a." CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtBoardRate" runat="server" CssClass="txt txtShort_WidthStatic" AutoPostBack="true"></asp:TextBox>
                                        <asp:TextBox ID="txtInternalCost" runat="server" CssClass="txt txtShort_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>

                                    </td>
                                </tr>

                                <tr>
                                    <td style="vertical-align: middle !important;">
                                        <asp:Label ID="lblVolPremCap" runat="server" Text="Vol (%) / Prem (%) " CssClass="lbl"></asp:Label>

                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtVol" runat="server" CssClass="txt txtShort_WidthStatic" AutoPostBack="true"></asp:TextBox>
                                        <asp:Button ID="btnVol" runat="server" Text="Get Vol" CssClass="btn" Width="100px" Visible="false" />
                                        <asp:TextBox ID="txtOptionPremium" runat="server" CssClass="txt txtShort_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>

                                    </td>
                                </tr>


                                <tr id="tr_IR" runat="server">
                                    <td style="vertical-align: middle !important;">
                                        <asp:Label ID="lblIR" runat="server" Text="IR1 (%) / IR2 (%) " CssClass="lbl"></asp:Label>

                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtIR1" runat="server" CssClass="txt txtShort_WidthStatic" AutoPostBack="true"></asp:TextBox>
                                        <asp:TextBox ID="txtIR2" runat="server" CssClass="txt txtShort_WidthStatic" AutoPostBack="true"></asp:TextBox>
                                        <asp:Button ID="btnImplyRates" runat="server" Text="Imply Rates" CssClass="btn" Width="100px" Visible="false" />
                                    </td>
                                </tr>

                                <tr>
                                    <td>
                                        <asp:Label ID="lblPayOutCap" runat="server" Text="Payout Details" CssClass="lblHeaderCSS"></asp:Label>

                                    </td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblOnFixDtCap" runat="server" Text="On Fixing Date," CssClass="lbl"></asp:Label></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lblFixingCaption1" CssClass="lblFixingCaption" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lblFixingCaption2" CssClass="lblFixingCaption" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td colspan="2"></td>

                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblIntDepoCap" runat="server" Text="Interest Amount" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="InterestDepo" runat="server" Text="(Inv)" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtInterestAmtDepo" runat="server" CssClass="txt txtLong_WidthStatic" Text="" ReadOnly="true" Enabled="false"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblIntAltCap" runat="server" Text="Interest Amount" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="InterestAlt" runat="server" Text="(Alt)" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtInterestAmtAlt" runat="server" CssClass="txt txtLong_WidthStatic" Text="" ReadOnly="true" Enabled="false"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblRepayDepoCap" runat="server" Text="Repayment" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="RepaymentDepo" runat="server" Text="(Inv)" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtPrincipalIntDepo" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="true" Enabled="false"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblRepayAltCap" runat="server" Text="Repayment" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="RepaymentAlt" runat="server" Text="(Alt)" CssClass="lbl"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtPrincipalIntAlt" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="true" Enabled="false"></asp:TextBox></td>
                                </tr>




                                <tr id="tr_btnAcceptDeal" runat="server">
                                    <td colspan="2">
                                        <asp:Button ID="btnAcceptDeal" runat="server" CssClass="btnCustom" Width="180px" Text="Proceed To Deal" disabled="true" TabIndex="12" />


                                    </td>

                                </tr>
                                <tr id="tr_btnTermsheet" runat="server">
                                    <td colspan="2">
                                        <asp:Button ID="btnTermsheet" runat="server" CssClass="btnCustom" Width="180px" Text="View Pre-Confirmation" disabled="true" TabIndex="13" />
                                    </td>

                                </tr>

                                <tr id="tr_btnRouteToDealer" runat="server">
                                    <td colspan="2">
                                        <asp:Button ID="btnRouteToDealer" runat="server" CssClass="btnCustom" Width="180px" Text="Route To Dealer" disabled="true" TabIndex="14" />
                                    </td>

                                </tr>

                            </table>
                        </td>

                        <td id="td_SSIPanel" runat="server" style="padding-bottom: 30px !important;">
                            <table id="deal_data_5" class="Main" runat="server">
                                <tr>
                                    <td id="td_Pub_Browser" colspan="2">
                                        <uc3:PubBrowser ID="Pub_Browser" runat="server"></uc3:PubBrowser>
                                    </td>

                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lblSettAcDetCap" runat="server" Text="Settlement Account Details" CssClass="lblHeaderCSS"></asp:Label>
                                    </td>


                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblDebitAcc" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlDebitAcc" runat="server" CssClass="ddl" Width="194px" ReadOnly="false" AutoPostBack="true" Style="vertical-align: middle"></asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblCredit1Acc" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlCredit1Acc" runat="server" CssClass="ddl" Width="194px" ReadOnly="false" AutoPostBack="true" Style="vertical-align: middle"></asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblCredit2Acc" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlCredit2Acc" runat="server" CssClass="ddl" Width="194px" ReadOnly="false" AutoPostBack="true" Style="vertical-align: middle"></asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2"></td>

                                </tr>
                                <tr id="trRMCaption" runat="server">
                                    <td>
                                        <asp:Label ID="lblRMDetCap" runat="server" Text="RM Details" CssClass="lblHeaderCSS"></asp:Label></td>
                                    <td></td>
                                </tr>
                                <tr id="trRM" runat="server">
                                    <td>
                                        <asp:Label ID="lblRMCaption" runat="server" CssClass="lbl" Text="RM (Main)"></asp:Label></td>
                                    <td>
                                        <!--<asp:DropDownList ID="ddlMainRM" runat="server" CssClass="ddl" ReadOnly="false" AutoPostBack="true"></asp:DropDownList>-->
                                        <ucRM:Smart_Search_RM_Control runat="server" Style="vertical-align: top; white-space: nowrap;" OnUC_Postback="RMControl_UC_Postback" SetTabIndex="1" ID="RMControl" />
                                    </td>
                                </tr>
                                <tr id="trBook" runat="server">
                                    <td>Branch</td>
                                    <td>
                                        <!--<asp:DropDownList ID="ddlBooks" runat="server" CssClass="ddl" Enabled="False"></asp:DropDownList>-->
                                        <ucBook:Smart_Search_Book_Control runat="server" Style="vertical-align: top; white-space: nowrap;" OnUC_Postback="BookControl_UC_Postback" SetTabIndex="1" ID="BookControl" />
                                    </td>
                                </tr>
                                <tr id="trDealer" runat="server">
                                    <td>RM (Dealing)</td>
                                    <td>
                                        <!--<asp:DropDownList ID="ddlDealingRM" runat="server" CssClass="ddl" ReadOnly="false" AutoPostBack="true" Style="vertical-align: middle" Enabled="False"></asp:DropDownList>-->
                                        <ucRM:Smart_Search_RM_Control runat="server" Style="vertical-align: top; white-space: nowrap;" OnUC_Postback="DealerControl_UC_Postback" SetTabIndex="1" ID="DealerControl" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2"></td>

                                </tr>
                                <tr id="trDefaultSpreadImage" runat="server" style="display: none;">
                                    <td style="vertical-align: middle">
                                        <asp:Label ID="lblDefaultSprdCap" runat="server" CssClass="lbl" Text="Use Default Spread"></asp:Label>&nbsp;&nbsp;</td>
                                    <td>
                                        <asp:ImageButton ID="imgDefaultSpread" ImageUrl="../App_Resources/YES.png" runat="server" />
                                    </td>
                                </tr>

                                <tr id="trRef" style="display: none">
                                    <td>Ref:</td>
                                    <td>
                                        <asp:TextBox ID="txtRef" CssClass="txtStrikePoints" runat="server" Width="182px" MaxLength="12" ReadOnly="false"></asp:TextBox></td>
                                </tr>
                                <tr id="trSrc" style="display: none">
                                    <td>Src:</td>
                                    <td>
                                        <asp:TextBox ID="txtSrc" CssClass="txtStrikePoints" runat="server" Width="182px" MaxLength="12" ReadOnly="false"></asp:TextBox></td>
                                </tr>

                                <tr id="trCls" style="display: none">
                                    <td>Cls:</td>
                                    <td>
                                        <asp:TextBox ID="txtCls" CssClass="txtStrikePoints" runat="server" Width="182px" MaxLength="12" ReadOnly="false"></asp:TextBox></td>
                                </tr>

                            </table>
                        </td>

                        <td id="td_deal_data_6" runat="server" style="padding-bottom: 30px !important;">
                            <table id="deal_data_6" class="Main" runat="server">
                                <%-- <tr>
                            <td>
                                <asp:Label ID="lbldummy3" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                            <td>
                                <asp:Label ID="lbldummy4" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lbldummy11" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                            <td>
                                <asp:Label ID="lbldummy12" runat="server" CssClass="lblerror" Visible="false"></asp:Label></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lbldummy13" runat="server" CssClass="lblerror" Visible="false" Text="Test"></asp:Label></td>
                            <td>
                                <asp:Label ID="lbldummy14" runat="server" CssClass="lblerror" Visible="false"></asp:Label></td>
                        </tr>--%>

                              

                                <tr id="tr_ScreenResolution" runat="server">
                                    <td>
                                        <asp:Label ID="Label10" runat="server" CssClass="lbl" Text="Screen Resolution" />
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="imgbScreenResolution" ImageUrl="../App_Resources/Resolution_Hi.png" runat="server" />
                                    </td>
                                </tr>

                                <tr id="tr_ShowHideDatesSSICtrl" runat="server">
                                    <td>
                                        <asp:Label ID="Label11" runat="server" CssClass="lbl" Text="Show Dates / SSI" />
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="imgbShowHideDatesSSICtrl" ImageUrl="../App_Resources/ShowSSI.png" runat="server" />
                                    </td>
                                </tr>



                                <tr id="tr_PricingActions1" runat="server">
                                    <td>
                                        <asp:Label ID="Label2" runat="server" CssClass="lbl" Text="Price Source" />
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="imgbPriceSource" ImageUrl="../App_Resources/PPThirdparty.png" runat="server" />
                                    </td>
                                </tr>
                                <tr id="tr_PricingActions2" runat="server">
                                    <td>
                                        <asp:Label ID="Label3" runat="server" CssClass="lbl" Text="Price Provider" />
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="imgbPriceSelector" ImageUrl="../App_Resources/PPMultiDealer.png" runat="server" />
                                    </td>
                                </tr>

                                <tr id="tr_btnSolveForStrike" runat="server">
                                    <td>
                                        <asp:Label ID="Label5" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnSolveForStrike" runat="server" CssClass="btnCustom" Width="161px" Text="Solve for Strike" />
                                    </td>
                                </tr>

                                <tr id="tr_btnSolveForYield" runat="server">
                                    <td>
                                        <asp:Label ID="Label4" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnSolveForYield" runat="server" CssClass="btnCustom" Width="161px" Text="Solve for Yield" />
                                    </td>
                                </tr>




                                <tr id="tr_btnSolveForMargin" runat="server">
                                    <td>
                                        <asp:Label ID="Label6" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnSolveForMargin" runat="server" CssClass="btnCustom" Width="161px" Text="Solve for Margin" />
                                    </td>
                                </tr>

                                <tr id="tr_btnAcceptDeal1" runat="server">
                                    <td>
                                        <asp:Label ID="Label8" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnAcceptDeal1" runat="server" CssClass="btnCustom" Width="161px" Text="Proceed To Deal" disabled="true" />
                                    </td>
                                </tr>

                                <tr id="tr_btnTermsheet1" runat="server">
                                    <td>
                                        <asp:Label ID="Label9" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnTermsheet1" runat="server" CssClass="btnCustom" Width="161px" Text="View Pre-Confirmation" disabled="true" />
                                    </td>
                                </tr>


                                <tr id="tr_btnTrnLog" runat="server">
                                    <td>
                                        <asp:Label ID="Label7" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnTrnLog" runat="server" CssClass="btnCustom" Width="161px" Text="Go To Deals Log" />
                                    </td>
                                </tr>


                                <tr id="tr_btnSystemOffline" runat="server">
                                    <td>
                                        <asp:Label ID="Label12" runat="server" CssClass="lbl" Text="" />
                                    </td>
                                    <td>
                                        <asp:Button ID="btnSystemOffline" runat="server" CssClass="btnCustom" Width="161px" Text="System Offline" />
                                    </td>
                                </tr>

                                   

                                <tr id="tr_PremiumAmt" runat="server">
                                    <td>
                                        <asp:Label ID="lblPremAmtHead" runat="server" CssClass="lbl" Text="Premium Amount" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtPremiumAmount" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_DeltaPerc" runat="server">
                                    <td>
                                        <asp:Label ID="lblDeltaHead" runat="server" CssClass="lbl" Text="Delta (%)" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDelta" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_DeltaAmt" runat="server">
                                    <td>
                                        <asp:Label ID="lblDelAmHead" runat="server" CssClass="lbl" Text="Delta Amount" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="lblDeltaAmt" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_OrdinaryInt" runat="server">
                                    <td>
                                        <asp:Label ID="lblOrdIntHead" runat="server" CssClass="lbl" Text="Ordinary Interest" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="lblOrdIntAmt" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_TotalInterest" runat="server">
                                    <td>
                                        <asp:Label ID="lblTotIntHead" runat="server" CssClass="lbl" Text="Total Interest" Visible="false" />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="lblTotIntAmt" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false" Visible="false"></asp:TextBox>
                                    </td>
                                </tr>
                       
                                <tr id="tr_BreakEven" runat="server">
                                    <td>
                                        <asp:Label ID="lblBreakeven" runat="server" CssClass="lbl" Text="Breakeven Rate"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtBreakEvenRate" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_SwapPts" runat="server">
                                    <td>
                                        <asp:Label ID="lblSwapPts" runat="server" CssClass="lbl" Text="Swap Points"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSwapPoints" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_ForwardRate" runat="server">
                                    <td>
                                        <asp:Label ID="lblFrdRate" runat="server" CssClass="lbl" Text="Forward Rate"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtForwardRate" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="True" Enabled="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_OptionSpread" runat="server">
                                    <td>
                                        <asp:Label ID="lblOptionSpread" runat="server" CssClass="lbl" Text="Option Spread"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtOptionSpread" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="false" Enabled="true" AutoPostBack="true"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_MMSpread" runat="server">
                                    <td>
                                        <asp:Label ID="lblMMSpread" runat="server" CssClass="lbl" Text="MM Spread"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtMMSpread" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="false" Enabled="true" AutoPostBack="true"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="tr_OptionSpreadAmt" runat="server">
                                    <td>
                                        <asp:Label ID="lblOptionSpreadAmountCap" runat="server" CssClass="lbl" Text="Option Spread Amount"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtOptionSpreadAmount" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="true" Enabled="true" AutoPostBack="true"></asp:TextBox>
                                    </td>

                                </tr>
                                <tr id="tr_MMSpreadAmt" runat="server">
                                    <td>
                                        <asp:Label ID="lblMMSpreadAmountCap" runat="server" CssClass="lbl" Text="MM Spread Amount"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtMMSpreadAmount" runat="server" CssClass="txt txtLong_WidthStatic" ReadOnly="true" Enabled="true" AutoPostBack="true"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </td>

                    </tr>

                    
                    <tr>

                        <td colspan="3">
                            <asp:Label ID="lblSolveForStrikeRemark" runat="server" CssClass="SolveForStrikeMSG" Text="*Solve for Strike functionality is Indicative based on system volatilities and pricing model. This functionality does not provide any executable price."></asp:Label>
                        </td>

                    </tr>
                </table>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
