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


<%@ Register Src="../FinIQ_User_Controls/DateControl.ascx" TagName="DateControl" TagPrefix="uc1" %>
<%@ 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_LP_QuoteDisplayPanel/FinIQ_LP_QuoteDisplayPanel.ascx" TagName="FinIQ_LP_QuoteDisplayPanel" TagPrefix="ucQuoteDisplayPanel" %>
<%@ Register Src="~/UCP/DealDetailsControls/FinIQ_UCPCTL_Control.ascx" TagPrefix="uc1" TagName="FinIQ_UCPCTL_Control" %>
<%@ Register Src="../FinIQ_User_Controls/Smart_Search_PairControl/Smart_Search_PairControl.ascx" TagName="Smart_Search_PairControl" TagPrefix="ucCurrencyPair" %>
<%@ Register Src="~/Workflow/Trade_Workflow_Blotter_CTL.ascx" TagPrefix="ucWorkflow" TagName="WorkFlowControl" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy" runat="server">
    </asp:ScriptManagerProxy>

    <link href="../App_Themes/MultiOptionEntry.css" rel="stylesheet" />
    <script src="../FinIQJS/WorkflowGlobal.js"></script>
    <script src="../FinIQJS/SortFilter_Grid.js"></script>
    <link href="../FinIQJS/FreezeGrid.css" rel="stylesheet" type="text/css" />
    <script src="../FinIQJS/FreezeGrid.js"></script>

    <style type="text/css">
	.Progress
	{	 
		vertical-align: middle; 
		position: absolute;
		top: 50% !important;
		left: 40% !important;
		display: block;
		vertical-align: middle;
		
	}
	.Progress span
	{
		text-align: center ;
		display:inline-block;
		width:260px;
		
	}
	.loading_span1 {
		display: inline-block;
		vertical-align: middle;
		padding: 5px;
		color: inherit;
		float: none; 
		font-size: 13px;
    background-color: white;
	}
	
        .lblHeader {
            padding:10px 0px 10px 30px !important;
        }

        .lblHeader span{
font:normal 13px/30px Verdana !important;
color:#333333 !important;
padding:10px !important;
}

