<%@ Page Language="C#" MasterPageFile="~/Flight/MasterPages/MasterPageOutSide.master" AutoEventWireup="true" CodeFile="step4.aspx.cs" Inherits="Domestic_step4new"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link href="../css/b2c_tep.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" language="javascript" src="../css/pop.js"></script>
<script type="text/javascript" language="javascript" src="../css/func.js"></script>
<style type="text/css">
#message {
	width:200px;
	height:auto;
	border:#f7cf71 1px solid;
	position:absolute;
	display:none;
	margin:0;
	padding:5px;
	background:#fffed5;
	color:#333333
}
#message span {
	float:right;
	margin:0;
	padding:0
}
    .style7
    {
        height: 19px;
    }
</style>

  <script type="text/javascript">
      //code to validate check box checked, written by Lavi

      function validate() {
          if (document.getElementById('ctl00_ContentPlaceHolder1_ChackBox1').checked == false) {
              alert('Please accept Terms and Conditions.');
              return false;
          }
          return true;
      }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="templatemo_content_wrapper" style="overflow:hidden;" class="shdow_round">
  <div id="leftDetail">
    <div id="steps" style="margin:0">
      <h5>1</h5>
      <span>Review Your Selection</span></div> 
    <div id="steps">
      <h5>2</h5>
      <span>Give traveller names</span></div>
    <div id="steps" class="current">
      <h5>3</h5>
      <span>Make payment</span></div>
    <div id="leftDetail_data">
      <h1>Make Payment</h1>     
      <div id="clear"></div>
      <div id="paymentright">
        <div id="pay1" style="display:block">        
          <div style="margin:0 auto; padding:0; width:520px; height:auto; border-bottom:1px dashed #000">         
<table width="100%"  cellspacing="0" cellpadding="0" align="left" frame="box">
            
            <tr bgcolor="#D1DBF3">
            <td colspan="3" align="center" style="height:25px;border-bottom:1px solid #ccc;"><strong>Fare Deduction Details</strong></td>
            </tr>
   
           <tr>
                <td><strong>&nbsp;Gross Ticket Amount</strong></td>
                <td width="20"><strong>:</strong></td>
                <td><asp:Label runat="server" ID="lbl_TotTicketAmt"></asp:Label></td>
              </tr>
              <tr>
                <td><strong>&nbsp;Agent’s Earning</strong></td>
                <td width="20"><strong>:</strong></td>
                <td><asp:Label runat="server" ID="lbl_Agentearning"></asp:Label></td>
              </tr>             
                  <tr>
                <td><strong>&nbsp;Net Amount to be Deducted</strong></td>
                <td width="20"><strong>:</strong></td>
                <td><asp:Label runat="server" ID="lbl_deductableamt"></asp:Label></td>
              </tr>                           
             <tr>
                <td style="border-bottom:1px solid #ccc;"><strong>&nbsp;Agent’s Current Amount</strong></td>
                <td style="border-bottom:1px solid #ccc;"><strong>:</strong></td>
                <td style="border-bottom:1px solid #ccc;"><asp:Label runat="server" ID="lbl_current_balance"></asp:Label></td>
              </tr>
          
              <tr>
                <td><strong>&nbsp;Balance After Deduction</strong></td>
                <td><strong>:</strong></td>
                <td><asp:Label runat="server" ID="lbl_rest_balance"></asp:Label></td>
              </tr> 
          
              <tr>
                <td colspan="3"></td>
                   </tr>
            </table>
  
           
           </div>
         
          <div style="margin:0 auto; padding:0;  width:520px" runat="server" id="divbank">
            <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
             
          <tr>
          <td colspan="2"><asp:CheckBox runat="server" ID="ChackBox1" />
                  I agree with all the <a href="" onclick="window.open('../User/terms_conditions.html','shuaib','width=1303,height=400')"> Terms &amp; Conditions</a> for Payment towards Ticket Booking.</td>               
              </tr> 
              <tr>
              <td colspan="2"><asp:Button runat="server" ID="btn_submit" class="button active" ValidationGroup="lavi"  
                                Text="Continue"  style="float:right;" OnClientClick="return validate();" 
                                onclick="btn_submit_Click" /></td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;
                <asp:Label runat="server" ID="lbl_bankrule"></asp:Label>
              </td>
              </tr>             
            </table>
          </div>        
        </div>        
      </div>      
      <div id="clear"></div>
      <asp:ValidationSummary runat="server" ID="vali1" ValidationGroup="lavi" ShowMessageBox="true" ShowSummary="false" />
    </div>
  </div>
</div>
<div class="clear"></div>
</asp:Content>