.ConfirmationBoxPos, .UCPanelError_Landscape{
background-color: #ffffff !important;
    box-shadow: 0 0 10px #000000;
}
.UCOverflow { 
    background-color: inherit;   /*Commented by AniruddhaJ For Dark theme || 25Aug2021 */
}
 .overlay {
    min-width: 99vw;
    min-height: 99vh;
    position: fixed;
    z-index: -1;
    background-color: #000 !important;
    opacity: 0.3 !important;
    left: 0px;
    top: 0px;
display:none;
}
  /*Added by Akshay for UCP Button from 28Px to 23PX for suitability Alignment */
 .gbMasterTable  .gbTable .btn {
    height: 23px !important;
    line-height: 12px;
    box-sizing: border-box;
}
        /* */ .DateControlWidth {
            width: 180px !important;
            white-space: nowrap !important;
        }

        .lblCustCSS td {
            vertical-align: top !important;
            padding-top: 0px;
        }
        #btnsaveqen{
			background-color: #0A9A46 !important;
            color: #fff !important;
            margin-left: 2px !important;
            cursor: pointer;
		}

        /*Start Added by shubham k for color scheme on 22-Feb-21, commented btnCalculate*/
        /*.btnCalculate {
            width: 80px;
            background-color: #0A9A46 !important;*/ 
            /*color: #fff !important;
            margin-left: 2px !important;
            cursor: pointer;
        }*/
        /*End Added by shubham k for color scheme on 22-Feb-21, commented btnCalculate*/

        .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; commented by AniruddhaJ for dark theme 24-Nov-2021*/
            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;*/       /*Commented by AniruddhaJ For Dark theme || 25Aug2021 */
            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;
        }
        .UCPlblHeader
        {
            /*line-height:26px !important;*/
            height:28px !important;
        } /*AkshayD 2-Nov-2019 for alignment issue on multioptionentry page due to ucpctl.css not included in this page*/
        /*.selected {
             padding-bottom: 7px !important;
        }*/


        /*AmolM 28-Jan-2020 for  simulation popup*/
         .ui-widget-overlay {
            opacity: 0.6 !important;
        }

        .ui-dialog
        {
           margin:auto 0;
        box-shadow: 4px 4px 10px #717171;
        }

            /*.ui-dialog .ui-dialog-titlebar {
                opacity: 0;
                z-index: 1;
            }*/

        .ui-dialog-content {
        top: -40px;
        }
         /*AmolM 28-Jan-2020 for simulation popup*/
		 /*  Start:- Added by Rushikesh P for displaying count of counterparty responses in Pricer Dealer for UBP on 26-Feb-2021*/
        .LPResponseRed, .LPResponseCountRed {
            color:red;
            font-weight: 600;
        }
        .LPResponseGreen, .LPResponseCountGreen {
             color:#0A9A46;
            font-weight: 600;
        }
		/*  End:- Added by Rushikesh P for displaying count of counterparty responses in Pricer Dealer for UBP on 26-Feb-2021 */

        .ui-dialog .ui-dialog-titlebar, .ui-dialog .ui-dialog-titlebar .ui-widget {
             /* background-image: none !important; */
             background-color: #fff !important;
        }
    </style>



    <table cellpadding="0" cellspacing="0" class="mainTable">
        <tr>
            <td align="left" valign="top">
			
			<asp:UpdatePanel ID="pnlSolveDealPremium" runat="server" UpdateMode="Always" RenderMode="Block" style="float: right;">
                <ContentTemplate>
                    <asp:UpdateProgress ID="pnlProgress" runat="server" AssociatedUpdatePanelID="pnlUpdateDCD" DisplayAfter="0">
                        <ProgressTemplate>
                        <div class="UpdateProgress" style="top: 0px; height: 1000px; background-color: #ffffff; opacity: 0.3	; filter: alpha(opacity=30); 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: 50% !important; left: 40% !important;">
                                    <span class=""><img alt="Loading" src="../App_Resources/Ajax_loader_White/loading_1.gif" style="width: 22px;" /><span class="">Loading...</span><br/>
                                    <asp:Label Text="" CssClass="loading_span1" id="lblProgress" runat="server"  /> 
                                </div>
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>
																							
                <asp:UpdatePanel ID="pnlUpdateDCD" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
                    <ContentTemplate>

                        <%-- <Start || Added by Nikita S || For Workflow Blotter page integration on  Multi option Entry screen || 18-Jun-2018>--%>
                        <div>
                            <table class="tbllnkCSS" runat="server" id="tdDealEntry" visible="false">
                                <tr>
                                    <td>

                                        <asp:LinkButton ID="lnkDealEntry" runat="server" Text="Multi Option Entry" CssClass="lbl lnkCSS">
                                        </asp:LinkButton>

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

                        </div>

                        <%-- <End || Added by Nikita S || For Workflow Blotter page integration on  Multi option Entry screen || 18-Jun-2018>--%>

                        <div>
                            
                             <input type="hidden" id="hdnControlID" name="hdnControlID" runat="server" />
                            <asp:Button runat="server" ID="btnHidden1" CssClass="displaynone" Style="display: none;" />
                            <%-- <Start || Added by Arshin S/ Prutha K || on 4th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>
                            <input type="hidden" id="hdnSpreadInPct" name="hdnSpreadInPct" runat="server" />
                            <input type="hidden" id="hdnmode" name="hdnmode" runat="server" />
                            <input type="hidden" id="hdnSpreadInPips" name="hdnSpreadInPips" runat="server" />
                            <input type="hidden" id="hdnNoteMaster_Id" name="hdnNoteMaster_Id" runat="server" />
                            <input type="hidden" id="hdnAutoPricingStatus" name="hdnAutoPricingStatus" runat="server" />
                            <input type="hidden" id="hdnExceptionWarningMessage" name="hdnExceptionWarningMessage" runat="server" />
                            <input type="hidden" id="hdnPerformDateValidationYesNo" runat="server" />
                            <input type="hidden" id="hdnDealerInterventionFlag" name="hdnDealerInterventionFlag" runat="server" />
                            <input type="hidden" id="hdnClickButtonStatus" name="hdnClickButtonStatus" runat="server" />
                            <input type="hidden" id="hdnBookID" name="hdnBookID" runat="server" />
                            <input type="hidden" id="hdnMainRMID" name="hdnMainRMID" runat="server" />
                            <input type="hidden" id="hdnDealingRMID" name="hdnDealingRMID" runat="server" />
                            <input type="hidden" id="hdnDecimalAmount1" name="hdnDecimalAmount1" runat="server" />
                            <input type="hidden" id="hdnDecimalAmount2" name="hdnDecimalAmount2" runat="server" />
                            <input type="hidden" id="hdnSolvedAt" name="hdnSolvedAt" runat="server" />
                            <input type="hidden" id="hdnValidityTime" name="hdnValidityTime" 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="hdnRFQId" name="hdnRFQId" runat="server" />
                            <input type="hidden" id="hdnSolvedAt_ClientSide" name="hdnSolvedAt_ClientSide" runat="server" />
                            <input type="hidden" id="hdnKYCTokenID" name="hdnKYCTokenID" runat="server" />
                            <input type="hidden" id="hdnAnnualisedCustomerPremium" name="hdnAnnualisedCustomerPremium" runat="server" />
                            <input type="hidden" id="hdnCptyPremAmt" name="hdnCptyPremAmt" runat="server" />
                            <input type="hidden" id="hdnCptyPremium2" name="hdnCptyPremium2" runat="server" />
                            <input type="hidden" id="hdnSaveButtonFormat" name="hdnSaveButtonFormat" runat="server" />
                            <input type="hidden" id="hdnCptyPremiumInPips" name="hdnCptyPremiumInPips" runat="server" />
                            <input type="hidden" id="hdnCustomerPremiumInPips" name="hdnCustomerPremiumInPips" runat="server" />
                            <input type="hidden" id="hdnLocalDate" name="hdnLocalDate" runat="server" />
                            <input type="hidden" id="hdnMinStrike" name="hdnMinStrike" runat="server" />
                            <input type="hidden" id="hdnMaxStrike" name="hdnMaxStrike" runat="server" />
                            <input type="hidden" id="hdnNotionalDepoAmt" name="hdnNotionalDepoAmt" runat="server" />
                            <input type="hidden" id="hdnNotionalAltAmt" name="hdnNotionalAltAmt" runat="server" />
                            <input type="hidden" id="hdnParentRFQId" name="hdnParentRFQId" runat="server" />
                            <input type="hidden" id="hdnPutMinStrike" name="hdnPutMinStrike" runat="server" />
                            <input type="hidden" id="hdnPutMaxStrike" name="hdnPutMaxStrike" runat="server" />
                            <input type="hidden" id="hdnLCY_Type" name="hdnLCY_Type" runat="server" />
                            <input type="hidden" id="hdnRCY_Type" name="hdnRCY_Type" 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="hdnVolatilityNONRounded" name="hdnVolNONRounded" 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="hdnCrDefaultDays" name="hdnCrDefaultDays" runat="server" />
                            <input type="hidden" id="hdnPremDefaultDays" name="hdnPremDefaultDays" runat="server" />
                            <input type="hidden" id="hdnForwardDays" name="hdnForwardDays" runat="server" />
                            <input type="hidden" id="hdnTabCommonData" name="hdnTabCommonData" runat="server" />
                            <input type="hidden" id="hdnExoticTypeCode" name="hdnExoticTypeCode" runat="server" />
                            <input type="hidden" id="hdnExoticTypeLongName" name="hdnExoticTypeLongName" runat="server" />
                            <input type="hidden" id="hdnSoftTenorCode" name="hdnSoftTenorCode" runat="server" />
                            <input type="hidden" id="hdnBusinessDate" name="hdnBusinessDate" runat="server" />
                            <input type="hidden" id="hdnGlobalServerDate" name="hdnGlobalServerDate" runat="server" />
                            <input type="hidden" id="hdnDealNo" name="hdnDealNo" runat="server" />
                            <input type="hidden" id="hdnInternalSolveForAutoPricingFail" name="hdnInternalSolveForAutoPricingFail" runat="server" />
                            <input type="hidden" id="hdnCustPremium2" name="hdnCustPremium2" runat="server" />
                            <input type="hidden" id="hdnCustPremiumAmt2" name="hdnCustPremiumAmt2" runat="server" />
                            <input type="hidden" id="hdnDepoGlobalGORate" name="hdnDepoGlobalGORate" runat="server" />
                            <input type="hidden" id="hdnBankGlobalCurrencyPairIsGoodOrder" name="hdnBankGlobalCurrencyPairIsGoodOrder" runat="server" />
                            <input type="hidden" id="hdnOptionPremiumAmt1" name="hdnOptionPremiumAmt1" runat="server" />
                            <input type="hidden" id="hdnOptionPremiumAmt2" name="hdnOptionPremiumAmt2" runat="server" />
                            <input type="hidden" id="hdnPremiumSpreadDepo" name="hdnPremiumSpreadDepo" runat="server" />
                            <input type="hidden" id="hdnProfit2" name="hdnProfit2" runat="server" />
                            <input type="hidden" id="hdnCustPremiumAmt" name="hdnCustPremiumAmt" 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="hdnDecimalRate1" name="hdnDecimalRate1" runat="server" />
                            <input type="hidden" id="hdnDecimalRate2" 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="hdnOPPOS_StaticField1" name="hdnOPPOS_StaticField1" runat="server" />
                            <input type="hidden" id="hdnPointShift" name="hdnPointShift" runat="server" />
                            <input type="hidden" id="hdnPairID" name="hdnPairID" runat="server" />
                            <input type="hidden" id="hdnCCYPair" name="hdnCCYPair" runat="server" />
                            <input type="hidden" id="hdnDecimalRates" name="hdnDecimalRates" runat="server" />
                            <input type="hidden" id="hdnBidSpot" name="hdnBidSpot" runat="server" />
                            <input type="hidden" id="hdnAskSpot" name="hdnAskSpot" runat="server" />
                            <input type="hidden" id="hdnPairOrder" name="hdnPairOrder" runat="server" />
                            <input type="hidden" id="hdnAdjSpotMidRate" name="hdnAdjSpotMidRate" runat="server" />
                            <input type="hidden" id="hdnBidVol" name="hdnBidVol" runat="server" />
                            <input type="hidden" id="hdnAskVol" name="hdnAskVol" runat="server" />
                            <input type="hidden" id="hdnAmountInDepositCurrency_Cpty" name="hdnAmountInDepositCurrency_Cpty" runat="server" />
                            <input type="hidden" id="hdnExotic_BidVol" name="hdnExotic_BidVol" runat="server" />
                            <input type="hidden" id="hdnExoticATMVol" name="hdnExoticATMVol" runat="server" />
                            <input type="hidden" id="hdnExotic_AskVol" name="hdnExotic_AskVol" runat="server" />
                            <input type="hidden" id="hdnExotic_VanillaVol" name="hdnExotic_VanillaVol" runat="server" />
                            <input type="hidden" id="hdnBypassDateValidationCptyDateMismatch" runat="server" />
                            <input type="hidden" id="hdnFXORFQNo" name="hdnFXORFQNo" runat="server" />
                            <input type="hidden" id="hdnPremiumPerRecdFromCpty" name="hdnPremiumPerRecdFromCpty"
                                runat="server" />
                            <input type="hidden" id="hdnPremiumAmountFromCpty" name="hdnPremiumAmountFromCpty"
                                runat="server" />
                            <input type="hidden" id="hdnUBSExternalRFQId" name="hdnUBSExternalRFQId" runat="server" />
                            <input type="hidden" id="hdnUBSQuoteID" name="hdnUBSQuoteID" runat="server" />

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

                            <asp:HiddenField ID="hdnMaturityDays" runat="server" />
                            <asp:HiddenField ID="hdnProductType" runat="server" />
                            <input type="hidden" id="hdnAsset1_RateInterpolationBasis" name="hdnAsset1_RateInterpolationBasis"
                                runat="server" />
                            <input type="hidden" id="hdnAsset2_RateInterpolationBasis" name="hdnAsset2_RateInterpolationBasis"
                                runat="server" />
                            <input type="hidden" id="hdnRateSetName" name="hdnRateSetName" runat="server" />
                            <input type="hidden" id="hdnCustAccrediatedFlag" name="hdnCustAccrediatedFlag" 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="hdnNotionalGlobalPairRate" name="hdnNotionalGlobalPairRate"
                                runat="server" />
                            <input type="hidden" id="hdnPremiumGlobalPairRate" name="hdnPremiumGlobalPairRate"
                                runat="server" />
                            <input type="hidden" id="hdnBestPriceDCDRFQID" name="hdnBestPriceDCDRFQID"
                                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="hdnDepoYearBasis" name="hdnDepoYearBasis" runat="server" />
                            <input type="hidden" id="hdnIRDecimalRate1" name="hdnDecimalRate1" runat="server" />
                            <input type="hidden" id="hdnBoardratechange" name="hdnBoardratechange" runat="server" />
                            <input type="hidden" id="hdnMMSpreadChange" name="hdnMMSpreadChange" runat="server" />
                            <input type="hidden" id="hdnMarketPremium" name="hdnMarketPremium" runat="server" />
                            <input type="hidden" id="hdnOptionSpreadChange" name="hdnOptionSpreadChange" runat="server" />
                            <input type="hidden" id="hdnPremiumAnnualised" name="hdnPremiumAnnualised" runat="server" />
                            <input type="hidden" id="hdnTotalYield_NR" name="hdnCustYield_NR" runat="server" />
                            <input type="hidden" id="hdnOriginalRM_Spread" name="hdnOriginalRM_Spread" runat="server" />
                            <input type="hidden" id="hdnCustomerYield" name="hdnCustomerYield" runat="server" />
                            <input type="hidden" id="hdnStaffYN" name="hdnStaffYN" runat="server" />
                            <input type="hidden" id="hdnOriginalRMSPread" name="hdnOriginalRMSPread" runat="server" />
                            <input type="hidden" id="hdnLeft_USD_Pair" name="hdnLeft_USD_Pair" runat="server" />
                            <input type="hidden" id="hdnPremiumPct_NR" name="hdnPremiumPct_NR" runat="server" />
                            <input type="hidden" id="hdnRight_USD_Pair" name="hdnRight_USD_Pair" runat="server" />
                            <input type="hidden" id="hdnRollOver_Root" name="hdnRollOver_Root" 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="hdnLCY_NDF_YN" name="hdnLCY_NDF_YN" runat="server" />
                            <input type="hidden" id="hdnRCY_NDF_YN" name="hdnRCY_NDF_YN" runat="server" />
                            <input type="hidden" id="hdnBaseSpot" name="hdnBaseSpot" runat="server" value="0"/><%--Added by shubham k on 19-Oct-2021 for Maple for error in deal saving while blank conversion to double--%>
                            <input type="hidden" id="hdnKIStyle" name="hdnKIStyle" runat="server" />
                            <input type="hidden" id="hdnKOStyle" name="hdnKOStyle" runat="server" />
                            <input type="hidden" id="hdnEntityIDs" name="hdnEntityIDs" runat="server" />
                            <input type="hidden" id="hdnBestPriceLog" name="hdnBestPriceLog" runat="server" />
                            <input type="hidden" id="hdnResultVal" name="hdnResultVal" runat="server" />
                            <input type="hidden" id="hdnCptyPremium" name="hdnCptyPremium" runat="server" />
                            <input type="hidden" id="hdnFixingDate" name="hdnFixingDate" runat="server" />
                            <input type="hidden" id="hdnOpionStyle" name="hdnOpionStyle" runat="server" />
                            <input type="hidden" id="hdnTimerLeft" name="hdnTimerLeft" runat="server" />
                            <input type="hidden" id="hdnDIOrderTimerLeft" name="hdnDIOrderTimerLeft" runat="server" />
                            <input type="hidden" id="hdnSolveClick" name="hdnSolveClick" runat="server" />
                            <input type="hidden" id="hdnDIRFQSelectedAt" name="hdnDIRFQSelectedAt" runat="server" />

                            <input type="hidden" id="hdnCloneRFQID" name="hdnCloneRFQID" runat="server" />
                            <input type="hidden" id="hdnUCP_Mode" name="hdnUCP_Mode" runat="server" />
                            <input type="hidden" id="hdnPayReceiveFlg" name="hdnPayReceiveFlg" runat="server" />

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

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

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

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

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

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

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

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

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

                            <input type="hidden" id="hdnSpotDate" name="hdnSpotDate" runat="server" />
                            <input type="hidden" id="hdnLeverageNotional" name="hdnLeverageNotional" runat="server" />
                            <input type="hidden" id="hdnClientType" name="hdnClientType" runat="server" />

                            <input type="hidden" id="hdnPricingModel" name="hdnPricingModel" runat="server" />
                            <input type="hidden" id="hdnMarginCheckRequestJSON" name="hdnMarginManRequestJSON" runat="server" />
                            <input type="hidden" id="hdnMarginCheckResMsg" name="hdnMarginCheckResMsg" runat="server" />
                            <input type="hidden" id="hdnMarginCheckReqID" name="hdnMarginCheckReqID" runat="server" />
                            <%-- <End || Added by Arshin S/ Prutha K || on 4th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>
                            <input type="hidden" id="hdnParentDealNo" name="hdnParentDealNo" runat="server" />
							<%-- <Start || Added by Rushikesh P || on 29-Jan-2021 || asked by Vivek J || for first fixing>--%>
							<input type="hidden" id="hdnFirstFixingDate" name="hdnFirstFixingDate" runat="server" />
                            <input type="hidden" id="hdnFirstFixingDateChanged" name="hdnFirstFixingDateChanged" runat="server" />
                            <input type="hidden" id="hdnFinalFixingDateOnLoad" name="hdnFinalFixingDateOnLoad" runat="server" />
                            <input type="hidden" id="hdnFinalSettDateOnLoad" name="hdnFinalSettDateOnLoad" runat="server" />
                           <%-- <End || Added by Rushikesh P || on 29-Jan-2021 || asked by Vivek J || for first fixing>--%>
                            <%-- <Start Jira:-UBPINT-1711 Added by Rushikesh P/Shubham K on 25-Nov-2021 , for First fixing date changed onload due to fixing holiday.>--%>
                            <input type="hidden" id="hdnFirstFixingDateOnLoad" name="hdnFirstFixingDateOnLoad" runat="server" />
                            <%-- <END Added by Rushikesh P/Shubham K on 25-Nov-2021 , for First fixing date changed onload due to fixing holiday.>--%>

                            <input type="hidden" id="hdnPriceProvider" name="hdnPriceProvider" runat="server" />  <%-- <Added by Rushikesh P for displaying count of counterparty responses in Pricer Dealer for UBP on 26-Feb-2021>--%>
                        <input type="hidden" id="hdnPriceProviderCount" name="hdnPriceProviderCount" runat="server" />  <%-- <Added by Rushikesh P for displaying count of counterparty responses in Pricer Dealer for UBP on 15-Mar-2021>--%>
                       <input type="hidden" id="hdnlastRMRemark" name="hdnlastRMRemark" runat="server" />
                                <input type="hidden" id="hdnlastDealerRemark" name="hdnlastDealerRemark" runat="server" />
 <input type="hidden" id="hdnMaxClientProfit" name="hdnMaxClientProfit" runat="server" />
                            <input type="hidden" id="hdnMaxClientProfitAlt" name="hdnMaxClientProfitAlt" runat="server" />
                            <input type="hidden" id="hdnBookingType" name="hdnBookingType" runat="server" />
                            <%--Added by Shubham K on 11-Jun-2021 for UNWIND Deal Logic as discussed with Nripesh P/Nipun K/Suraj T--%>
                            <input type="hidden" id="hdnUnwindDealLogic" name="hdnUnwindDealLogic" value="0" runat="server" />
                            <input type="hidden" id="hdnSuitabilityTemplateId" name="hdnSuitabilityTemplateId" runat="server" />
                            <input type="hidden" id="hdnSuitabilityTemplateCode" name="hdnSuitabilityTemplateCode" runat="server" />
                            <input type="hidden" id="hdnSuitabilityNoteMasterId" name="hdnSuitabilityNoteMasterId" runat="server" />
                            <input type="hidden" id="hdnSuitabilityPassFail" name="hdnSuitabilityPassFail" runat="server" />
                            <input type="hidden" id="hdnSuitabilityTokenCount" name="hdnSuitabilityTokenCount" runat="server" />
                            
                            </div>

                        <%--<iframe id="iframe1" runat="server" frameborder="0" height="200px" width="300px" class="UCPanelError_Landscape" visible="false"></iframe>--%>

                         <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: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>
								 <tr>
         <td colspan="3" >
                            <asp:Label ID="lblMarginManDisclaimer" runat="server" CssClass="SolveForStrikeMSG" visible="False" Text="" ForeColor="DarkBlue" Font-Bold="true" Font-Size="10px"></asp:Label>
                        </td>

                    </tr>
                            </table>


                        <asp:Panel ID="pnlError" runat="server" HorizontalAlign="Center" CssClass="outerdraggablePanel UCPanelError_Landscape  " Visible="false" Height="300px" Style="overflow: auto;">

                            <table cellpadding="5" cellspacing="0" border="0" class="UCOverflow" style="Width: 400px; height: 297px;">
                                <tr>
                                    <td class="lblHeader background_gray" style="height: 30px; vertical-align: top; color: #00a546 !important;" align="center">
                                        <asp:Label ID="lblHeader" runat="server" Text="User Notifications" Style="font-size: 14px;"></asp:Label>
                                    </td>
                                    <td class="background_gray " align="right">
                                        <%--  <asp:Button ID="btnCancel" ToolTip="Close" runat="server" Text="X"  Width="25" CssClass="btn" style="vertical-align:top;" />--%>

                                        <input type="button" id="btnCancel" tooltip="Close" value="X" width="25" class="btn" style="vertical-align: top; display: none;" onclick="HideErrorPanel()" />


                                    </td>
                                </tr>
                                <tr style="height: 190px;">
                                    <td valign="top" colspan="2" class="tdlblErrorMessage">

                                        <asp:Label ID="lblErrorMessage" runat="server" CssClass="lblinfo_Panel_error" Font-Size="11px" Font-Names="verdana" Wrap="True"></asp:Label>
                                    </td>
                                </tr>


                                <tr>
                                    <td align="left" valign="top" colspan="2">
                                        <table id="tblCompliance" runat="server" visible="false" cellpadding="0" cellspacing="0"
                                            border="0" style="width: 100%;">
                                            <tr>
                                                <td class="lblError" style="color: #2686e0; text-align: left; font-size: 11px;">Do you want to update Compliance information?
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td align="center" valign="top">
                                                    <asp:Button ID="btnYesCompliance" runat="server" Text="Yes" CssClass="btn"
                                                        Width="40px" Height="25px" />
                                                    <asp:Button ID="btnNoCompliance" runat="server" Text="No" CssClass="btn"
                                                        Width="40px" Height="25px" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                            </tr>
                                        </table>
                                        <table id="tblDateValdation" runat="server" visible="false" cellpadding="5" cellspacing="0"
                                            border="0" style="width: 100%;">
                                            <tr>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td align="center" valign="top">
                                                    <asp:Button ID="btnYesdateValidation" runat="server" Text="Yes" CssClass="btn"
                                                        Width="40px" Height="25px" />
                                                    <asp:Button ID="btnNodateValidation" runat="server" Text="No" CssClass="btn"
                                                        Width="40px" Height="25px" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>

                                    <td colspan="2" style="text-align: center; padding-bottom: 15px;" align="center">
                                        <asp:Button ID="btnRouteToDealer" runat="server" Text="Route To Dealer" CssClass="btn" Visible="False"
                                            Height="18px" Width="120px" Enabled="false" OnClientClick  ="SetButtonId(this.id)" ></asp:Button>

                                         <asp:Button ID="btnMarginCheckContinue" runat="server" Text="Continue" CssClass="btn" Visible="False"
                                            Height="18px" Width="100px" Enabled="false"></asp:Button>

                                        <input type="button" id="btnPanelClose" class="btn" onclick="HideErrorPanel()" style="width: 120px; margin-left: 5px;" value="Close" />



                                    </td>
                                </tr>
                            </table>
                            <div Class="overlay"></div>
                        </asp:Panel>

                        <div>
                            <iframe id="iframe4" runat="server" frameborder="0" height="130px" width="210px"
                                class="UCCustomerFind" visible="false"></iframe>
                            <asp:Panel ID="pnlDealSave" runat="server" BorderStyle="Groove" HorizontalAlign="Center"
                                BorderWidth="1" Height="110px" Width="210px" CssClass="ConfirmationBoxPos UCOverflow UCBlock"
                                Style="display: none;">
                                <table cellpadding="0" cellspacing="0" border="0" style="width: 200px; height: 130px"
                                    class="UCOverflow">
                                    <tr>
                                        <td class="lblHeader background_gray" style="height: 25px">
                                            <asp:Label ID="Label3" runat="server" Text="Option Deal Entry"></asp:Label>
                                        </td>
                                        <td class="background_gray " align="right" style="width: 25px">
                                            <asp:Button ID="btnCancelDealSave" ToolTip="Close" runat="server" OnClick="btnCancelDealSave_Click"
                                                Text="X" Height="20" Width="20" Style="padding: 1px !important;" CssClass="btn" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center">
                                            <asp:Label runat="server" ID="lblSaveMessage" Font-Size="11px" Font-Names="verdana"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center">
                                            <asp:Label ID="Label4" runat="server" Text="Do you want to generate confirmation?"
                                                Font-Size="11px" Style="color: #2686e0" Font-Names="Verdana"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center">
                                            <asp:Button ID="btnGenerateConfoYes" runat="server" Text="Yes" Height="25px" />
                                            <%--OnClick="btnGenerateConfoYes_Click" --%>
                                            <asp:Button ID="btnGenerateConfoNo" runat="server" Text="No" Height="25px" />
                                            <%--OnClick="btnGenerateConfoNo_Click"--%>
                                        </td>
                                    </tr>
                                </table>
                                <div Class="overlay"></div>
                            </asp:Panel>
                        </div>

                        <asp:Panel ID="pnlItem" runat="server" class="FilterPad">
                            <table cellpadding="0" cellspacing="0" style="width: 600px; padding-top:10px !important" id="tbl_pnlItem" runat="server">

                                <tr>
                                    <td colspan="6">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td valign="bottom" class="bottomBorder" id="tdVanilla" runat="server">
                                                    <asp:Button ID="btnTabVanilla" runat="server" Text="Vanilla" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdBarrier" runat="server">
                                                    <asp:Button ID="btnTabBarrier" runat="server" Text="Barrier" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdDigiOptions" runat="server">
                                                    <asp:Button ID="btnTabDigitalOptions" runat="server" Text="Digital" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdStrategies" runat="server">
                                                    <asp:Button ID="btnTabStrategies" runat="server" Text="Strategies" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdAccum" runat="server">
                                                    <asp:Button ID="btnTabAccum" runat="server" Text="AQ / DQ" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdTARF" runat="server">
                                                    <asp:Button ID="btnTabTARF" runat="server" Text="TRF" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdPIVOT" runat="server">
                                                    <asp:Button ID="btnTabPivot" runat="server" Text="Pivot" CssClass="TabButtons" UseSubmitBehavior="false"/>
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tddci" runat="server">
                                                    <asp:Button ID="btnDCI" runat="server" Text="DCI" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td valign="bottom" class="bottomBorder" id="tdExtraForwards" runat="server" >
                                                    <asp:Button ID="btnExtraForward" runat="server" Text="Extra Forwards" CssClass="TabButtons" UseSubmitBehavior="false" />
                                                </td>
                                                <td style="width: 2055px" class="bottomBorder"></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td runat="server" id="trDCI">
                                                    <asp:Panel ID="pnlredirectdci" runat="server" Height="100%" Width="100%">
                                                        <iframe id="urIframe" runat="server" frameborder="0" style="overflow: hidden; height: 893px; width: 1850px;"></iframe>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Panel ID="pnlFXDProduct" runat="server">
                                                        <table cellpadding="0" cellspacing="0" border="0">
                                                            <tr>
                                                                <td colspan="6" style="height: 55px;">
                                                                    <table cellpadding="0" cellspacing="0" border="0">
                                                                        <tr class="PricerRowHeight">

                                                                            <td id="tdRFQ" runat="server" style="padding-top: 20px; padding-left: 220px;">
                                                                                <span id="SpanRFQID" runat="server" cssclass="lbl" style="color: #333 !important; font-size: 13px !important; margin-left: 32px; height: 15px">RFQ No </span>
                                                                                <asp:Label ID="lblRFQ" runat="server" CssClass="lbl" Style="font-size: 24px !important; height: 15px; padding-left: 10px;"></asp:Label>
                                                                                <asp:Label ID="lblSep" runat="server" CssClass="lbl" Style="padding-left: 10px; display: none" Text="*" ForeColor="Red" Visible="false"></asp:Label>
                                                                                <asp:Label ID="lblCurrentQueue" runat="server" CssClass="lbl" Text="Current Queue" Visible="false"></asp:Label>

                                                                                <asp:Label ID="lblQueueName" runat="server" CssClass="lbl" Style="padding-left: 10px;" Visible="false"></asp:Label>
                                                                                <asp:Label ID="lblSep1" runat="server" CssClass="lbl" Style="padding-left: 10px;" Text="*" ForeColor="Red" Visible="false"></asp:Label>
                                                                                <asp:Label ID="lblParentRFQ" runat="server" CssClass="lbl" Text="Parent RFQ No" Visible="false"></asp:Label>
                                                                                <asp:Label ID="lblParentRFQNo" runat="server" CssClass="lbl" Style="padding-left: 10px;" Visible="false"></asp:Label>
                                                                            </td>

                                                                            <td align="center" id="tdTimer" runat="server" nowrap="nowrap" class="tdlblTimer" style="display: none;">
                                                                                <asp:Label ID="lblUnblockMsg" runat="server"  CssClass="lbl" Style="padding-left: 10px; padding-top: 20px;" Visible="false">RFQ locked for ( Sec. ) : </asp:Label>

                                                                                <asp:Label ID="lblTimerValue" runat="server" CssClass="lblTimer" Font-Bold="true" Font-Size="15px" Width="25px" Style="margin-top: 5px; color: #2686e0"></asp:Label>
                                                                            </td>

                                                                            <td style="display: none;">
                                                                                <asp:Label ID="lblRFQStatusValue" runat="server" CssClass="lbl" Font-Size="10px" ForeColor="Red" Height="15px"></asp:Label>
                                                                                <%--<Start || Added by Arshin S || on 4th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>
                                                                                <asp:ImageButton ID="btnClearDeal" runat="server" CausesValidation="true" OnClick="btnClearDeal_Click" ToolTip="Clear" Width="1px" Visible="false" />
                                                                                <input id="btnSolveDeal" runat="server" onserverclick="btnSolveDeal_Click" src="Icons/solve.gif" type="image" style="display: none;" />
                                                                                <asp:TextBox ID="txtSolveForValue" runat="server" CssClass="txt Rightalign" Font-Bold="True"
                                                                                    ReadOnly="true" Width="0px" Style="display: none;"></asp:TextBox>
                                                                                <%--<End || Added by Arshin S || on 4th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>
                                                                            </td>

                                                                            <td style="display: none;">
                                                                                <asp:Label ID="lblmessage" runat="server" CssClass="lbl"></asp:Label>

                                                                                <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;" />

                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="padding-right: 20px; padding-left: 0px;">
                                                                    <div class="BorderVertical"></div>
                                                                </td>

                                                                <td style="vertical-align: top;">
                                                                    <table style="vertical-align: top; border: none 0px #FFF !important;" cellpadding="0" cellspacing="0" border="0">
                                                                        <tr>
                                                                            <td valign="top" style="width: 180px;">
                                                                                <table runat="server" id="tblMain" cellpadding="0" cellspacing="0" border="0" class="lblTable" width="180px" style="border: transparent;">   <%-- filter css class removed by AniruddhaJ for dark theme 24-Nov-2021--%> 

                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td>
                                                                                            <asp:Label ID="Label41" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Entity%>"></asp:Label>
                                                                                            <asp:Label ID="Label39" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" runat="server" id="trcustsearch">
                                                                                        <td>
                                                                                            <asp:Label ID="lblPANLabel" Font-Bold="True" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, PAN%>" Visible="false"></asp:Label>
                                                                                            <asp:Label ID="lblSearchCust" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, SearchCustomer%>"></asp:Label>
                                                                                            <asp:Label ID="Label40" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                            <asp:Button ID="btnApplyLink" runat="server" Width="0" Style="width: 0px; height: 0px; font-size: 0; border: none; display: none" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%-- Start Added by shubham k on 16-Aug-2021 for Decision Maker for SCB LCM --%>
                                                                                    <tr class="PricerRowHeight35" id="trDecisionMaker">
                                                                                        <td>
                                                                                            <asp:Label ID="lblDecisionMaker" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, DecisionMaker%>"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%-- End Added by shubham k on 16-Aug-2021 for Decision Maker for SCB LCM --%>
                                                                                    <tr class="PricerRowHeight35" style="display: none">
                                                                                        <td>
                                                                                            <asp:Label ID="lblMainRMFastFind" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, MainRM%>"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" runat="server" id="trccypair">
                                                                                        <td>
                                                                                            <asp:Label runat="server" ID="Label14" Text="<%$ Resources:LocalizedText, CurrencyPair%>" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label45" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" runat="server" id="trlblPriceProvider">
                                                                                        <td>
                                                                                            <asp:Label ID="Label1" Text="<%$ Resources:LocalizedText, PriceProvider%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label20" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="PricerRowHeight35" id="tr_lbl_ProductType" runat="server">
                                                                                        <td>
                                                                                            <asp:Label runat="server" ID="Label29" Text="<%$ Resources:LocalizedText, ProductTypeFXO%>" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label31" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="PricerRowHeight35" id="tr5" runat="server" style="display: none;">
                                                                                        <td>
                                                                                            <asp:Label runat="server" ID="Label30" Text="<%$ Resources:LocalizedText, FinIQProvider%>" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label32" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" runat="server" id="tr_buysell">
                                                                                        <td>
                                                                                            <asp:Label runat="server" ID="Label48" Text="<%$ Resources:LocalizedText, BuySellFXO%>" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label50" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                            <asp:Label ID="lblBSCcy" runat="server" CssClass="lbl" Style="color: #2686e0; display: none"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" style="display: none;">
                                                                                        <td></td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td>
                                                                                            <asp:Label ID="lblNotionalLabel" Text="<%$ Resources:LocalizedText, NotionalFXO%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label21" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td runat="server" id="tdtenor" class="lbl">
                                                                                            <asp:Label ID="lblTenorLabel" Text="<%$ Resources:LocalizedText, TenorFXO%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="Label46" runat="server" Text="*" ForeColor="Red" Font-Bold="true"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td>
                                                                                            <asp:Label ID="lblSpotRateLabel" Text="<%$ Resources:LocalizedText, SpotRate%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" id="trlblStrike" runat="server">
                                                                                        <td style="white-space: nowrap;" align="left" valign="top">
                                                                                            <div style="margin: 0px; line-height: 19px; height: 19px; float: left; width: 92%;">
                                                                                                <asp:Label ID="lblStrikeRateLabel" Text="<%$ Resources:LocalizedText, StrikeFXO%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                                <asp:Label ID="lblLastEdittedPips" runat="server" Text="*" ForeColor="Red" Font-Bold="true" Visible="false"></asp:Label>
                                                                                            </div>
                                                                                            <%-- <div style="margin: 0px; line-height: 25px; height: 25px; text-align: right; float: right; width: 5px;">
                                                                    
                                                                </div>--%>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" visible="false">
                                                                                        <td>
                                                                                            <asp:Label ID="Label53" Text="<%$ Resources:LocalizedText, PremiumCurrencyFXO%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td align="left" valign="top">
                                                                                            <%--Added by shubham k on 15-Feb-21 for UBP UI,added margin-left -5px--%>
                                                                                            <table cellpadding="0" cellspacing="0" class="innerTable">
                                                                                                <tr>
                                                                                                    <td align="left">
                                                                                                        <asp:Label ID="lblIBPremiumLabel" Text="<%$ Resources:LocalizedText, IBPremium%>" runat="server" CssClass="lbl"></asp:Label></td>
                                                                                                    <td align="left" style="padding-right: 35px !important;">
                                                                                                        <asp:Label ID="lblPayRecFlag" runat="server" CssClass="lbl" Style="color: #2686e0"></asp:Label></td>
                                                                                                    <td align="left">
                                                                                                        <asp:DropDownList ID="ddlPayRecFalg" runat="server" CssClass="ddl" Style="color: #2686e0" Width="100px">
                                                                                                            <asp:ListItem Text="IB Pays" Value="IB Pays"></asp:ListItem>
                                                                                                            <asp:ListItem Text="IB Receives" Value="IB Receives"></asp:ListItem>
                                                                                                        </asp:DropDownList></td>
                                                                                                </tr>
                                                                                            </table>               
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="" style="display: none;">
                                                                                        <td>
                                                                                            <asp:Label ID="Label44" Text="<%$ Resources:LocalizedText, CustomerPremPerc%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35" runat="server" id="trlblCustomerPremAmt">
                                                                                        <td style="vertical-align: middle;" align="left" valign="top">
                                                                                            <%--Added by shubham k on 15-Feb-21 for UBP UI,added margin-left -5px--%>
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left">
                                                                                                        <asp:Label ID="lblCustomerPremAmt" Text="<%$ Resources:LocalizedText, CustomerPremAmt%>" runat="server" CssClass="lbl"></asp:Label></td>
                                                                                                    <td align="left" style="padding-right: 14px !important;">
                                                                                                        <asp:Label ID="lblCustPayRecFlag" runat="server" CssClass="lbl"></asp:Label></td>
                                                                                                    <%--Style="color: #2686e0"--%>
                                                                                                    <td align="left">
                                                                                                        <asp:DropDownList ID="ddlCustPayRecFlag" runat="server" CssClass="ddl" Style="color: #2686e0" Width="100px" AutoPostBack="true">
                                                                                                            <asp:ListItem Text="Client Pays" Value="Client Pays"></asp:ListItem>
                                                                                                            <asp:ListItem Text="Client Receives" Value="Client Receives"></asp:ListItem>
                                                                                                        </asp:DropDownList></td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td>
                                                                                            <asp:Label ID="lblSpreadLabel" Text="<%$ Resources:LocalizedText, SpreadPerFXO%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td>
                                                                                            <asp:Label ID="lblMarginDepoLabel" Text="<%$ Resources:LocalizedText, MarginAmtDepo%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="lblMarginAmtDepoCcy" runat="server" CssClass="lbl" Text="()"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight35">
                                                                                        <td>
                                                                                            <asp:Label ID="lblMarginGlobalCcyLabel" Text="<%$ Resources:LocalizedText, MarginAmtBankGlobalCurrency%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="lblBankGlobalCurrency" runat="server" CssClass="lbl" Text=" (USD)"></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="PricerRowHeight35" id="trMarginBaseCcy" runat="server">
                                                                                        <td>
                                                                                            <asp:Label ID="lblMarginBaseLabel" Text="<%$ Resources:LocalizedText, MarginAmtBankBaseCurrency%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                            <asp:Label ID="lblBankBaseCurrency" runat="server" CssClass="lbl" Text=" (USD)"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--<tr class="PricerRowHeight35" id="trDealerRRemark" runat="server" style="display: none">
                                                                                        <td>
                                                                                            <asp:Label ID="Label57" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, DealerRemark%>"></asp:Label>
                                                                                        </td>
                                                                                    </tr>--%>
                                                                                   <%-- <tr class="PricerRowHeight35" id="trRemarkToDealer" runat="server" style="display: none">
                                                                                        <td>
                                                                                            <asp:Label ID="Label58" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Remark%>" Visible="false"></asp:Label>
                                                                                        </td>
                                                                                    </tr>--%>
                                                                                    <tr id="trRepriceAllEmailQuote" runat="server">
                                                                                        <td style="height: 42px !important;"></td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                            <td valign="top" style="width: 310px;">
                                                                                <table cellpadding="0" cellspacing="0" border="0" class="controlTable" style="border: transparent; width: 319px;">  <%-- filter css class removed by AniruddhaJ for dark theme 24-Nov-2021--%> 
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td valign="bottom" align="left">
                                                                                            <asp:DropDownList ID="ddlEntity" runat="server" CssClass="ddl DropdownLongWidth" AutoPostBack="True" TabIndex="1"></asp:DropDownList>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight_Customer" runat="server" id="trcustsearchctrl">
                                                                                        <td align="left">
                                                                                            <ucsmart:FinIQ_Customer_SmartSearch ShowCustCIFInfoInToolTip="Y" runat="server" Style="vertical-align: top; white-space: nowrap;" ID="FindCustSmart" OnUC_Postback="FindCustSmart_UC_Postback" SetWidth="239" tabindex="2" />
                                                                                            <asp:LinkButton ID="btnStaticInfo" runat="server" BorderColor="Beige" Font-Bold="true" Font-Size="9px" Visible="False" Text="&gt;&gt;" ToolTip="click to select/view customer details" />
                                                                                            <asp:Label ID="lblCustPAN" runat="server" CssClass="lbl" Visible="false"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--Start Added by shubham k on 16-Aug-2021 for Decision Maker for SCB LCM--%>
                                                                                    <tr class="PricerRowHeight35" runat="server" id="trDecisionbtn">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtDecisionMaker" runat="server" CssClass="txt Rightalign TextBoxLongWidth" MaxLength="26" Enabled="false" onkeypress="AllowOnlyNumeric();"></asp:TextBox>
                                                                                          <asp:Button ID="btnDecisionMaker" runat="server" Text="Party ID" Enabled="false" CssClass="btn btnCalculate" Width="60px" OnClientClick="ShowDecisionMakerLoader()"></asp:Button>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--End Added by shubham k on 16-Aug-2021 for Decision Maker for SCB LCM--%>
                                                                                    <tr class="PricerRowHeight35" style="display: none">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtMainRMName" Font-Bold="True" runat="server" CssClass="txt txtRMNameWidth" MaxLength="26" disabled="true"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr id="Tr1" class="PricerRowHeight" runat="server" visible="false">
                                                                                        <td align="left">
                                                                                            <asp:DropDownList CssClass="ddl" Width="245px" ID="ddlView" runat="server" AutoPostBack="true" Visible="true" Enabled="false">
                                                                                                <asp:ListItem Text="Customer" Value="CUSTOMER"></asp:ListItem>
                                                                                                <asp:ListItem Text="CounterParty" Value="COUNTERPARTY"></asp:ListItem>
                                                                                            </asp:DropDownList>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" runat="server" id="tr_ctrlpair">
                                                                                        <td align="left">
                                                                                            <ucCurrencyPair:Smart_Search_PairControl runat="server" Style="vertical-align: top; white-space: nowrap;" OnUC_Postback="CurrencyPair_UC_Postback" ID="Smart_Search_CurrencyPairControl" SetWidth="239" tabindex="3" />
                                                                                            <%-- <asp:DropDownList ID="ddlCurrencyPair" runat="server" AutoPostBack="True" CssClass="ddl DropdownLongWidth" Visible="false"></asp:DropDownList>--%>
                                                                                            <asp:Image ID="imgCallPut" runat="server" BorderStyle="None" Width="22px" Height="18" BorderWidth="0" ImageAlign="absmiddle" Visible="False" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" runat="server" id="trPriceProvider">
                                                                                        <td style="vertical-align: top;" align="left">
                                                                                            <table cellspacing="0" cellpadding="0" border="0">
                                                                                                <tr>
                                                                                                    <td class="tdbtnWidth">
                                                                                                        <asp:Button ID="btnAutoManual" runat="server" Text="Auto" CssClass="btn" Width="114px" Height="18px" />


                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:DropDownList CssClass="ddl DropdownShortWidth" ID="ddlPriceProvider" runat="server" AutoPostBack="true" Visible="true"></asp:DropDownList>
                                                                                                        <asp:ImageButton ID="imgGoldTrophy" runat="server" BorderStyle="None" ImageUrl="Icons/b.png"
                                                                                                            BorderWidth="0" ImageAlign="absmiddle" Visible="false" />
                                                                                                        <asp:Button ID="btnGoldTrophy" runat="server" Text="Best" CssClass="btn btnCalculate" Width="60px"></asp:Button>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="PricerRowHeight" runat="server" id="tr_Ctrl_ProductType">
                                                                                        <td align="left">
                                                                                            <asp:DropDownList CssClass="ddl DropdownLongWidth" ID="ddlProductType" runat="server" AutoPostBack="true" Visible="true"></asp:DropDownList>
                                                                                            <asp:Button ID="btnOptionTypePopup" runat="server" Text="..." Visible="false"></asp:Button>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="PricerRowHeight" runat="server" id="tr3" style="display: none;">
                                                                                        <td align="left">
                                                                                            <asp:DropDownList CssClass="ddl DropdownLongWidth" ID="ddlSetPriceProvider" runat="server" AutoPostBack="true" Visible="true">
                                                                                                <asp:ListItem Value="InHouse" Text="In-House"></asp:ListItem>
                                                                                                <asp:ListItem Value="External" Text="External"></asp:ListItem>
                                                                                                <asp:ListItem Value="Both" Text="Both" Selected="True"></asp:ListItem>
                                                                                            </asp:DropDownList>
                                                                                            <asp:Image ID="image1" runat="server" BorderStyle="None" ImageUrl="~/App_Resources/b.png" Width="18px"
                                                                                                Height="18" BorderWidth="0" ImageAlign="absmiddle" Visible="false" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" runat="server" id="tr_ControlBuySell">
                                                                                        <td align="left" valign="top">
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left" class="tdbtnToggleNotionalCcy">
                                                                                                        <asp:Button ID="btnBuy" runat="server" Text="Buy" CssClass="btn" Width="114px" />
                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:Button ID="btnSell" runat="server" Text="Sell" CssClass="btn" Width="114px" />
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                            <%--style="background:#cc0000" --%>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="" style="display: none;">
                                                                                        <td align="left" style="white-space: nowrap;">
                                                                                            <asp:Label ID="lblCallPutCcy" runat="server" Style="color: #2686e0" Width="26px" CssClass="control2 readonly"> </asp:Label>
                                                                                            <asp:Label ID="lblCallPut" runat="server" Style="color: #2686e0" Visible="false"></asp:Label>
                                                                                            <asp:LinkButton ID="lnkToggleCallPut" runat="server" Font-Underline="false" Style="background: url('../App_Resources/FilpArrow.png') right center no-repeat; width: 99px; background-color: #F7F7F7; border: solid 1px #333; padding: 0em  0.5em 0em 3.5em; line-height: 18px; color: #2686e0">
                                                                                                <asp:Image ID="imgToggleCallPut" runat="server" BorderStyle="None" Width="12px" Height="12px" BorderWidth="0" ImageAlign="absmiddle" Visible="false" />
                                                                                            </asp:LinkButton>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight40">
                                                                                        <td align="left" style="white-space: nowrap;">
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left" class="tdbtnToggleNotionalCcy">
                                                                                                        <asp:Button ID="btnToggleNotionalCcy" runat="server" Font-Underline="false" Style="color: #333 !important;" Width="114px" CssClass="btn btnImage"></asp:Button>

                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:TextBox ID="txtNotionalDepo" Font-Bold="True" runat="server" CssClass="txt Rightalign TextBoxShortWidth" MaxLength="26" AutoPostBack="true" onKeyPress="return allowNominalWithMKB(event,this);" TabIndex="4"></asp:TextBox>

                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td align="left" valign="top">
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left" class="tdbtnToggleNotionalCcy">
                                                                                                        <asp:DropDownList ID="ddlTenor" runat="server" AutoPostBack="true" CssClass="ddl DropdownShortWidth" TabIndex="5" with="114px"></asp:DropDownList>
                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:TextBox ID="txtTenor" runat="server" CssClass="txt Rightalign TextBoxShortWidth" MaxLength="5" AutoPostBack="true" OnKeyPress="return allowTenorWithDMW(event,this);" TabIndex="6"></asp:TextBox>
                                                                                                        <asp:DropDownList ID="ddlValueDays" Width="114px" runat="server" CssClass="ddl control2" AutoPostBack="True" Visible="false"></asp:DropDownList>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td align="left" valign="top">
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left" class="tdbtnToggleNotionalCcy">
                                                                                                        <asp:TextBox ID="txtBidRate" runat="server" AutoPostBack="false" CssClass="txt TextBoxShortWidth Rightalign txtDisabledCSS" MaxLength="12"
                                                                                                            Enabled="false"></asp:TextBox>
                                                                                                        /
                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:TextBox ID="txtAskRate" runat="server" AutoPostBack="false"
                                                                                                            MaxLength="12" BorderStyle="None" CssClass="txt TextBoxShortWidth Rightalign txtDisabledCSS" ></asp:TextBox>
                                                                                                        <asp:TextBox ID="txtSpot" Width="1" runat="server" AutoPostBack="true" CssClass="txt" BorderStyle="None" Visible="false" Style="display: none;"></asp:TextBox>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" id="trStrike" runat="server">
                                                                                        <td align="left" valign="top" style="white-space: nowrap;">
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left" class="tdbtnToggleNotionalCcy">
                                                                                                        <asp:TextBox ID="txtStrikePoints" runat="server" CssClass="txt TextBoxShortWidth Rightalign " Font-Bold="True" MaxLength="10" AutoPostBack="true" OnKeyPress=" return AllowNegativeNumericOnly(this);" TabIndex="7"></asp:TextBox>
                                                                                                        <%--<Added by Arshin S || on 4th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>
                                                                                                        <asp:Label ID="lblLastEdittedRate" runat="server" Text="*" Width="1px" ForeColor="Red"
                                                                                                            Font-Bold="true" Visible="false"></asp:Label>
                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:TextBox ID="txtStrike" Font-Bold="True" runat="server" CssClass="txt TextBoxShortWidth Rightalign " MaxLength="15" AutoPostBack="true" onkeypress="return validateFloatDecimalPlaces(this,event,10,false);" TabIndex="8"></asp:TextBox>
                                                                                                        <%-- <input id="btnSolveDealStrike" runat="server" src="Icons/SolveForStrike.png" alt="Solve for strike" type="image" style="margin-left: 2px;" visible="false"/>--%>
                                                                                                        <asp:Button ID="btnSolveDealStrike" runat="server" Text="Strike" CssClass="btn btnCalculate" Width="60px" ToolTip="Solve for Strike" OnClientClick="StopTimer();showQuoteRequest();"></asp:Button>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--< Start || Added by Arshin S\Prutha K || on 7th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>
                                                                                    <tr class="" id="tr_Ctrl_Barrierlbl" runat="server" style="display: none;">
                                                                                        <td align="left" valign="middle">
                                                                                            <asp:Label ID="lblLowerBarrier" Text="Lower" runat="server" CssClass="lbl control2"
                                                                                                Width="62px"></asp:Label><asp:Label ID="lblUpperBarrier" Text=" Upper"
                                                                                                    runat="server" CssClass="lbl control2" Width="65px"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="" id="tr_Ctrl_Barrier" runat="server" style="display: none;">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtLowerBarrier" Font-Bold="True" runat="server" Width="62px"
                                                                                                CssClass="txt textBoxTextRightAlign control2" MaxLength="15" AutoPostBack="true"></asp:TextBox><asp:TextBox
                                                                                                    ID="txtUpperBarrier" Font-Bold="True" runat="server" Width="65px" CssClass="txt textBoxTextRightAlign control2"
                                                                                                    MaxLength="15" Enabled="false" AutoPostBack="true"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--< End || Added by Arshin S\Prutha K || on 7th May 2018 || asked by Deepa Ma'am / Akshay V || for SCB FXO>--%>

                                                                                    <tr class="PricerRowHeight">
                                                                                        <td align="left" valign="top">
                                                                                            <table cellpadding="0" cellspacing="0">
                                                                                                <tr>
                                                                                                    <td align="left" class="tdbtnToggleNotionalCcy">
                                                                                                        <%--< Changed dropdown to toggle button by Arshin S || Asked by Prashant M || on 24th July 2018>--%>
                                                                                                        <%-- <asp:DropDownList CssClass="ddl DropdownShortWidth " ID="ddlPremiumCurrency" runat="server" AutoPostBack="true" Visible="false"></asp:DropDownList>--%>
                                                                                                        <asp:Button ID="btnTogglePremiumCurrency" runat="server" Font-Underline="false" Style="color: #333 !important;" Width="114px" CssClass="btn btnImage"></asp:Button>
                                                                                                    </td>
                                                                                                    <td align="left">
                                                                                                        <asp:TextBox ID="txtIBPremium" runat="server" AutoPostBack="true" CssClass="txt TextBoxShortWidth  Rightalign txtDisabledCSS" MaxLength="15" Enabled="false" ReadOnly="true"></asp:TextBox>
                                                                                                        <asp:TextBox ID="txtCptyPremium" Width="133px" runat="server" CssClass="txt TextBoxShortWidth  Rightalign txtDisabledCSS " Font-Bold="True" MaxLength="10" Enabled="false" EnableViewState="true" Visible="false"></asp:TextBox>
                                                                                                        <asp:Button ID="btnIBPrem" runat="server" Text="IB Prem" CssClass="btn btnCalculate" Width="60px" ToolTip="Solve for Premium"></asp:Button>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>



                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="" style="display: none;">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtCustPremium" runat="server" CssClass="txt Rightalign TextBoxLongWidth" AutoPostBack="false" EnableViewState="true"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" runat="server" id="trtxtCustPremiumAmt">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtCustPremiumAmt" runat="server" CssClass="txt Rightalign TextBoxLongWidth" AutoPostBack="true" Text="0.00" onKeyPress="return allowNominalWithMKB(event,this);" MaxLength="16" TabIndex="9"></asp:TextBox>
                                                                                            <asp:Button ID="btnSolveDealPremium" runat="server" Text="Prem" CssClass="btn btnCalculate" Width="60px" ToolTip="Solve for Premium" OnClientClick="solveclick();showQuoteRequest();"></asp:Button>
                                                                                            <%-- <asp:ImageButton ID="btnSolveDealPremium" runat="server" src="Icons/r.png" alt="Solve for Premium" Style="vertical-align: bottom" ToolTip="Solve for Premium"/>--%>
                                                                                           
                                                                                       
                                                                                            

                                                                                            <%-- <input id="btnSolveDealPremium" runat="server" src="Icons/SolveForMargin.png" alt="Solve for Premium" type="image" style="margin-left: 2px; vertical-align: bottom" />--%>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtMargin" runat="server" CssClass="txt Rightalign TextBoxLongWidth" MaxLength="12" onkeypress="return validateFloatDecimalPlaces(this,event,10,false);" AutoPostBack="true" TabIndex="10"></asp:TextBox>
                                                                                            <%--  <asp:ImageButton ID="btnSolveDealMargin" alt="Solve for Margin" ImageUrl="../App_Resources/m.png" CssClass="letterImages" runat="server"   Style="vertical-align: bottom;display:none;"  />--%>
                                                                                            <asp:Button ID="btnSolveDealMargin" runat="server" Text="Spread" CssClass="btn btnCalculate" Width="60px" OnClick="btnSolveDealMargin_Click" ToolTip="Solve for Margin" OnClientClick="solveclick();showQuoteRequest();"></asp:Button>
                                                                                            <asp:CheckBox ID="chkDefaultSalesSpread" runat="server" ToolTip="Default Spread" Style="display: none;"
                                                                                                Width="62px" AutoPostBack="true" Text="Default Spread" CssClass="lbl control2" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td align="left">
                                                                                            <asp:TextBox ID="txtMarginDepo" runat="server" CssClass="txt Rightalign TextBoxLongWidth" AutoPostBack="true" MaxLength="16" onKeyPress="return allowNominalWithMKB(event,this);" TabIndex="11"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtMarginGlobalCcy" runat="server" CssClass="txt Rightalign TextBoxLongWidth" AutoPostBack="true" MaxLength="16" onKeyPress="return allowNominalWithMKB(event,this);" TabIndex="12"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>


                                                                                    <tr style="display: none;">
                                                                                        <td class="PricerRowHeight">
                                                                                            <asp:DropDownList ID="ddlSolveFor" Width="140px" runat="server" CssClass="ddl"
                                                                                                OnSelectedIndexChanged="ddlSolveFor_SelectedIndexChanged" AutoPostBack="false" EnableViewState="true">
                                                                                                <asp:ListItem Text="PREMIUM" Value="PREMIUM"></asp:ListItem>
                                                                                                <asp:ListItem Text="MARGIN" Value="MARGIN"></asp:ListItem>
                                                                                                <asp:ListItem Text="STRIKE" Value="STRIKE"></asp:ListItem>

                                                                                            </asp:DropDownList>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" id="trMarginBaseCcyValue" runat="server">
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtMarginBaseCcy" runat="server" CssClass="txt Rightalign TextBoxLongWidth"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--  <tr class="PricerRowHeight" id="trRemarkToDealerValue" runat="server" style="display: none">
                                                            <td>
                                                                <asp:TextBox ID="txtRemarks" runat="server" AutoPostBack="true" CssClass="txt" MaxLength="100" onkeypress="javascript:return textboxMultilineMaxNumber(this, 100);" TextMode="MultiLine"
                                                                    Width="238px"></asp:TextBox>
                                                            </td>
                                                        </tr>--%>
                                                                                   <%-- <tr class="PricerRowHeight" id="trDealerRRemarkValue" runat="server" style="display: none">
                                                                                        <td>
                                                                                            <asp:Label ID="lblDealerRemarkVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>--%>

                                                                                    <tr>
                                                                                        <td>
                                                                                            <table cellpadding="1" cellspacing="0" style="height: 42px; border: transparent;">
                                                                                                <tr class="PricerRowHeight" style="height: 40px;">


                                                                                                    <td style="text-align: center; vertical-align: middle; display: none;"></td>
                                                                                                    <td style="display: none;">
                                                                                                        <%--  <input id="btnclone" runat="server" value="Clone"
                                                                                style="display: none;" type="image" />--%>
                                                                                                    </td>
                                                                                                    <td align="center" style="display: none;">
                                                                                                        <input id="btnAcceptDeal" style="display: none;" runat="server"
                                                                                                            type="image" />
                                                                                                    </td>
                                                                                                    <td align="center" style="display: none;">
                                                                                                        <input id="btnIndicative" style="display: none;" runat="server"
                                                                                                            type="image" />
                                                                                                        <input id="btnPreConfo" style="display: none;" runat="server" type="image" />
                                                                                                    </td>
                                                                                                    <td align="center" id="tdbtnTradeForQENMode" runat="server" style="padding-right: 5px !important;">

                                                                                                        <asp:Button ID="btnTradeForQENMode" runat="server"
                                                                                                            CssClass="btn btnCalculate" Text="Trade" Width="65px" Enabled="false"></asp:Button>
                                                                                                    </td>

                                                                                                    <td align="center" id="tdbtnIndicativeTermSheet" runat="server">
                                                                                                       <%-- <asp:Button ID="btnIndicativeTermSheet" runat="server"
                                                                                                            CssClass="btn" Text="Indicative Termsheet" Width="140px" Enabled="false"></asp:Button>--%>
                                                                                                    </td>


                                                                                                    <td style="margin-left: 5px">	
                                                                                                        &nbsp;&nbsp;<asp:label text="" Visible="false"  id="lblLPResponseCount" runat="server" />
                                                                                                        <asp:label text="Cpty Replied" Visible="false"  id="lblLPResponse" runat="server" />
                                                                                                    </td>

                                                                                                    <td align="center">
                                                                                                        <asp:Button ID="btnProceedToOrders" runat="server" Text="Proceed To Order" type="button"
                                                                                                            Style="display: none;" Visible="false" />
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <%--  <asp:Button ID="btnRouteToDealer" runat="server" Text="Route To Dealer" CssClass="btn" Visible="False"
                                                                                Height="18px" Width="106px" Enabled="false"></asp:Button>--%>
                                                                         
                                                                                                    </td>
                                                                                                </tr>
																								 <%-- <Start:- Added by Rushikesh P for displaying count of counterparty responses in Pricer Dealer for UBP on 26-Feb-2021>--%>
																								<%--<tr>
																								
                                                                                                     <td colspan="2">	
                                                                                                        <asp:label text="" Visible="false"  id="lblLPResponseCount" runat="server" />
                                                                                                        <asp:label text="Cpty Replied" Visible="false"  id="lblLPResponse" runat="server" />
                                                                                                    </td>

																								</tr>--%>
																								 <%-- <End:- Added by Rushikesh P for displaying count of counterparty responses in Pricer Dealer for UBP on 26-Feb-2021>--%>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td style="padding-right: 20px; padding-left: 20px;">
                                                                    <div class="BorderVertical"></div>
                                                                </td>
                                                                <td style="vertical-align: top;">
                                                                    <table style="vertical-align: top; border: none 0px #FFF !important;" cellpadding="0" cellspacing="0" border="0">
                                                                        <tr class="bottomBorder" runat="server" id="tr_DateControl">
                                                                            <%--style="display: none"--%>
                                                                            <td valign="top" align="left">
                                                                                <table cellpadding="0" cellspacing="0">
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="Label13" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, TradeDate%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="DateControlWidth">
                                                                                            <uc1:DateControl ID="txtTradeDate" runat="server" DoPostBack="true" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="160px" SetDefaultDate="True" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="Label15" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, PremiumDate%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="DateControlWidth">
                                                                                            <uc1:DateControl ID="txtPremiumDate" runat="server" DoPostBack="true" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="160px" SetDefaultDate="False" Disabled="True" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="lblExpiryDate" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, FixingDate%>"></asp:Label>

                                                                                        </td>
                                                                                        <td class="DateControlWidth">
                                                                                            <uc1:DateControl ID="txtExpiryDate" runat="server" DoPostBack="true" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="160px" SetDefaultDate="False" Disabled="True" />
                                                                                            <asp:TextBox ID="txtExpiryDays" Width="25px" runat="server" CssClass="txt Rightalign"></asp:TextBox></td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="Label17" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, SettlementDate%>"></asp:Label>
                                                                                        </td>
                                                                                        <td style="" class="DateControlWidth">
                                                                                            <uc1:DateControl ID="txtSettlementDate" runat="server" DoPostBack="true" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="160px" SetDefaultDate="False" Disabled="True" />
                                                                                            <asp:TextBox ID="txtSettlementDays" Width="25px" runat="server" CssClass="txt Rightalign"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr style="display: none;">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="OptionTypeLabel" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, OptionType%>"></asp:Label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:Label ID="lblOptionType" runat="server" CssClass="lbl">European</asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="lblOptionCutLabel" Text="<%$ Resources:LocalizedText, OptionCut%>" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                        <td style="">
                                                                                            <asp:DropDownList ID="ddlOptionCut" Width="160px" runat="server" CssClass="ddl" Enabled="False" Style="z-index: auto !important;" AutoPostBack="true"></asp:DropDownList>
                                                                                            <asp:Label ID="lblSelectedOptionCut" runat="server" CssClass="lbl" Text="" Visible="false"></asp:Label>
                                                                                            <asp:Label ID="lblFixingTime" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="PricerRowHeight" style="display: none;">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="Label43" Text="<%$ Resources:LocalizedText, PRR%>" runat="server" CssClass="lbl" Visible="false"></asp:Label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:Label ID="lblPRR" runat="server" CssClass="lbl" Visible="false"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr id="trAutoSalesSpread" runat="server" class="PricerRowHeight">
                                                                                        <td class="dateLabelWidth">
                                                                                            <asp:Label ID="Label56" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, AutoSalesSpread%>" Visible="false"></asp:Label>
                                                                                        </td>
                                                                                        <td style="vertical-align: middle;">
                                                                                            <asp:ImageButton ID="imgDefaultSpread" ImageUrl="../App_Resources/YES.png" runat="server" Visible="false" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>

                                                                        </tr>

                                                                        <tr runat="server" id="tr_BorderAboveAdditionalField">
                                                                            <td style="padding-bottom: 16px; padding-top: 16px;">
                                                                                <div class="BorderHorizontal"></div>
                                                                            </td>
                                                                        </tr>

                                                                        <tr class="">
                                                                            <td valign="top" class="" style="vertical-align: top; padding: 0px; height: 32px;">
                                                                                <table style="vertical-align: top; border: none 0px #FFF !important;" cellpadding="0" cellspacing="0" border="0">
                                                                                    <tr>
                                                                                        <td valign="top">
                                                                                            <asp:Label ID="lblAdditionalFields" runat="server" CssClass="lblHeaderCSS" Text="Additional Fields"></asp:Label>

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

                                                                                <%--<Start || Added by Arshin S || on 3rd-May-2018 || Asked by Deepa Ma'am / Akshay V || Temporary to show option type >--%>
                                                                                <%--     <table>
                                                        <tr style="height: 20px;">
                                                            <td></td>
                                                        </tr>
                                                        <tr>
                                                            <td style="width: 184px">
                                                                <asp:Label ID="lblOptType" runat="server" CssClass="lbl" Text="Option Type"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:DropDownList CssClass="ddl control1" Width="117px" ID="ddlOptionType" runat="server" AutoPostBack="true"  Visible="true">
                                                                    <asp:ListItem Value="Call">Call</asp:ListItem>
                                                                    <asp:ListItem Value="Put">Put</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                    </table>--%>
                                                                                <%--<End || Added by Arshin S || on 3rd-May-2018 || Asked by Deepa Ma'am / Akshay V || Temporary to show option type >--%>
                                                                            </td>
                                                                        </tr>
                                                                        <tr class="">
                                                                            <td style="vertical-align: top; padding: 2px;">
                                                                                <asp:UpdatePanel ID="UpdatePanel_UCPCTL" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true" EnableViewState="true">
                                                                                    <ContentTemplate>
                                                                                        <asp:Panel ID="pnlCTL" runat="server" EnableViewState="true" Style="margin-left: -11px; margin-top: -11px;">
                                                                                            <%--height: 200px;overflow: auto;--%>
                                                                                            <%----%>
                                                                                            <uc1:FinIQ_UCPCTL_Control runat="server" ID="oUCPCtrl" Visible="false" EnableViewState="true" />
                                                                                        </asp:Panel>
                                                                                    </ContentTemplate>

                                                                                </asp:UpdatePanel>
                                                                            </td>
                                                                        </tr>
                                                                    </table>

                                                                </td>

                                                                <td style="padding-right: 20px; padding-left: 20px;">
                                                                    <div class="BorderVertical"></div>
                                                                </td>



                                                                <td style="vertical-align: top;" align="right" runat="server" id="tdCustomerDetails" visible="true">

                                                                    <table style="width: 390px; vertical-align: top; border: none 0px #FFF !important;" cellpadding="0" cellspacing="0" border="0">
                                                                        <tr>
                                                                            <td>
                                                                                <table border="0" cellpadding="0" cellspacing="0">
                                                                                    <tr>
                                                                                        <td style="vertical-align: top; height: 24px;">
                                                                                            <asp:Label ID="lblContractSummaryHeader" runat="server" CssClass="lbl lblHeaderCSS" Text="Contract Summary " Font-color="Red"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td style="vertical-align: top;">
                                                                                            <div class="lblwrap" runat="server" id="lblSummary">
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td style="padding-bottom: 15px; padding-top: 15px;">
                                                                                <div class="BorderHorizontal"></div>
                                                                            </td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td>
                                                                                <table style="height: 190px;">

                                                                                    <tr class="lblCustCSS" id="trShowOriginalIBPremium" runat="server" visible="false">
                                                                                        <td>
                                                                                            <asp:Label ID="lblOriginalIBPremium" runat="server" CssClass="lbl lblOriginalIBPremium" Text="Original IB Premium : "></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblOriginalIBPremiumVal" runat="server" CssClass="lbl lblOriginalIBPremium" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS" id="trcustheader" runat="server" >
                                                                                        <td colspan="2">
                                                                                            <asp:Label ID="lblHeaderCust" runat="server" CssClass="lbl lblHeaderCSS" Text="Customer Details" Font-color="Red"></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS" id="tdCustomer" runat="server"  >
                                                                                        <td>
                                                                                            <asp:Label ID="lblCustomerName" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, CustomerName1%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblCustomerNameVal" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" id="tdCIF" runat="server">
                                                                                        <td>
                                                                                            <asp:Label ID="lblCIF" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, CIFCode%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblCIFVal" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" id="tdClienttype" runat="server">
                                                                                        <td>
                                                                                            <asp:Label ID="lblClientType" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ClientType%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblClientTypeVal" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" id ="trRmdetails" runat="server" >
                                                                                        <td>
                                                                                            <asp:Label ID="lblRMName" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, RMName1%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblRMNameVal" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>

                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:Label ID="lblCustomerSuitability" runat="server" CssClass="lbl" Text="Customer Suitability Pending"></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>

                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:Label ID="lblSuitabilityStatus" runat="server" CssClass="SuitabilityFont" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" style="display: none;">
                                                                                        <td>
                                                                                            <asp:Label ID="lblBookName" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, BookName%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblBookNameVal" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS" id="trremark" runat="server" >
                                                                                        <td>
                                                                                            <asp:Label ID="lblRemark" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Remark%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:TextBox ID="txtRemarks" runat="server" TextMode="multiline" Rows="2" Columns="30" CssClass="txt"></asp:TextBox>
                                                                                         <asp:TextBox ID="txtDealerRemark" runat="server" TextMode="multiline" Rows="2" Columns="30" CssClass="txt"></asp:TextBox>
                                                                                       
                                                                                        </td>
                                                                                        
                                                                                    </tr>
                                                                                     <tr class="lblCustCSS" id="trDealerRRemarkValue" runat="server" >
                                                                                          <td>
                                                                                            <asp:Label ID="lblRemark2" runat="server" CssClass="lbl"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblDealerRemarkVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" id="tr_ExternalDealNo" runat="server">
                                                                                        <td>
                                                                                            <asp:Label ID="lblExternalDealNo" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ExternalDealNo%>"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:TextBox ID="txtExternalDealNo" runat="server" CssClass="txt" Width="223px"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>

                                                                                    

                                                                                </table>

                                                                            </td>
                                                                        </tr>


                                                                    </table>
                                                                </td>


                                                                <td style="padding-right: 20px; padding-left: 20px;" id="tdPricingModelVerticalLine" visible="false" runat="server">
                                                                    <div class="BorderVertical"></div>
                                                                </td>

                                                                <td id="tdPricingModel" runat="server" style="padding-bottom: 380px;" visible="false">
                                                                    <table>
                                                                        <tr>
                                                                            <td>
                                                                                <table border="0" cellpadding="0px" cellspacing="0px">
                                                                                    <tr class="lblCustCSS">
                                                                                        <td colspan="2">
                                                                                            <asp:Label ID="lblPricingModel" runat="server" CssClass="lbl lblHeaderCSS" Text="Pricing Model"></asp:Label>
                                                                                        </td>

                                                                                    </tr>
                                                                                    <tr class="lblCustCSS">
                                                                                        <td>
                                                                                            <asp:Label ID="lblVolATMCap" runat="server" CssClass="lbl" Text="ATM Vol %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblVolATMCapVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS">
                                                                                        <td>
                                                                                            <asp:Label ID="lblVolStrikeCap" runat="server" CssClass="lbl" Text="Strike Vol %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblVolStrikeCapVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" style="display: none;">
                                                                                        <td>
                                                                                            <asp:Label ID="lblDeltaATMCap" runat="server" CssClass="lbl" Text="Delta with ATM Vol %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblDeltaATMCapVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS" style="display: none;">

                                                                                        <td>
                                                                                            <asp:Label ID="lblDeltaStrikeCap" runat="server" CssClass="lbl" Text="Delta with Strike Vol %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblDeltaStrikeCapVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS" style="display: none;">
                                                                                        <td>
                                                                                            <asp:Label ID="lblVegaCap" runat="server" CssClass="lbl" Text="Vega %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblVegaCapVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>

                                                                                    <tr class="lblCustCSS">
                                                                                        <td>
                                                                                            <asp:Label ID="lblPremiumCap" runat="server" CssClass="lbl" Text="Black-Scholes Premium %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblPremiumCapVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="lblCustCSS" style="display: none">
                                                                                        <td>
                                                                                            <asp:Label ID="lblPremiumVannaVolga" runat="server" CssClass="lbl" Text="Vanna Volga Premium %"></asp:Label>
                                                                                        </td>
                                                                                        <td class="tdCustCSS">
                                                                                            <asp:Label ID="lblPremiumVannaVolgaVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                                        </td>
                                                                                    </tr>

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

                                                                </td>

                                                            </tr>
                                                            <tr>

                                                                <td colspan="6" style="height: 5px; padding-left: 20px;">

                                                                    <asp:Button ID="btnReprice1" runat="server"
                                                                        CssClass="btn btnCalculate" Text="Re-price All" Width="90px" Enabled="false"></asp:Button>
                                                                    <asp:Button ID="btnEmailDetails" runat="server" Style="margin-left: 5px;"
                                                                        CssClass="btn btnCalculate" Text="Email the Quote" Width="110px" Enabled="false"></asp:Button>
                                                                    <asp:Button ID="btnViewSchedule" runat="server"
                                                                        CssClass="btn btnCalculate" Text="View Schedule" Width="105px" Visible="false"></asp:Button><%--Style="margin-left: 5px;"--%>
                                                                    <asp:Button ID="btnReset" runat="server" Text="Reset" CssClass="btn btnCalculate"
                                                                        Width="65px"></asp:Button>

                                                                    <asp:Button ID="btnClone" runat="server" Text="Edit" CssClass="btn btnCalculate"
                                                                        Width="60px" Enabled="false"></asp:Button>
                                                                  <%--  <asp:Button ID="btnTradeRecommendation" runat="server" Text="Save Trade Idea" CssClass="btn btnCalculate"
                                                                        Width="120px" Enabled="false" Visible="false"></asp:Button>--%>
                                                                      <asp:Button ID="btnTradeRecommendation" runat="server" Text="Save Trade Idea" CssClass="btn btnCalculate"
                                                                        Width="120px" Enabled="false" Visible="false"></asp:Button>
                                                                     <asp:Button ID="btnMarginManCheck" runat="server" Text="Margin Check" CssClass="btn btnCalculate"
                                                                        Width="110px" Enabled="false" Visible="false"></asp:Button>
																		<asp:Button ID="BtnCreditLimit" runat="server" Text="Credit check" CssClass="btn btnCalculate"
                                                                        Width="120px" Enabled="True" Visible="true"></asp:Button>
																	 <asp:Button ID="btnamend" runat="server" Text="Amend" CssClass="btn btnCalculate"
                                                                        Width="60px" Enabled="false" />
                                                                    <asp:Button ID="btnchecksuitability" runat="server" Text="Check Suitability" CssClass="btn btnCalculate"
                                                                        Width="60px" Enabled="true" visible="false" />
                                                                    <asp:Button ID="btnSaveAmendTrade" runat="server" Text="Save Trade" CssClass="btn btnCalculate"
                                                                        Width="80px" Visible="false" />
                                                                   <%-- Added By Rushikesh P On 30-Aug-2020 for WhatIf popup--%>
                                                                    <asp:Button ID="btnWhatIf" runat="server" Text="What If" CssClass="btn btnCalculate"
Width="80px" Enabled="false"></asp:Button>
                                                                    <asp:Button ID="btnIndicativeTermSheet" runat="server"
                                                                                                            CssClass="btn" Text="Indicative Termsheet" Width="140px" Enabled="false"></asp:Button>
                                                               
                                                                    <asp:Button ID="btnRouteToOrder" runat="server" Text="Route To Dealer" CssClass="btn btnCalculate" 
                                             Width="120px" Enabled="false" OnClientClick  ="SetButtonId(this.id)"></asp:Button>
                                                                </td>

                                                            </tr>
                                                            <tr>
                                                                <td colspan="6" style="padding-bottom: 10px; padding-top: 10px;">
                                                                    <div class="BorderHorizontal"></div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="5" valign="top"></td>

                                                                <td align="left" colspan="1" style="width: 250px;" valign="top" id="td_PricingModel" runat="server" visible="false">
                                                                    <table id="tblPricingModel" runat="server" cellpadding="10" cellspacing="10" width="250px">
                                                                        <tr>
                                                                            <td colspan="4" style="color: Red">Model Premium
                                                                            </td>
                                                                        </tr>
                                                                        <tr id="tr6" runat="server" align="center" class="PricerRowHeight">
                                                                            <td class="height25">
                                                                                <asp:Label ID="Label38" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ModelPremiumBlackScholes%>"></asp:Label>
                                                                            </td>
                                                                            <td class="height25">
                                                                                <asp:Label ID="Label42" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ModelPremiumVannaVolga%>"></asp:Label>
                                                                            </td>
                                                                            <td class="height25">
                                                                                <asp:Label ID="Label51" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ModelPremiumDupire%>"></asp:Label>
                                                                            </td>
                                                                            <td class="height25">
                                                                                <asp:Label ID="Label55" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ModelPremiumHeston%>"></asp:Label>
                                                                            </td>
                                                                        </tr>
                                                                        <tr id="tr8" runat="server" align="center" class="PricerRowHeight">
                                                                            <td colspan="4"></td>
                                                                        </tr>
                                                                        <tr id="tr7" runat="server" align="center" class="PricerRowHeight">
                                                                            <td class="height25">
                                                                                <asp:TextBox ID="txtBlackScholesPremium" runat="server" Style="border: 0px !important; text-align: center"
                                                                                    Width="80%"> </asp:TextBox>
                                                                            </td>
                                                                            <td class="height25">
                                                                                <asp:TextBox ID="txtVannaVolgaPremium" runat="server" CssClass="lbl"
                                                                                    Style="border: 0px !important; text-align: center" Width="80%"> </asp:TextBox>
                                                                            </td>
                                                                            <td class="height25">
                                                                                <asp:TextBox ID="txtDupirePremium" runat="server" CssClass="lbl"
                                                                                    Style="border: 0px !important; text-align: center" Width="80%"> </asp:TextBox>
                                                                            </td>
                                                                            <td class="height25">
                                                                                <asp:TextBox ID="txtHestonPremium" runat="server" CssClass="lbl"
                                                                                    Style="border: 0px !important; text-align: center" Width="80%"> </asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <caption>
                                                                            b
                                                <tr id="tr10" runat="server" align="center" class="PricerRowHeight">
                                                    <td colspan="4"></td>
                                                </tr>
                                                                            <tr id="tr9" runat="server" align="center" class="PricerRowHeight">
                                                                                <td class="height25">
                                                                                    <asp:Button ID="btnPriceBSPrem" runat="server" CssClass="btn" Text="Price" Visible="True" Width="80px" />
                                                                                </td>
                                                                                <td class="height25">
                                                                                    <asp:Button ID="btnPriceVVPrem" runat="server" CssClass="btn" Text="Price" Visible="True" Width="80px" />
                                                                                </td>
                                                                                <td class="height25">
                                                                                    <asp:Button ID="btnPriceDupirePrem" runat="server" CssClass="btn" Text="Price" Visible="True" Width="80px" />
                                                                                </td>
                                                                                <td class="height25">
                                                                                    <asp:Button ID="btnPriceHestonPrem" runat="server" CssClass="btn" Text="Price" Visible="True" Width="80px" />
                                                                                </td>
                                                                            </tr>
                                                                        </caption>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="6" style="display: none;">
                                                                    <table cellpadding="0" cellspacing="0" style="padding-bottom: 5px; padding-top: 5px; padding-right: 5px; border: Transparent; width: 100%;">
                                                                        <tr class="PricerRowHeight">
                                                                            <td class="height25" style="line-height: 18px;">
                                                                                <asp:Label ID="lblRmDetailsLabel" runat="server" CssClass="lbl" Font-Bold="true"
                                                                                    Text="RM Details:"></asp:Label>
                                                                                <br />
                                                                                <asp:Label ID="lblDealingRMLabel" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, DealingRM%>"></asp:Label>
                                                                                <br />
                                                                                <asp:Label ID="lblOfficerLocationLabel" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, OfficerLocation%>"></asp:Label>
                                                                                <br />
                                                                                <asp:Label ID="lblOfficerCodeLabel" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, OfficerCode%>"></asp:Label>
                                                                            </td>
                                                                            <td class="height25" style="line-height: 18px;">
                                                                                <br />
                                                                                <asp:Label ID="lblDealingRM" runat="server" CssClass="lbl"></asp:Label>
                                                                                <br />
                                                                                <asp:Label ID="lblOfficerLocation" runat="server" CssClass="lbl"></asp:Label>
                                                                                <br />
                                                                                <asp:Label ID="lblOfficerCode" runat="server" CssClass="lbl" Text=""></asp:Label>
                                                                            </td>
                                                                        </tr>
                                                                        <tr class="PricerRowHeight">
                                                                            <td class="height25" style="width: 141px; line-height: 18px;">
                                                                                <asp:Label ID="Label37" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, ExtentionNo%>"></asp:Label>
                                                                            </td>
                                                                            <td align="left" valign="top">
                                                                                <asp:TextBox ID="txtExtentionNO" runat="server" CssClass="txt" MaxLength="10" onkeypress="javascript:return textboxMultilineMaxNumber(this, 10);"
                                                                                    Width="200px"></asp:TextBox>
                                                                            </td>
                                                                        </tr>


                                                                        <%--        <tr style="line-height: 53px;">
                                              <td class="height25" style="line-height: 18px;" colspan="2" >
                                              </td>
                                        </tr>--%>
                                                                    </table>
                                                                </td>

                                                            </tr>


                                                        </table>
                                                    </asp:Panel>

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



                            </table>


                            <asp:Label ID="lblNotionalCcy" runat="server" Visible="false"></asp:Label>
                            <asp:Label ID="lblBuySellFlag" runat="server" Visible="false"></asp:Label>


                           



                        </asp:Panel>

                        <%-- <Start || Added by Nikita S || For Workflow Blotter page integration on  Multi option Entry screen || 18-Jun-2018>--%>

                        <table id="tblWorkflow" runat="server" class="tbllnkCSS" visible="false">
                            <tr>
                                <td>

                                    <asp:LinkButton ID="lnkWorkflow" runat="server" Text="Workflow Blotter" CssClass="lbl lnkCSS">
                                    </asp:LinkButton>
                               
                                </td>
                            </tr>
                        </table>


                        <asp:Panel ID="pnlWorkflow" runat="server" CssClass="UCPanelWorkflow" Visible="false" Width="1600px" Height="300px">

                            <table>
                                <tr>
                                    <td>
                                        <ucWorkflow:WorkFlowControl runat="server" ID="workflowControl" Visible="true" EnableViewState="true" Mode="1" />

                                    </td>
                                </tr>

                            </table>

                        </asp:Panel>

                        <%-- <End || Added by Nikita S || For Workflow Blotter page integration on  Multi option Entry screen || 18-Jun-2018>--%>



                        <asp:Panel ID="pnlExecutionDetails" runat="server" CssClass="outerdraggablePanel_1  pnlExecutionPosition " Visible="false" Height="620px">

                            <table cellpadding="5" cellspacing="0" border="0" class="UCOverflow">

                                <tr>
                                    <td class="lblHeader background_gray" align="left">
                                        <asp:Label ID="Label16" runat="server" Style="color: #00a546 !important; font-size: 14px;" Text="Execution Details"></asp:Label>
                                    </td>
                                    <td class="background_gray " align="right" style="display: none;">
                                        <input type="button" id="btnCancelExeReport" tooltip="Close" value="X" width="25" class="btn" style="vertical-align: top;" onclick="HideExecutionPanel()" />

                                    </td>
                                </tr>

                                <tr>
                                    <td align="left" valign="top" colspan="2" style="padding-left: 26px;">
                                        <table id="tblOrderExecutionDetails" runat="server" cellpadding="1"
                                            cellspacing="3">

                                            <tr>
                                                <td class="lblHeaderPP" colspan="3">Price provider order execution details
                                                </td>
                                            </tr>
                                            <tr class="trHeightCSS">
                                                <td style="width: 130px;"></td>
                                                <td style="width: 130px;">
                                                    <asp:Label ID="lblFinIQ" runat="server" CssClass="lbl" Text=" FinIQ Detail"></asp:Label>

                                                </td>
                                                <td class="tdHeightCSS" style="width: 130px;">
                                                    <asp:Label ID="lblPPID" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr class="trHeightCSS">
                                                <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 runat="server" id="trdealPair" class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <td>Notional Currency
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblNotionalCurrency_F" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblNotionalCurrency_PP" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <td>Premium Date
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblPremiumDate_F" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblPremiumDate_PP" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr class="trHeightCSS">
                                                <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 class="trHeightCSS">
                                                <td>Settlement Date
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblSettlementDate_F" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblSettlementDate_PP" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr class="trHeightCSS">
                                                <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>

                                    <td colspan="2" style="text-align: center; padding-bottom: 21px; padding-top: 12px;" align="center">
                                        <input type="button" id="btnOrderExeClose" class="btn" onclick="HideExecutionPanel()" style="width: 120px;" value="Close" />
                                    </td>

                                </tr>

                                <tr>
                                    <td colspan="2" style="padding-left: 30px;">
                                        <asp:Label ID="lblmsgOrderExecutionDetails" runat="server" CssClass="lblmsgOrderExe" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>

                            </table>

                        </asp:Panel>


                        <asp:Panel ID="pnlCustStatus" runat="server" Visible="false" CssClass=" UCPanelError_Landscape outerdraggablePanel " Height="370px" Width="430px">
                            <table style="width: 430px;">

                                <tr>
                                    <td class="lblHeader background_gray " style="padding-left: 30px !important; color: #0A9A46 !important" align="left">
                                        <asp:Label ID="Label59" runat="server" Text="Customer Status" Style="font-size: 14px;"></asp:Label>
                                    </td>
                                    <td class="background_gray " align="left" style="display: none;">
                                        <input type="button" id="btnCustStatusCancle" tooltip="Close" value="X" width="25" class="btn" style="vertical-align: top; float: right;" onclick="HideCustomerStatusPanel()" />
                                    </td>
                                </tr>
                            </table>
                            <table class="Customerstatus" style="width: 450px;">

                                <tr class="trHeightCSS">
                                    <td style="padding-top: 20px !important;">
                                        <asp:Label ID="lblCustName" runat="server" CssClass="lbl" Text="Customer Name"></asp:Label>
                                    </td>

                                    <td style="padding-top: 20px !important;">
                                        <asp:Label ID="lblCustNameVal" runat="server" CssClass="lbl"></asp:Label>
                                    </td>

                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblCustRiskRating" runat="server" CssClass="lbl" Text="Customer Risk Rating"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblCustRiskRatingVal" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>

                                <tr class="trHeightCSS">
                                    <td>
                                        <asp:Label ID="lblProductName" runat="server" CssClass="lbl" Text="Product Name"></asp:Label>
                                    </td>

                                    <td>
                                        <asp:Label ID="lblProductNameVal" runat="server" CssClass="lbl"></asp:Label>
                                    </td>

                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblProductRating" runat="server" CssClass="lbl" Text="Product Risk Rating"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblProductRatingVal" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>
                                        <asp:Label ID="lblProductRatingVal1" runat="server" CssClass="lbl"></asp:Label>
                                    </td>

                                </tr>


                                <tr class="trHeightCSS" style="width: 450px;">
                                    <td style="width: 100px;">
                                        <asp:Label ID="lblCustomerStatus" runat="server" CssClass="lbl" Text="Customer Status"></asp:Label>

                                    </td>

                                    <td>
                                        <asp:Label ID="lblCustomerStatusVal" runat="server" CssClass="lbl" Text="Active"></asp:Label>

                                    </td>

                                </tr>

                                <tr class="trHeightCSS">
                                    <td>
                                        <asp:Label ID="lblRiskRating" runat="server" CssClass="lbl" Text="Risk Rating"></asp:Label>

                                    </td>

                                    <td>
                                        <div style="width: 30px; float: left; padding-top: 2px;">
                                            <asp:Label ID="lblRiskRatingVal" runat="server" CssClass="lbl" Text=""></asp:Label>
                                        </div>
                                        <asp:CheckBox ID="chkOverride" runat="server" CssClass="chkCSS" Checked="false" Enabled="false" Text="Override" Style="padding-left: 30px;" float="left" AutoPostBack="true"></asp:CheckBox>
                                        <%--onclick="CheckEvent();"--%>

                                        <asp:ImageButton ID="imgCheck" runat="server" BorderStyle="None" ImageUrl="Icons/chkTick.png" BorderWidth="0" ImageAlign="absmiddle" Visible="false" Style="padding-left: 30px;" AutoPostBack="true" />

                                        <asp:Label ID="lblOverride" runat="server" CssClass="lbl" Text="Override" Visible="false"></asp:Label>
                                    </td>

                                </tr>

                            </table>
                            <table style="margin-top: 20px">
                                <tr class="trHeightCSS">

                                    <td style="padding-left: 90px; padding-right: 10px; text-align: center;" colspan="2">
                                        <asp:Button ID="btnApply" runat="server" CssClass="btn" Text="Apply" Width="120px" />



                                        <input type="button" id="btnCancleOverride" runat="server" value="Close" style="width: 120px;" class="btn" /><%--onclick="HideCustomerStatusPanel()"--%>

                                    </td>

                                </tr>
                            </table>

                        </asp:Panel>


                        <div>

                            <asp:Panel ID="pnlDateComparison" runat="server" Visible="false" CssClass="UCPanelError_Landscape outerdraggablePanel" Height="425px" Width="490px">

                                <table>

                                    <tr>
                                        <td class="lblHeader background_gray " style="padding-left: 30px !important; color: #00a546 !important" align="left">
                                            <asp:Label ID="Label60" runat="server" Text="User Notifications" Style="font-size: 14px !important;"></asp:Label>
                                        </td>
                                        <td class="background_gray " align="right" style="display: none;">

                                            <input type="button" id="btnDateComparisonCancle" tooltip="Close" value="X" width="25" class="btn" style="vertical-align: top;" onclick="HideDateComparisonPanel()" />


                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top" colspan="2" style="padding-left: 30px; padding-right: 30px; padding-top: 10px; padding-top: 5px;" class="tdlblErrorMessage">
                                            <asp:Label ID="lblDateComparisonMsg" runat="server" CssClass="lblinfo_Panel" Font-Size="11px" Font-Names="verdana" Wrap="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="text-align: center; padding-bottom: 15px; padding-top: 30px;" align="center">
                                            <input type="button" id="Button1" class="btn" onclick="HideDateComparisonPanel()" style="width: 120px;" value="Close" />
                                        </td>
                                    </tr>
                                </table>

                            </asp:Panel>

                        </div>
                        <asp:Panel ID="pnlOrderConfirmation" runat="server" Visible="false" CssClass="outerdraggablePanel UCPanelError_Landscape " Height="180px" Width="360px">
                            <table style="height: 170px; width: 350px">
                                <tr>
                                     <td class="lblHeader background_gray " style="color: #00a546 !important;" align="left">
                                        <asp:Label ID="Label63" runat="server" Text="User Notifications" Style="font-size: 14px !important;"></asp:Label>
                                    </td>
                                    <td class="background_gray " align="right" style="display: none;">
                                        <input type="button" id="btnOrderConfirmation" tooltip="Close" value="X" width="25" class="btn" style="vertical-align: top; float: right;" onclick="HideDealConfirmationPanle()" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: normal; padding-top: 10px !important; padding-left: 30px;" colspan="2">
                                        <asp:Label ID="Label64" runat="server" Text="Do you want to route the order to the dealing desk ?" CssClass="lbl lblHeaderPP" Style="font-size: 13px !important;"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: normal; padding-top: 10px !important; padding-left: 95px; " colspan="2">
                                        <input type="button" id="btnOrderConfirm" runat="server" value="Yes" class="btn" style="vertical-align: top; width: 80px;"  />
                                        <input type="button" id="btnOrderCancel" runat="server" value="No" class="btn" style="vertical-align: top; width: 80px;" />

                                    </td>
                                    
                                </tr>
                             </table>
                         </asp:Panel>

                        <asp:Panel ID="pnlDealConfirmation" runat="server" Visible="false" CssClass="outerdraggablePanel UCPanelError_Landscape " Height="600px" Width="550px">

                            <table style="height: 500px; width: 530px">
                                <tr>
                                    <td class="lblHeader background_gray " style="color: #00a546 !important;" align="left">
                                        <asp:Label ID="Label62" runat="server" Text="User Notifications" Style="font-size: 14px !important;"></asp:Label>
                                    </td>
                                    <td class="background_gray " align="right" style="display: none;">

                                        <input type="button" id="Button2" tooltip="Close" value="X" width="25" class="btn" style="vertical-align: top; float: right;" onclick="HideDealConfirmationPanle()" />


                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: normal; padding-top: 10px !important; padding-left: 30px;" colspan="2">
                                        <asp:Label ID="Label61" runat="server" Text="Are you sure you want to save the deal with the following details ?" CssClass="lbl lblHeaderPP" Style="font-size: 13px !important;"></asp:Label>
                                    </td>
                                </tr>
                                <td colspan="2" runat="server" style="padding-left: 30px;">
                                    <asp:Label ID="lblCustNameDeal" runat="server" CssClass="lbl" Text="Customer Name :"></asp:Label>
                                    <asp:Label ID="lblCustNameDealVal" runat="server" CssClass="lbl"></asp:Label>
                                    <div class="lblDetailsEntry" runat="server" id="lblDealDetails"></div>
                                </td>
                                </tr>

        <tr style="height: 50px;">

            <td align="center" colspan="2">
                <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>
        </tr>

                                <tr>
                                    <td style="width: 180px; vertical-align: top;" align="center" colspan="2">
                                        <asp:Button ID="btnConfirm" runat="server" CssClass="btn" Text="Confirm" Visible="True" Width="120px" Style="display: none" />

                                        <input type="button" id="btnConfirmNormal" runat="server" value="Confirm" class="btn" style="vertical-align: top; width: 120px;" onclick="ConfirmCheck()" />
                                        <input type="button" id="btnCancelDealConfirmation" runat="server" value="Close" class="btn" style="vertical-align: top; width: 120px;" onclick="HideDealConfirmationPanle()" />

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

                                </tr>

                            </table>

                        </asp:Panel>
                        <%-- Added by Nipun K on 24-Jan-2022 --%>
                        <asp:Panel ID="pnlCustomerSutability" runat="server" Visible="false" CssClass="outerdraggablePanel UCPanelError_Landscape " Height="1150px" Width="1280px" Style="left:370px; top:99px;"> 

                            <ContentTemplate>
                        
                            <table>
                                <tr>
                                    <td style="padding-top: 10px; padding-left: 15px;">
                                        <asp:Label CssClass="lblError" runat="server" ID="lblSuitabilityMessage" Style="font-size: 14px !important;" />
                                    </td>
                                    <td style="text-align: right; padding-top: 10px; padding-right: 10px;">
                                        <asp:Button Text="Close" runat="server" CssClass="btn" Width="100px" ID="btnSuitabilityClose" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <uc1:FinIQ_UCPCTL_Control runat="server" ID="oUCPCtrlCustSutability" Visible="false" EnableViewState="true" />
                                    </td>
                                </tr>
                            </table>
                        
                    </ContentTemplate>



                        </asp:Panel>





                        <%--Start Added by shubham k on 16-Aug-2021 for Decision Maker for SCB LCM--%>
                            <asp:Panel ID="pnlDecisionMaker" runat="server" Visible="false" CssClass="outerdraggablePanel pnlDecisionMaker" Height="310px" Width="600px">
                               <table style="width: 100%">
                                    <tr>
                                        <td align="left" style="text-align: center; width: 100%;">
                                            <asp:Label ID="lblDecisionMakerHeader" style="font-size: 14px !important;" CssClass="lbl" runat="server" Text=""></asp:Label>
                                        </td>
                                        <td align="right" style="float: right">

                                            <input type="button" id="btnDecisionMakerClose" tooltip="Close" value="X" width="25" class="CloseDecisionMakerBtn" style="vertical-align: top;" onclick="HideDecisionMakerPanel()" />


                                        </td>
                                    </tr>
                                    <tr style="padding: 0px !important;">
                                        <td colspan="2">
                                            <hr />
                                        </td>
                                    </tr>
                                </table>
                                <div class="decisionMakerDiv" style="width:98%; padding:5px !important;height:200px;overflow-y:scroll;">
                                    <table style="width:100%;">
                                    <tr>
                                        <td>
                                            <asp:GridView ID="grdDecisionMaker" runat="server" AutoGenerateColumns="false" AllowPaging="false" ShowHeaderWhenEmpty="true"
                                                                AllowSorting="true" ShowFooter="false" HeaderStyle-CssClass="GridHeaderTitle" RowHeadersWidthSizeMode="DisableResizing;" Style="width: 100%;">
                                                                <SelectedRowStyle CssClass="GridItemSelect" />
                                                                <AlternatingRowStyle CssClass="GridItem" />
                                                                <RowStyle CssClass="GridItem" Wrap="true" />
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Party ID" Visible="true">
                                                                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                                                                        <HeaderStyle Width="100px" HorizontalAlign="Center"/>
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblPartyID" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Party_ID").ToString)%>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="Party Name" Visible="true">
                                                                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                                                                        <HeaderStyle Width="100px" HorizontalAlign="Center"/>
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblPartyName" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Party_Name").ToString)%>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                                      <asp:TemplateField HeaderText="" Visible="true">
                                                                        <ItemStyle Width="30px" HorizontalAlign="Center" />
                                                                        <HeaderStyle Width="30px" HorizontalAlign="Center"/>
                                                                        <ItemTemplate>
                                                                            <asp:RadioButton ID="rdoPartyNameSelected" onclick = "PartyNameRadioCheck(this);" runat="server" Text=""/>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                </Columns>
                                                </asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                                </div>
                               <table style="width: 100%;padding-top:8px !important;padding-right:15px;">
                                    <tr>
                                        <td style="float: right">
                                            <asp:Button runat="server" width="100px" Enabled="false" Text="Proceed" ID="btnProceedDecisionMaker"  CssClass="btn" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        <%--End Added by shubham k on 16-Aug-2021 for Decision Maker for SCB LCM--%>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>





    <%-- '<Start || Added by Arshin S \ Prutha K on 3rd May 2018>--%>
    <table cellpadding="0" cellspacing="0" border="0" style="background-color: #9CB3CC; visibility: hidden; display: none; height: 0px;"
        class="FilterPad">
        <tr>
            <td>
                <table>
                    <tr>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor" id="tblStaticValues"
                                            runat="server">
                                            <tr>
                                                <td valign="bottom">
                                                    <asp:Label ID="lblCustBookLabel" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, CustomerBook%>"
                                                        Visible="false"></asp:Label>
                                                    <asp:Label ID="lblRepaymentDepoLabel" runat="server"
                                                        CssClass="lbl" Text="<%$ Resources:LocalizedText, Repayment%>" Visible="false"> </asp:Label>
                                                    <asp:Label ID="lblPrincipalIntDepoCcy" runat="server" CssClass="lbl" Text="(Base ccy)"
                                                        Visible="false"></asp:Label>
                                                    <asp:Label ID="lblRepaymentAltLabel" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, Repayment%>" Visible="false"></asp:Label>
                                                    <asp:Label
                                                        ID="lblPrincipalIntAltCcy" runat="server" CssClass="lbl" Text="(Alt ccy)"
                                                        Visible="false"></asp:Label>
                                                    <asp:Label ID="lblPrincipalIntDepo" runat="server" CssClass="lbl"
                                                        Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblPrincipalIntAlt" runat="server"
                                                        CssClass="lbl" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblBook"
                                                        runat="server" CssClass="lbl" Visible="false"></asp:Label>
                                                    <asp:Label
                                                        ID="lblOptionPremiumLabel" Text="<%$ Resources:LocalizedText, OptionPremiumFXO%>"
                                                        runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="height25 ">
                                                    <asp:LinkButton ID="btnComplianceUpdate" runat="server" BorderColor="Beige" Font-Bold="true"
                                                        Visible="false" Font-Size="9px" OnClientClick="OpenUpdateCompilance()"
                                                        Text="Compliance Update" />
                                                </td>
                                                <td class="height25" colspan="3"></td>
                                            </tr>

                                            <tr style="visibility: hidden; display: none">
                                                <td runat="server" id="tdSolveForLabel">
                                                    <asp:Label ID="lblSolveFor" Text="<%$ Resources:LocalizedText, SolveFor%>"
                                                        runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="trMainRM" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label5" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, MainRM%>"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3">
                                                    <asp:Label ID="lblMainRM" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="trDealingRM" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label6" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, DealingRM%>"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3"></td>
                                            </tr>
                                            <tr runat="server" id="trBook" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label7" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, Book%>"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3"></td>
                                            </tr>
                                            <tr runat="server" id="trCustGroup" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label8" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, CustomerGroup%>"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3">
                                                    <asp:Label ID="lblCustGroup" Font-Bold="True" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="trDebitInstr" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label9" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, DebitInstruction%>"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3">
                                                    <asp:Label ID="lblDebitInstruction" Font-Bold="True" runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="trCreditInstrDepo" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label10" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, CreditInstruction%>"></asp:Label>
                                                    <asp:Label ID="lblCreditInstructionDepoCcy"
                                                        runat="server" CssClass="lbl" Text="(Inv)"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3">
                                                    <asp:Label ID="txtCreditInstructionDepoCcy" Width="130px" runat="server" CssClass="lbl"
                                                        readonly="true"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="trCreditInstrAlt" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label11" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, CreditInstruction%>"></asp:Label>
                                                    <asp:Label ID="lblCreditInstructionAltCcy"
                                                        runat="server" CssClass="lbl" Text="(Alt)"></asp:Label>
                                                </td>
                                                <td class="height25" colspan="3">
                                                    <asp:Label ID="txtCreditInstructionAltCcy" Width="130px" runat="server" CssClass="lbl"
                                                        readonly="true"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr runat="server" id="trCreditInstrInt" style="visibility: hidden; display: none">
                                                <td class="height25 ">
                                                    <asp:Label ID="Label12" Font-Bold="True" runat="server" CssClass="lbl"
                                                        Text="<%$ Resources:LocalizedText, CreditInstruction%>"></asp:Label>
                                                    (Int)
                                                </td>
                                                <td class="height25" colspan="3">
                                                    <asp:Label ID="txtCreditInstructionInt" Width="130px" runat="server" CssClass="lbl"
                                                        readonly="true"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor">
                                            <tr>
                                                <td class="PricerBackColor widthForAmountsFirstTD">
                                                    <asp:Label ID="lblEntity" Text="<%$ Resources:LocalizedText, Entity%>" runat="server"
                                                        CssClass="lbl"></asp:Label>
                                                    <asp:Label ID="lblMarket" Text="<%$ Resources:LocalizedText, SlashMarket%>"
                                                        runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                                <td class="PricerBackColor">
                                                    <asp:DropDownList ID="ddlMarket" runat="server" CssClass="ddl" Enabled="False"
                                                        Width="50px">
                                                        <asp:ListItem Text="FX" Value="FX" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Text="EQ" Value="EQ"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                                <td style="width: 25px"></td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td>
                                                    <table cellpadding="0" border="0">
                                                        <tr>
                                                            <td></td>
                                                            <td>
                                                                <asp:DropDownList ID="ddlDepoYearBasis" Width="50px" runat="server" CssClass="ddl"
                                                                    Enabled="False">
                                                                    <asp:ListItem tblQuoteDisplayText="" Value="" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Text="360" Value="360"></asp:ListItem>
                                                                    <asp:ListItem Text="365" Value="365"></asp:ListItem>
                                                                    <asp:ListItem Text="366" Value="366"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td style="width: 25px"></td>
                                                <td></td>
                                                <td>
                                                    <asp:DropDownList ID="ddlAltYearBasis" Width="45px" runat="server" CssClass="ddl"
                                                        Enabled="False">
                                                        <asp:ListItem Text="" Value="" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Text="360" Value="360"></asp:ListItem>
                                                        <asp:ListItem Text="365" Value="365"></asp:ListItem>
                                                        <asp:ListItem Text="366" Value="366"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblOptionExpiryLabel" Text="<%$ Resources:LocalizedText, OptionExpiry%>"
                                                        runat="server" CssClass="lbl"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblNotionalBaseLabel" Text="<%$ Resources:LocalizedText, Notional%>"
                                                        runat="server" CssClass="lbl"></asp:Label>
                                                    <asp:Label ID="lblNotionalBaseCcy"
                                                        runat="server" CssClass="lbl" Text="(Base)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtNotionalBase" Font-Bold="True" Width="130px" runat="server" CssClass="txt Rightalign"
                                                        ReadOnly="true" MaxLength="15"></asp:TextBox>
                                                </td>
                                                <td style="width: 25px">
                                                    <asp:CheckBox ID="chkShowMargin" runat="server" ToolTip="Show/hide margin" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr id="trMargin" runat="server">
                                    <td>
                                        <asp:TextBox ID="txtMarginBasePonits" Width="130px" runat="server" CssClass="txt Rightalign"
                                            OnTextChanged="txtMarginBasePonits_TextChanged" MaxLength="12"
                                            Visible="false" AutoPostBack="true"></asp:TextBox>
                                    </td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr id="trRemarkValues" runat="server">
                                    <td>Remarks
                                    </td>
                                    <td colspan="4">
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <asp:Button ID="btnBestPrice" runat="server" Width="60px" Font-Size="11px"
                                            Text="Best" OnClick="btnBestPrice_Click" Visible="false" ToolTip="Best Price"
                                            CssClass="btn btnCalculate" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="lbl" style="height: 2px; font-size: 0px; border: none 0px none; line-height: 0px"></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor" id="tblTaxValues"
                                runat="server" width="100%">
                                <tr>
                                    <td class="">
                                        <asp:Label ID="lblTaxOnLabel" Text="<%$ Resources:LocalizedText, TaxOn%>" runat="server"
                                            CssClass="lbl"></asp:Label>
                                    </td>
                                    <td style="width: 130px">
                                        <asp:DropDownList ID="ddlTaxOn" Font-Size="11px" runat="server" CssClass="ddl"
                                            readonly="True" Width="130px">
                                        </asp:DropDownList>
                                    </td>
                                    <td style="width: 25px"></td>
                                    <td>
                                        <asp:Label ID="lblTaxRatesLabel" Text="<%$ Resources:LocalizedText, TaxRatesPer%>"
                                            runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:TextBox ID="txtTaxRates" Width="100px" runat="server" CssClass="txt Rightalign"
                                            MaxLength="6"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="height25 ">
                                        <asp:Label ID="lblTaxAmountLabel" Text="<%$ Resources:LocalizedText, TaxAmount%>"
                                            runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td colspan="4" class="height25">
                                        <asp:Label ID="lblTaxAmount" Font-Bold="True" runat="server" CssClass="lbl"
                                            Width="100px"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr class="PricerRowHeight">
                        <td id="trInterestAmtAltLabel" runat="server"></td>
                        <td id="trInterestAmtAltValue" runat="server" align="right" style="width: 100px"></td>
                    </tr>
                </table>
            </td>
            <td valign="top">
                <table cellspacing="0.5">
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor">
                                <tr runat="server" id="trExpiryDate">
                                    <td>
                                        <asp:TextBox ID="lblExpiryDays" runat="server" CssClass="txt Rightalign" ReadOnly="True"
                                            Width="30px" Enabled="False"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr runat="server" id="trMaturityDate">
                                    <td>
                                        <%--<asp:TextBox ID="lblDepositDays" Width="30px" ReadOnly="True" Enabled="False" Font-Bold="True"
                                                                    runat="server" CssClass="txt Rightalign" ></asp:TextBox>--%>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor" id="tblAmountValues"
                                runat="server" width="100%">
                                <tr runat="server" id="trVolatility">
                                    <td class="">
                                        <asp:Label ID="Label18" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, Volatility%>"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:TextBox ID="txtVolatility" Width="120px" runat="server" CssClass="txt Rightalign"
                                            ReadOnly="True" OnTextChanged="txtVolatility_TextChanged"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class=""></td>
                                    <td align="right"></td>
                                </tr>
                                <tr runat="server" id="trDeltaAmount">
                                    <td class="height25">
                                        <asp:Label ID="Label22" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, DeltaAmountPer%>"></asp:Label>
                                    </td>
                                    <td class="height25" align="right">
                                        <asp:Label ID="lblDeltaAmount" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr runat="server" id="trOrdIntAmount">
                                    <td class="height25 ">
                                        <asp:Label ID="Label23" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, OrdIntAmount%>"></asp:Label>
                                        <asp:Label ID="lblOrdIntAmountDepoCcy"
                                            runat="server" CssClass="lbl" Text="(Inv)"></asp:Label>
                                    </td>
                                    <td class="height25" align="right">
                                        <asp:Label ID="lblOrdIntAmount" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr runat="server" id="trPremiumReceivable">
                                    <td class="height25 ">
                                        <asp:Label ID="Label24" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, PremiumReceivable%>"></asp:Label>
                                    </td>
                                    <td class="height25" align="right">
                                        <asp:Label ID="lblPremiumReceivable" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                                <tr runat="server" id="trPremiumPayable">
                                    <td class="height25 ">
                                        <asp:Label ID="Label25" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, PremiumPayable%>"></asp:Label>
                                    </td>
                                    <td class="height25" align="right">
                                        <asp:Label ID="lblPremiumPayable" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor" id="tblInterestValues"
                                runat="server" width="100%">
                                <tr runat="server" id="trInterestRateDepo">
                                    <td class="">
                                        <asp:Label ID="Label26" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, InterestRates%>"></asp:Label>
                                        <asp:Label ID="lblInterestRatesDepoCcy"
                                            runat="server" CssClass="lbl" Text="(Inv)"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:Label ID="lblIR1_ISFromDB" runat="server" Width="5px"></asp:Label>
                                        <asp:TextBox
                                            ID="txtInterestRateDepoCcy" Width="120px" runat="server" CssClass="txt Rightalign"
                                            ReadOnly="True" OnTextChanged="txtInterestRateDepoCcy_TextChanged"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="trInterestRateAlt" runat="server">
                                    <td class="">
                                        <asp:Label ID="Label27" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, InterestRates%>"></asp:Label>
                                        <asp:Label ID="lblInterestRatesAltCcy"
                                            runat="server" CssClass="lbl" Text="(Alt)"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:Label ID="lblIR2_ISFromDB" runat="server" Width="5px"></asp:Label>
                                        <asp:TextBox
                                            ID="txtInterestRateAltCcy" Width="120px" runat="server" CssClass="txt Rightalign"
                                            OnTextChanged="txtInterestRateAltCcy_TextChanged" ReadOnly="True"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor" id="tblSpreadValues"
                                runat="server" width="100%">
                                <tr runat="server" id="trOptionSpread">
                                    <td class="widthForAmountsFirstTD">
                                        <asp:Label ID="Label28" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, OptionSpreadPer%>"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:TextBox ID="txtOptionSpread" runat="server" CssClass="txt Rightalign"
                                            BorderStyle="None"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" border="0" class="PricerBackColor" width="100%">
                                <tr runat="server" id="trNotionalAlt">
                                    <td class="height25 widthForAmountsFirstTD">
                                        <asp:Label ID="Label33" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, Notional%>"></asp:Label>
                                        <asp:Label ID="lblNotionalAltCcy"
                                            runat="server" CssClass="lbl" Text="(Alt)"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:Label ID="lblNotionalAlt" runat="server" CssClass="lbl" BorderStyle="None"
                                            Width="120px"></asp:Label>
                                    </td>
                                </tr>
                                <tr runat="server" id="trSwapPoins">
                                    <td class="widthForAmountsFirstTD">
                                        <asp:Label ID="Label34" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, SwapPoints%>"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:TextBox ID="txtSwapPoints" Width="120px" runat="server" AutoPostBack="True"
                                            OnTextChanged="txtSwapPoints_TextChanged" CssClass="txt Rightalign" ReadOnly="True"
                                            BorderStyle="None"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr runat="server" id="trForwardRate">
                                    <td class="widthForAmountsFirstTD">
                                        <asp:Label ID="Label35" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, ForwardRate%>"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:TextBox ID="txtForwardRate" Width="90px" runat="server" CssClass="txt Rightalign"
                                            ReadOnly="True" BorderStyle="None"></asp:TextBox>
                                        <asp:TextBox ID="lblFwdDays"
                                            runat="server" CssClass="txt Rightalign" ReadOnly="True" Width="30px"
                                            Enabled="False"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr runat="server" id="trBreakevenRate">
                                    <td class="widthForAmountsFirstTD">
                                        <asp:Label ID="Label36" Font-Bold="True" runat="server" CssClass="lbl"
                                            Text="<%$ Resources:LocalizedText, BEvenRate%>"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:TextBox ID="txtBreakEvenRate" Width="120px" runat="server" CssClass="txt Rightalign"
                                            ReadOnly="True" BorderStyle="None"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>


    <table cellpadding="0px" cellspacing="0px" style="width: 100%; display: none;">
        <tr>
            <td id="td4" runat="server" colspan="2" valign="top">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr id="trDelta" runat="server" class="PricerRowHeight">
                        <td class="height25" style="width: 100px; padding-left: 10px; line-height: 18px;">
                            <asp:Label ID="Label19" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Delta%>"></asp:Label>
                        </td>
                        <td style="line-height: 18px;">
                            <asp:TextBox ID="txtDelta" runat="server" BorderStyle="None" CssClass="lbl Rightalign"
                                Width="140px"></asp:TextBox>

                        </td>
                    </tr>
                    <tr class="PricerRowHeight">
                        <td class="height25" style="width: 100px; padding-left: 10px; line-height: 18px;">
                            <asp:Label ID="Label49" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Vega%>"></asp:Label>
                        </td>
                        <td style="line-height: 18px;">
                            <asp:TextBox ID="txtVegaPerc" runat="server" BorderStyle="None" CssClass="lbl Rightalign"
                                Width="140px"></asp:TextBox>

                        </td>
                    </tr>
                    <tr class="PricerRowHeight">
                        <td class="height25" style="width: 100px; padding-left: 10px; line-height: 18px;">
                            <asp:Label ID="Label52" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Gamma%>"></asp:Label>
                        </td>
                        <td style="line-height: 18px;">
                            <asp:TextBox ID="txtGammaPerc" runat="server" BorderStyle="None" CssClass="lbl Rightalign"
                                Width="140px"></asp:TextBox>

                        </td>
                    </tr>
                    <tr class="PricerRowHeight">
                        <td class="height25" style="width: 100px; padding-left: 10px; line-height: 18px;">
                            <asp:Label ID="Label47" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Theta%>"></asp:Label>
                        </td>
                        <td style="line-height: 18px;">
                            <asp:TextBox ID="txtThetaPerc" runat="server" BorderStyle="None" CssClass="lbl Rightalign"
                                Width="140px"></asp:TextBox>

                        </td>
                    </tr>
                    <tr class="PricerRowHeight">
                        <td class="height25" style="width: 100px; padding-left: 10px; line-height: 18px;">
                            <asp:Label ID="Label54" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, RHO%>"></asp:Label>
                        </td>
                        <td style="line-height: 18px;">
                            <asp:TextBox ID="txtRHOPerc" runat="server" BorderStyle="None" CssClass="lbl Rightalign"
                                Width="140px"></asp:TextBox>

                        </td>
                    </tr>
                </table>
            </td>
            <td colspan="2"></td>
        </tr>
    </table>



    <%-- '<End || Added by Arshin S \ Prutha K on 3rd May 2018>--%>

    <%-- '<Start || Added by Arshin S \ Prutha K on 17th May 2018>--%>
    <table id="tblAmounts" runat="server" border="0" cellpadding="0" cellspacing="0" class="Filter " visible="false">
        <tr>
            <td class="lbl columnWidth" style="width: 170px; padding-left: 10px">
                <asp:Label ID="lblIR1" runat="server" CssClass="lbl" Text="IR1 (%)"> </asp:Label>
            </td>
            <td class="columnWidthRight">
                <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" ReadOnly="true" Width="110px"></asp:TextBox>
                <asp:Label ID="lblDepoCcy" runat="server" CssClass="lbl" Text=""> </asp:Label>
                <asp:DropDownList ID="DropDownList1" runat="server" CssClass="ddl" Height="16px" Visible="false" Width="48px">
                    <asp:ListItem Selected="True" Text="" Value=""></asp:ListItem>
                    <asp:ListItem Text="360" Value="360"></asp:ListItem>
                    <asp:ListItem Text="365" Value="365"></asp:ListItem>
                    <asp:ListItem Text="366" Value="366"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="columnWidth">
                <asp:Label ID="lblIR2" runat="server" CssClass="lbl" Text="IR2 (%)"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" CssClass="txt" ReadOnly="true" Width="110px"></asp:TextBox>
                <asp:Label ID="lblAltCCY" runat="server" CssClass="lbl" Text=""> </asp:Label>
                <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" CssClass="ddl" Height="16px" Visible="false" Width="48px">
                    <asp:ListItem Selected="True" Text="" Value=""></asp:ListItem>
                    <asp:ListItem Text="360" Value="360"></asp:ListItem>
                    <asp:ListItem Text="365" Value="365"></asp:ListItem>
                    <asp:ListItem Text="366" Value="366"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblVolPer" runat="server" CssClass="lbl" Text="Vol (%)"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" CssClass="txt " ReadOnly="True" Width="110px"></asp:TextBox>
                <asp:Button ID="btnGetVols" runat="server" CssClass="btn" Text="Get Vol" Width="85px" />
            </td>
        </tr>
        <tr id="trPremium" runat="server">
            <td class="lbl columnWidth">
                <asp:Label ID="lblPremiumPercentage" runat="server" CssClass="lbl" Text="Premium (%)"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtOptionPremium" runat="server" CssClass="txt" Enabled="false" ReadOnly="true" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr id="trPremReceivable" runat="server">
            <td class="lbl columnWidth">
                <asp:Label ID="lblPremReceivable" runat="server" CssClass="lbl" Text="Prem Receivable" Visible="false"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server" CssClass="txt" ReadOnly="true" Visible="false" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr id="trPremPayable" runat="server">
            <td class="lbl columnWidth">
                <asp:Label ID="lblPremPayable" runat="server" CssClass="lbl" Text="Prem Payable" Visible="false"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPremiumPayable" runat="server" CssClass="txt" ReadOnly="true" Visible="false" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblDeltaPer" runat="server" CssClass="lbl" Text=" Delta (%)"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox5" runat="server" CssClass="txt Width110" Enabled="false"></asp:TextBox>
            </td>
        </tr>
        <tr id="trTXT_PPMinPremPercentage" runat="server">
            <td class="lbl columnWidth">
                <asp:Label ID="lblPPMinPremPer" runat="server" CssClass="lbl" Text="PP Min Prem %"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPPMinPremPercentage" runat="server" CssClass="txt" Font-Bold="True" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblDeltaAmountPer" runat="server" CssClass="lbl" Text="Delta Amount"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox6" runat="server" CssClass="txt" Enabled="false" ReadOnly="true" Width="110px"></asp:TextBox>
                <asp:Label ID="lblDepoCcy1" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblBoardRatePer" runat="server" CssClass="lbl" Text="Board Rate (%)"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtBoardRate" runat="server" CssClass="txt" ReadOnly="True" Width="110px"></asp:TextBox>
                <asp:Label ID="lblDepoCcy2" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblOrdinaryInt" runat="server" CssClass="lbl" Text="Ordinary Int"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtOrdIntAmount" runat="server" CssClass="txt" Enabled="false" ReadOnly="true" Width="110px"></asp:TextBox>
                <asp:Label ID="lblDepoCcy3" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr id="trTotalInt" runat="server">
            <td class="lbl columnWidth">
                <asp:Label ID="lblTotalInterest" runat="server" CssClass="lbl" Text="Total Int"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTotalInt" runat="server" CssClass="txt" Enabled="false" ReadOnly="true" Width="110px"></asp:TextBox>
                <asp:Label ID="lblDepoCcy4" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblOptDays" runat="server" CssClass="lbl" Text="Option Days"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox7" runat="server" CssClass="txt" Enabled="False" ReadOnly="True" Width="110px"></asp:TextBox>
                <asp:Label ID="lblDays" runat="server" Text="Days"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:TextBox ID="lblInternalCost" runat="server" CssClass="lbl" Text="Internal Cost"> </asp:TextBox>
            </td>
            <td>
                <asp:TextBox ID="txtInternalCost" runat="server" CssClass="txt" Enabled="false" ReadOnly="True" Width="110px"></asp:TextBox>
                <asp:Label ID="lblper" runat="server" Text="%"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblSpreadPer" runat="server" CssClass="lbl" Text="Spread B.P."> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="lblSpreadpa" runat="server" CssClass="txt" Enabled="false" ReadOnly="True" Width="110px"></asp:TextBox>
                <asp:TextBox ID="txtMMSpread" runat="server" CssClass="txt" ReadOnly="True" Visible="false" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblCustomerYield" runat="server" CssClass="lbl" Text=" Customer Yield"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtCustYield" runat="server" CssClass="txt" Enabled="false" ReadOnly="True" Width="110px"></asp:TextBox>
                <asp:Label ID="lblPer1" runat="server" Text="%"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:TextBox ID="lblBreakevenRate" runat="server" CssClass="lbl" Text="Breakeven Rate"> </asp:TextBox>
            </td>
            <td>
                <asp:TextBox ID="TextBox8" runat="server" CssClass="txt" Enabled="false" ReadOnly="True" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:TextBox ID="lblSwapPoints" runat="server" CssClass="lbl" Text="Swap Points"> </asp:TextBox>
            </td>
            <td>
                <asp:TextBox ID="TextBox9" runat="server" AutoPostBack="True" CssClass="txt" Enabled="false" ReadOnly="True" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblFWDRate" runat="server" CssClass="lbl" Text="FWD Rate"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox10" runat="server" CssClass="txt Width30" Enabled="False" ReadOnly="True" Visible="false"></asp:TextBox>
                <asp:TextBox ID="TextBox11" runat="server" CssClass="txt" Enabled="False" ReadOnly="True" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="Label2" runat="server" CssClass="lbl" Text="Option Type"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtOptionType" runat="server" CssClass="txt Width30" Enabled="False" ReadOnly="True" Visible="True" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="lbl columnWidth">
                <asp:Label ID="lblDiscP" runat="server" CssClass="lbl" Text="Disc P" Visible="false"> </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDiscp" runat="server" CssClass="txt" Enabled="False" ReadOnly="True" Visible="false" Width="110px"></asp:TextBox>
            </td>
        </tr>
        <tr visible="false">
            <td class="lbl">Option Based On </td>
            <td>
                <asp:DropDownList ID="ddlPremiumBasedOn" runat="server" CssClass="ddl">
                    <asp:ListItem Selected="True" Text="Principal + Interest" Value="Principal + Interest"></asp:ListItem>
                    <asp:ListItem Text="Principal" Value="Principal"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <%-- '<End || Added by Arshin S \ Prutha K on 17th May 2018>--%>

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

        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
            try {
                if ($(".outerdraggablePanel, .UCPanelError_Landscape").draggable != undefined) {
                    $(".outerdraggablePanel, .UCPanelError_Landscape").draggable();
                }
            }
            catch (er) { console.log(er.message);}
           
        });

        document.onkeyup = OnKeyUpEvent;

        function OnKeyUpEvent(e) {
            try{ 
           
           // alert(parseInt(e.keyCode));

            if (parseInt(e.keyCode) === 119) //f8 - solve for spread

            {

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

                e.Handled = true;

            }

            else if (parseInt(e.keyCode) === 121) //F10 - Save/Confirm trade

            {
                //alert('1');
                //alert(document.getElementById('<%=btnConfirm.ClientID%>'));
                if (document.getElementById('<%=btnConfirm.ClientID%>') != null) { document.getElementById('<%=btnConfirm.ClientID%>').click(); }
                e.Handled = true;

            }
            else if (parseInt(e.keyCode) === 120) //f9 - solve for prem

            {

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

                e.Handled = true;

            }

            else if (parseInt(e.keyCode) === 115) //f4 - close notification window

            {

                HideErrorPanel();
                HideOrderConfirmationPanle();
                HideDealConfirmationPanle()
                e.Handled = true;

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 84) {

                document.getElementById('<%=ddlTenor.ClientID%>').focus(); //tenor

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 78) {

                document.getElementById('<%=txtNotionalDepo.ClientID%>').focus(); //notional

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 83) {

                document.getElementById('<%=txtStrike.ClientID%>').focus(); //strike

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 85) {

                document.getElementById('<%=Smart_Search_CurrencyPairControl.ClientID%>').focus(); //currency pair

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 80) {

                document.getElementById('<%=txtCustPremiumAmt.ClientID%>').focus(); //customer prem

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 77) {

                document.getElementById('<%=txtMarginDepo.ClientID%>').focus(); //margin depo

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 79) {

                document.getElementById('<%=ddlOptionCut.ClientID%>').focus(); //option cut

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 66) {

                document.getElementById('<%=btnBuy.ClientID%>').focus(); //buy

            }

            else if ((window.event.altKey || parseInt(e.keyCode) === 18) && parseInt(e.keyCode) === 69) {

                document.getElementById('<%=ddlEntity.ClientID%>').focus(); //Entity

            }

            else if ((window.event.altKey || window.event.ctrlKey || parseInt(e.keyCode) === 16) && parseInt(e.keyCode) === 83) {

                document.getElementById('<%=btnSell.ClientID%>').focus(); //sell

            }

            } catch (er) { }

  }

        function ViewSchedule() {

            window.open("Schedule_Viewer.aspx?&Master_Popup=POPUP", "_blank", "", false);
        }

        function BookTrade(btn1, btn2, btn3, btn4, LPName, mainTBL) {
            var iLeftTime = $("#" + mainTBL).find(".lblTimerLPVal").html();
			
			$(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%>').value = LPName;
            document.getElementById('<%=hdnTimerLeft.ClientID%>').value = iLeftTime

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


        }

        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 == "PREMIUM") {

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

                document.getElementById('<%=btnSolveDealMargin.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() {

        if (document.getElementById('ctl00_MainContent_pnlError') != undefined) { 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";

    }
        //Added by shubham k on 16 - Aug - 2021 for Decision Maker for SCB LCM
        function HideDecisionMakerPanel() {
            document.getElementById('ctl00_MainContent_pnlDecisionMaker').style.visibility = "hidden";
        }

    function HideDateComparisonPanel() {

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

    function HideDealConfirmationPanle() {

        if (document.getElementById('ctl00_MainContent_pnlDealConfirmation') != undefined) {
            document.getElementById('ctl00_MainContent_pnlDealConfirmation').style.visibility = "hidden";
            document.getElementById('<%=btnhiddenClearQuote.ClientID%>').click();
            StopDealTimer();}
      

        }
       

    function ConfirmCheck() {

        StopDealTimer();

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

    }
	
	 function HideOrderConfirmationPanle() {

            if (document.getElementById('ctl00_MainContent_pnlOrderConfirmation') != undefined) {
                document.getElementById('ctl00_MainContent_pnlOrderConfirmation').style.visibility = "hidden";
                document.getElementById('<%=btnOrderCancel.ClientID%>').click();
                StopDealTimer();
            }
           

        }

        function ConfirmRouteToDealerOrder() {
            alert(document.getElementById('<%=btnOrderConfirm.ClientID%>'));
            document.getElementById('ctl00_MainContent_pnlOrderConfirmation').style.visibility = "hidden";
            document.getElementById('<%=btnOrderConfirm.ClientID%>').click();
             StopDealTimer();

         }

    var intervalTrade, intervalTrade1;
    $(document).ready(function () { });
        var timer, minutes, seconds;
        function startDIOrderTimer(duration, display) {
            //        
            try {


                timer = duration;
                intervalTrade1 = undefined;
                intervalTrade = setInterval(function () {
                    //Assumtions we are always reciving time in secs.
                    //seconds = parseInt(timer % 60, 10);
                    //seconds = seconds < 10 ? "0" + seconds : seconds;
                    seconds = timer


                    document.getElementById(display).innerHTML = seconds
                    document.getElementById('<%=hdnDIOrderTimerLeft.ClientID%>').value = seconds

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

                    if (document.getElementById('ctl00_MainContent_btnTradeForQENMode') != undefined) {

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

                    if (document.getElementById('<%=hdnRouteToDealer.ClientID%>').value == "R") {
                        if (document.getElementById('<%=btnOrderCancel.ClientID%>') == undefined) {
                            if (document.getElementById('<%=hdnmode.ClientID%>').value == 'SEN' && document.getElementById('<%=hdnSolveClick.ClientID%>').value != "YES"  ) {
                                document.getElementById('<%=hdnDIRFQSelectedAt.ClientID%>').value = "";
                                document.getElementById('<%=btnReset.ClientID%>').click();
                                
                            }
                            document.getElementById('<%=hdnDIOrderTimerLeft.ClientID%>').value = "";

                        }
                        else {
                            document.getElementById('<%=btnOrderCancel.ClientID%>').click();
                        }

                        //StopDealTimer();
                    }
                    else {
                        if (document.getElementById('<%=btnOrderCancel.ClientID%>') != undefined) {
                            document.getElementById('<%=btnOrderCancel.ClientID%>').click();
                        }
                    }

                }
                intervalTrade1 = intervalTrade;
            }, 1000);
             } catch (er) { console.log(er.message); }
         }




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


            if (document.getElementById('ctl00_MainContent_btnTradeForQENMode') != undefined) {

                document.getElementById('ctl00_MainContent_btnTradeForQENMode').setAttribute("class", "btnCalculate");
            }
          
            timer = duration;
            intervalTrade1 = undefined;
            intervalTrade = setInterval(function () {
                //Assumtions we are always reciving time in secs.
                //seconds = parseInt(timer % 60, 10);
                //seconds = seconds < 10 ? "0" + seconds : seconds;
                seconds = timer


                document.getElementById(display).innerHTML = seconds
                document.getElementById('<%=hdnTimerLeft.ClientID%>').value = seconds

                if (document.getElementById('ctl00_MainContent_btnTradeForQENMode') != undefined) {

                    $(document.getElementById('ctl00_MainContent_btnTradeForQENMode')).prop('disabled', false);
                }
              //  alert(document.getElementById(display).innerHTML);
                if (--timer < 0) {
                    timer = duration;
                    if (intervalTrade != undefined) {
                        clearInterval(intervalTrade);
                    }
                    document.getElementById(display).innerHTML = ""
                    
                    if (document.getElementById('ctl00_MainContent_btnTradeForQENMode') != undefined) {

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

                   
                    if (document.getElementById('ctl00_MainContent_btnRouteToOrder') != undefined) {

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

                    if (document.getElementById('ctl00_MainContent_btnEmailDetails') != undefined) {

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

                    
                }
                intervalTrade1 = intervalTrade;
            }, 1000);
        } catch (er) { console.log(er.message); }
    }

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

            document.getElementById('ctl00_MainContent_btnConfirmNormal').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_btnConfirmNormal')).prop('disabled', false);

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

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

        function solveclick() {
            document.getElementById('<%=hdnSolveClick.ClientID%>').value = "YES";
        }

    function StopTimer() {
        //
        try {
          
            if (document.getElementById('<%=hdnmode.ClientID%>').value == 'SEN' && document.getElementById('<%=hdnSolveClick.ClientID%>').value != "YES" && document.getElementById('<%=hdnRouteToDealer.ClientID%>').value != "R" ) {
                document.getElementById('<%=hdnDIRFQSelectedAt.ClientID%>').value = "";
            }
           
            document.getElementById('<%=hdnDIOrderTimerLeft.ClientID%>').value = "";
            if (intervalTrade1 != undefined && seconds != undefined) {
                clearInterval(intervalTrade1);
               
            }
            if (document.getElementById('ctl00_MainContent_lblTimerValue') != undefined) {
                document.getElementById('ctl00_MainContent_lblTimerValue').innerText = "";
            }
            if (document.getElementById('ctl00_MainContent_lblDealConfirmTimer') != undefined) {
                document.getElementById('ctl00_MainContent_lblDealConfirmTimer').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);

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

    function StopDealTimer() {

        //

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

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



    function CheckEvent() {

        

        if (document.getElementById('ctl00_MainContent_chkOverride').checked) {

            $(document.getElementById('ctl00_MainContent_btnApply')).prop('disabled', false);
            document.getElementById('ctl00_MainContent_btnApply').setAttribute("class", "btn");
            document.getElementById('ctl00_MainContent_lblRiskRatingVal').innerHTML = "Pass"
            document.getElementById('ctl00_MainContent_lblRiskRatingVal').value = "Pass"
            document.getElementById('ctl00_MainContent_lblRiskRatingVal').setAttribute("style", "color:#5d935d;");


            document.getElementById('ctl00_MainContent_imgCheck').setAttribute("style", "display:block;");
            document.getElementById('ctl00_MainContent_chkOverride').setAttribute("style", "display:none;");


        }
        else {

            $(document.getElementById('ctl00_MainContent_btnApply')).prop('disabled', true);
            document.getElementById('ctl00_MainContent_btnApply').setAttribute("class", "btndisabled");
            document.getElementById('ctl00_MainContent_lblRiskRatingVal').innerHTML = "Fail"
            document.getElementById('ctl00_MainContent_lblRiskRatingVal').value = "Fail"
            document.getElementById('ctl00_MainContent_lblRiskRatingVal').setAttribute("style", "color:#ff4e4e;");
        }


    }




    //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);

                      }
                  }
         )


    //<Start || Changed By Nikita S |Route to Dealer Notification purpose(calling from Master page) || on 20-Dec-2018>

    function RequestForNotification(NoteMatserID, QueueName, RFQID, strMode) {

        

        //alert("Inside Initialize timer function..")
        var preM;
        preM = 'ctl00_MainContent_';
        secs = 0;
        count = 0;

        var WebSocketIP = 'finiq636'
        if (1 == 1) {

            var prem;

            NMID = NoteMatserID;
            // alert(RfqId);
                if (NMID == "") { }
                else {

                var wsprotocol;
                if (location.protocol == "http:")
                    wsprotocol = "ws:"
                else if (location.protocol == "https:")
                    wsprotocol = "wss:"
                else
                    wsprotocol = "ws:"

                ws = new WebSocket("" + wsprotocol + "//" + WebSocketIP + "/FinIQService/WorkflowCallback.svc");

                ws.onopen = function () {
                    //alert('Connection established', 'success');
                    if (ws.readyState == WebSocket.OPEN) {
                        ws.send('ONSCREENNOTIFICATION|' + strMode + '|' + QueueName + '|' + RFQID);

                    }
                    else {
                        //alert('Connection is closed', 'success');
                    }
                };
                ws.onmessage = function (evt) {
                    //alert("Response start....")

                };
                ws.onerror = function (evt) {
                    //alert('Error with code : ' + evt.code + '', 'error');
                };
                ws.onclose = function (evt) {


                };

            }
        }
    }


    //   <End || Changed By Nikita S |Route to Dealer Notification purpose(calling from Master page) || on 20-Dec-2018>

    //<Start || Changed By Nikita S | For Harded coded Price control to Dynamic Control|| on 17-Jan-2019>

    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");

                    $("#" + 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;

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


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

    // <End || Changed By Nikita S | For Harded coded Price control to Dynamic Control|| on 17-Jan-2019>


        //AmolM. 04-Oct-2019 to show Pre deal collateral pop-up
    //function CollateralPopupControl(GroupID, CustomerID, NoteMasterID) {
    //    try {
    //        var left = (screen.width / 2) - (1030 / 2);
    //        var topp = (screen.height / 2) - (900 / 2);
    //        var iframe = $('<iframe src="../UCP/UCP_Collateral/CollateralPopupControl/CollateralPopupControl.aspx?GroupID=' + GroupID + '&CustomerID=' + CustomerID + '&NoteMasterID=' + NoteMasterID + '", width="1030px",top="50px",left="10px", status="no",resizable="yes",toolbar="no",scrollbars="no", scrolling="no",menubar="no", frameborder="0", marginwidth="0", marginheight="0"></iframe>');
    //        var dialog = $("<div><br /><br />&nbsp;&nbsp; &nbsp<p2> Credit and collateral calculation in progress...<p2> <br /> <br /></div>").append(iframe).appendTo("body").dialog({
    //            height: this.scrollHeight, //'auto'
    //            width: 1030,
    //            modal: true,
    //            resizable: true,
    //            draggable: true,
    //            autoOpen: true,
    //            bgiframe: true,
    //            close: function (event, ui) { $('html').find('#collDialog').html(); },
    //            open: function (event, ui) {
    //                $('html').find('#collDialog').html('');
    //                $('iframe').load(function () {
    //                    
    //                    this.style.height = 335; // this.contentWindow.document.body.offsetHeight + 'px';
    //                });
    //            },
    //            buttons:
    //            {
    //                'OK': function () {
    //                    $(this).dialog('close');
    //                    dialogConfirmed = true;
    //                    if (obj) obj.click();
    //                    dialogConfirmed = false;
    //                },
    //            }
    //        });
    //    }
    //    catch (error) {
    //        console.log("Error: " + error);
    //    }
        //}

    function CollateralPopupControl(GroupID, CustomerID, NoteMasterID) {
        try {
            var left = (screen.width / 2) - (1030 / 2);
            var topp = (screen.height / 2) - (900 / 2);
            var iframe = $('<iframe src="../UCP/UCP_Collateral/CollateralPopupControl/CollateralPopupControl.aspx?GroupID=' + GroupID + '&CustomerID=' + CustomerID + '&NoteMasterID=' + NoteMasterID + '", width="600px",top="120px !importtant",left="650px !important", status="no",resizable="yes",toolbar="no",scrollbars="no", scrolling="no",menubar="no", frameborder="0", marginwidth="0", marginheight="0"></iframe>');
            var dialog = $("<div class=model style='margin-left:1px'> <br /><br />&nbsp;&nbsp; &nbsp<p2> Credit and collateral calculation in progress...<p2> <br /> <br /></div>").append(iframe).appendTo("body").dialog({
                height: this.scrollHeight, //'auto'
                width: 600,
                modal: true,
                resizable: true,
                draggable: true,
                //autoOpen: true,
                //title: "Details",

                bgiframe: true,
                close: function (event, ui) { $('html').find('#collDialog').html(); },
                open: function (event, ui) {
                    $('html').find('#collDialog').html('');
                    $('iframe').load(function () {
                       
                        this.style.height = 475; // this.contentWindow.document.body.offsetHeight + 'px';
                        this.style.width = 595;   //AmolM. 28-Jan-2020 
                    });

                    $('[class="ui-dialog ui-corner-all ui-widget ui-widget-content ui-front ui-dialog-buttons ui-draggable ui-resizable"]').css({ 'top': '120px', 'left': '670px', 'box-shadow': '4px 4px 10px #666666;' })
                    // $('[class="ui-dialog ui-corner-all ui-widget ui-widget-content ui-front ui-dialog-buttons ui-draggable ui-resizable"]').css()
                    $('[class="ui-dialog-buttonset"]').css('float', 'left')
                    $('[class="ui-dialog-buttonset"]').css('margin-left', '19px')
                    //$('[class="ui-dialog-buttonpane"]').css('text-align', 'center')
                },
                buttons:
                {
                    'OK': function () {
                        $(this).dialog('close');
                        dialogConfirmed = true;
                        if (obj) obj.click();
                        dialogConfirmed = false;
                    },
                }
            });
        }
        catch (error) {
            console.log("Error: " + error);
        }
    }
        //AmolM. 04-Oct-2019 to show Pre deal collateral pop-up
 function Embedded_PopUp_Open_WF(PageName, POPUPWidth, POPUPHeight) {
            try {
                //
                /* Added by Arati K to disable window scroll on 15 Jan 2020*/
                var scrollPosition = [
                    self.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft,
                    self.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
                ];
                //added by shreyasv for popup size default 05 may 2020
                var bondsPopup = GetSizesForBonds(PageName, POPUPWidth, POPUPHeight)
                POPUPHeight = bondsPopup.popupheight;
                POPUPWidth = bondsPopup.popupwidth;
                //added by shreyasv for popup size default 05 may 2020
                var html = jQuery('html');
                html.data('scroll-position', scrollPosition);
                html.data('previous-overflow', html.css('overflow'));
                //   html.css('overflow', 'hidden');
                //  window.scrollTo(scrollPosition[0], scrollPosition[1]);
                /* Added by Arati K to disable window scroll on 15 Jan 2020 -- End*/
                $('body').find("#ModalBoxInside112").remove();
                $('body').append('<div id="ModalBoxInside112" style="top:0px; left:0px; "width:"+POPUPWidth+"px !important;Height:"+POPUPHeight+"px "+"!important"><iframe id="ifrm11" class="holds-the-iframe" frameborder="0" style="width:100%; height:100%;" Src=' + PageName + '&Master_Popup=POPUP></iframe></div>')
                $('body').find("#ModalBoxInside112").dialog({
                    display: 'block',
                    modal: true,
                    draggable: true,
                    autoOpen: true,
                    closeOnEscape: true,
                    resizable: true,    //added by shreyasv for popup size default 05 may 2020
                    width: POPUPWidth,
                    height: POPUPHeight
                    , drag: function (event, ui) { }
                    , drop: function (event, ui) { }
                    , dragStart: function (event, ui) {
                    }
                    , dragStop: function (event, ui) {
                        if ($('.ui-dialog')[0].offsetTop < 0 || $('.ui-dialog')[0].offsetTop >= $('body')[0].clientHeight) {
                            $('.ui-dialog').css('top', '5px');
                        }
                        if ($('.ui-dialog')[0].offsetleft < 0 || $('.ui-dialog')[0].offsetleft >= $('body')[0].clientWidth) {
                            $('.ui-dialog').css('left', '5px');
                        }
                    }
                    , open: function (event, ui) {
                        chkdigopen = 1;
                        $(".ui-widget-overlay").css({
                            background: "rgb(50, 50, 50) !important",
                            opacity: ".50 !important",
                            filter: "Alpha(Opacity=50) !important",
                        });
                        // || start ||added by sushmita.h on 27 feb 2020 for close button icon positioning || asked by Udit sir
                        $(".ui-button-icon-only .ui-icon").css({
                            top: "30%",
                            left: "80%"
                        });
                        // || end ||added by sushmita.h on 27 feb 2020 for close button icon positioning || asked by Udit sir
                        wleft = Number(Math.abs($(window)[0].innerWidth - ($('.ui-dialog').width())) / 6.5).toFixed(0);
                        if (($(window)[0].innerHeight - 50) >= $('.ui-dialog').height()) {
                            wtop = Number(Math.abs($(window)[0].innerHeight - $('.ui-dialog').height()) / 2).toFixed(0) - 45;
                        } else {
                            wtop = Number($(window)[0].innerHeight / 4).toFixed(0);
                        }
                        // $('.ui-dialog').css({ "position": "fixed", "left": wleft + 'px', "top": Math.abs(wtop) + 'px', "max-width": "max-content", "max-height": "max-content" });
                        $('.ui-dialog').css({ "position": "fixed", "left": "95px", "top": "50px", "max-height": "max-content" });//"max-width": "max-content"
                        $('.ui-dialog.ui-dialog-content').css({ "left": "0px", "top": "20px" });
                        $(document).keyup(function (e) {
                            if (e.keyCode == 27) {
                                
                                $('body').find("#ModalBoxInside112").dialog("close");
                                e.preventDefault();
                            }
                        });
                        chkInterval = setInterval(function () {
                            if ($(document).find('iframe')[0].contentDocument.body.text == "" && (POPUPWidth == 0 && POPUPHeight == 0)) {
                                $('body').find("#ModalBoxInside112").dialog("close");
                                clearInterval(chkInterval);
                            } else {
                                clearInterval(chkInterval);
                            }
                        }, 100);
                    }
                    , beforeClose: function (event, ui) {
                        clearInterval(chkInterval);
                        chkdigopen = 0;
                        /* Added by Arati K to show window scroll on 15 Jan 2020 */
                        var html = jQuery('html');
                        var scrollPosition = html.data('scroll-position');
                        html.css('overflow', html.data('previous-overflow'));
                        window.scrollTo(scrollPosition[0], scrollPosition[1]);
                        $("body").css({ 'overflow': html.data('previous-overflow') });
                    }
                    , close: function (event, ui) {
                        //
                        //  $('body input[id="ctl00_hdnIsIframePopUpOpen"]').click();
                        if ($('[id$="UpdateProgress1"]').css('display') == 'none') {
                            //$('[id$="btnProductSearch"]').click(); //This is implemented to load workflow blotter on popup close
                            //Added by Mitali on 30-Apr-2020||for load click on popup close||fi pages, webcket based refresh changes
                            //
                            //if (window.parent.location.pathname == "/FinIQWebApp/Workflow/Trade_Workflow_Blotter.aspx") {
                            //    SubScribBonds_WF(document.getElementById("ctl00_MainContent_workflowControl_hdn_WebsocketIP").value, document.getElementById("ctl00_hdnUserNameForNotification").value);
                            //}

                        }
                    }
                });
            } catch (error) {console.log(error.message); }
        }
		//Added by Rajashree || 22-09-2020 || start
        var personlSettingPanelVisibility = true;
        function OpenPersonalSetting() {
            try {
                $('#ctl00_MainContent_workflowControl_pnlSetting').show();
                personlSettingPanelVisibility = false;
            }
            catch (err) {
                console.log('Error in OpenPersonalSetting panel');
            }
        }
        function ClosePersonalSetting() {
            try {
                $('#ctl00_MainContent_workflowControl_pnlSetting').hide();
                personlSettingPanelVisibility = true;
            }
            catch (err) {
                console.log('Error in ClosePersonalSetting panel');
            }
        }
        var workflowFiltersVisible = true;
        function showHideWorkflowFilters() {
           // 
            try {
                if (workflowFiltersVisible) {
                    $('#ctl00_MainContent_workflowControl_pnlWorkflowFilters').show();
                    workflowFiltersVisible = false;
                }
                else {
                    $('#ctl00_MainContent_workflowControl_pnlWorkflowFilters').hide();
                    workflowFiltersVisible = true;
                }
            }
            catch (err) {
                console.log('Error in showHideWorkflowFilters panel');
            }
        }
        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm.add_endRequest(function (s, e) {
            
            if (workflowFiltersVisible) {
                $('#ctl00_MainContent_workflowControl_pnlWorkflowFilters').hide();
                $('#btnTriangleFilter').removeClass("btnTriangleFilterUp");
                $('#btnTriangleFilter').addClass("btnTriangleFilterDown");
                //return void (0);
            }
            else if (!workflowFiltersVisible) {
                $('#ctl00_MainContent_workflowControl_pnlWorkflowFilters').show();
                $('#btnTriangleFilter').removeClass("btnTriangleFilterDown");
                $('#btnTriangleFilter').addClass("btnTriangleFilterUp");
                if (personlSettingPanelVisibility) {
                    $('#ctl00_MainContent_workflowControl_pnlSetting').hide();
                }
                else if (!personlSettingPanelVisibility) {
                    $('#ctl00_MainContent_workflowControl_pnlSetting').show();
                }
            }
            if (quickFiltersVisible) {
                $('#ctl00_MainContent_workflowControl_pnlQuickFilters').hide();// return void (0);
            }
            else {
                $('#ctl00_MainContent_workflowControl_pnlQuickFilters').show();// return void (0);
            }
			  try {
                if (document.getElementById('ctl00_MainContent_pnlError')){
                    $('#ctl00_MainContent_pnlError').find('.overlay').show();
                }
                else if (document.getElementById('ctl00_MainContent_pnlDealSave')) {
                    $('#ctl00_MainContent_pnlDealSave').find('.overlay').show();
                } else {
                    $('.overlay').hide();
                }
            } catch (er) {
                $('.overlay').hide();
            }
            return void (0);
        });

        function ApplyFliter(SearchString) {

            document.getElementById("ctl00_MainContent_workflowControl_HdnSearchString").value = SearchString;
            document.getElementById("ctl00_MainContent_workflowControl_btnProductSearch").click();
            $('body').find("#ModalBoxInside112").dialog("close"); //Shubham Podhade change for Embeded pop up 20 Jan 2020
        };

        $(document).mouseup(function (e) {
           // 

            if ($(e.target)[0].id === 'btnTriangleFilter' || $(e.target)[0].id === 'ctl00_MainContent_workflowControl_btnQuickFilters' || $(e.target)[0].id === 'ctl00_MainContent_workflowControl_btnApplyQuickFilters') {
                ;
            }
            else if ($(e.target).closest(".pnlWorkflowFiltersDiv").length === 0) {
                if ($(e.target).closest(".pnlSetting").length === 0 && $(e.target).closest(".ui-dialog").length === 0 && $(e.target).closest(".PopupAdvSearch").length === 0 && $(e.target).closest(".PopupWSS").length === 0) {
                    $('#ctl00_MainContent_workflowControl_pnlWorkflowFilters').hide();
                    workflowFiltersVisible = true;
                    $('#btnTriangleFilter').removeClass("btnTriangleFilterUp");
                    $('#btnTriangleFilter').addClass("btnTriangleFilterDown");
                }
            }
        });

        var quickFiltersVisible = true;
        function showHideQuickFilters() {
           // 
            try {

                if (quickFiltersVisible) {
                    $('#ctl00_MainContent_workflowControl_pnlQuickFilters').show();
                    quickFiltersVisible = false;
                }
                else {
                    $('#ctl00_MainContent_workflowControl_pnlQuickFilters').hide();
                    quickFiltersVisible = true;
                }
            }
            catch (err) {
                console.log('Error in Quick filters show/hide');
            }
        };
        if (window.captureEvents) {

            window.captureEvents(Event.KeyUp);
            window.onkeyup = executeCode_QS; //Changed By Shubham Podhade on 24-Jan-2020
        }
        else if (window.attachEvent) {

            document.attachEvent('onkeyup', executeCode_QS); //Changed By Shubham Podhade on 24-Jan-2020

        }

        function executeCode_QS(evt) { //Changed By Shubham Podhade on 24-Jan-2020
            try {

                if (evt == null) {
                    evt = window.event;
                }
                var theKey = parseInt(evt.keyCode, 10);
                switch (theKey) {
                    case 116:  // F5

                        document.getElementById('ctl00_ContentPlaceHolder1_btnHome').click();
                        break;
                    <%--case 13:  // Enter
                        if (evt.srcElement.id == "ctl00_MainContent_txtworkflow") {
                            document.getElementById("<%=btnLoad.ClientID%>").click();
                    }--%>
                        //Changed By Shubham Podhade on 24-Jan-2020
                        if (evt.srcElement.id == "ctl00_MainContent_workflowControl_txtSearch") {
                            document.getElementById("ctl00_MainContent_workflowControl_btnProductSearch").click();
                        }
                        //Changed By Shubham Podhade on 24-Jan-2020
                        break;
                    case 27:
                        $('#ctl00_MainContent_workflowControl_pnlWorkflowFilters').hide();
                        workflowFiltersVisible = true;
                        break;
                }
                evt.returnValue = false;
                return false;
            }
            catch (error) {
                console.log("Error: " + error);
            }
        }

        var Qtoggle = true;
        function showHideQueueList() {
            try {
                var gridrows = $("#ctl00_MainContent_workflowControl_Queues  tbody tr");
                if (Qtoggle == true) {

                    for (var i = 0; i < gridrows.length; i++) {
                        gridrows[i].cells[1].style.display = "none";
                    }
                    // $("#ctl00_MainContent_workflowControl_Queues").style.width = "0px !important";

                    $("#ctl00_MainContent_workflowControl_Queues").css('width', '0px');
                    Qtoggle = false;
                    return;
                }
                if (Qtoggle == false) {
                    for (var i = 0; i < gridrows.length; i++) {
                        gridrows[i].cells[1].style.display = "block";
                    }

                    $("#ctl00_MainContent_workflowControl_Queues").css('width', '308px');
                    //$("#ctl00_MainContent_workflowControl_Queues").style.width = "308px !important";
                    Qtoggle = true;
                    return;
                }
            }
            catch (err) {
                console.log('Error in showHideQueueList function');
            }
        }

				//Added by Rajashree || 22-09-2020 || End

        $(document).ready(function () {
            $('.overlay').hide();
            $(document).keydown(function (e) {
                if ($(document.activeElement).attr("id") == "btnPanelClose") {
                    if (e.which === 13) {

                        if ($("#ctl00_MainContent_lblErrorMessage").text() == "No details found for selected customer") {
                            $("#ctl00_MainContent_FindCustSmart_automplete_1").focus();
                        }
                        $("#btnPanelClose").click();
                    }
                }
            });
        });

        function showQuoteRequest() {
            var LPCount = $("#ctl00_MainContent_dlLPControl").find("[id$='mainTable']").length;
            var selectedLP = $("[id$='ddlPriceProvider'] :selected").text();
            var pricingMode = $("[id$='btnAutoManual']").val();
            var text = "";
            if (pricingMode == null) {
                LPCount = $("[id$='hdnPriceProviderCount']").val();
                text = "Request sent to " + LPCount + " LP(s)";
            }
            else if (pricingMode.toUpperCase() == "AUTO") {
                //if (selectedLP.toUpperCase() == "BEST PRICE") {
                //    text = "Request sent to " + LPCount + " LP(s)";
                //} else {
                //    text = "Request sent to " + selectedLP;
                //}
                if (LPCount > 1) {
                    text = "Request sent to " + LPCount + " LP(s)";
                } else {
                    text = "Request sent to " + selectedLP;
                }
            } else {
                text = "Request Sent To " + selectedLP;
            }
            $("[id$=lblProgress]").text(text);
	        $("[id$=lblProgress]").css("background", "white");
        }

        function SetButtonId(CntlID) {
            var hidControlID =
                document.getElementById("<%=hdnControlID.ClientID%>");
            hidControlID.value = CntlID;
           
        }
         //Start Added by shubham k on 17-Aug-2021 for Decision Maker
        function PartyNameRadioCheck(rb) {
            try {
                //debugger;
                var gv = document.getElementById("<%=grdDecisionMaker.ClientID%>");
                var rbs = gv.getElementsByTagName("input");
                var flagNameBlank = false;
                for (var i = 0; i < rbs.length; i++) {
                    if (rbs[i].type == "radio") {
                        if (rbs[i].checked && rbs[i] != rb) {
                            rbs[i].checked = false;
                        }
                    }
                    if (rbs[i].parentElement.parentElement.getElementsByTagName("td")[1].innerText == "") {
                        flagNameBlank = true;
                    }
                }
                if (flagNameBlank) {
                    //document.getElementById("<%=btnProceedDecisionMaker.ClientID%>").setAttribute("disabled", "disabled");
                    document.getElementById("<%=btnProceedDecisionMaker.ClientID%>").removeAttribute("disabled");
                }
                else {
                    document.getElementById("<%=btnProceedDecisionMaker.ClientID%>").removeAttribute("disabled");
                }
            }
            catch (error) {
                console.log(error.message);
            }
        }
        //End Added by shubham k on 17-Aug-2021 for Decision Maker
        function ShowDecisionMakerLoader() {
            $($(".Progress span span")[0]).text("");
            $("#lblProgress").text("Retrieving Party ID details from CUPID");
        }
    </script>
</asp:Content>
