<!--#include file="../../conn.asp"-->
<!--#include file="../../config.asp"-->

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



<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
 
    <td  valign="top" align="center" >
	
                  
      <table width="78%" align="center" border="0" cellpadding="0" cellspacing="0" background="images/pay_bg3.gif" >
        
        
            <tr>
              <td valign="top" style="PADDING-LEFT:80px;PADDING-top:30px ">
                <form method="post" action="pay_check.asp" name="myform" ID="myform">
                <table width="100%" height=350 align="center" border="0" cellspacing="0" cellpadding="1" >
                  <tr>
                    <td height=30 colspan="2" class="px11_hui1">补付款通道（在线支付）</td>
                    </tr>
                     <tr>
                    <td height=40 colspan="2" ></td>
                    </tr>
                  <tr>
                    <td width="23%" height=50 class="px11_lv1">原订单号：</td>
                    <td width="77%"><input name="order_no" type="text" class="text" size="25"  value=""/>
                      <br />
                      <span class="px11_hong2">*</span> <span class="px11_hui1">需补交12位定单号</span></td>
                  </tr>
                  <tr>
                    <td  height=50 class="px11_lv1">补交金额：</td>
                    <td><input name="money_num" type="text" class="text" size="15" onKeyPress	= "return regInput(this,	/^\d*\.?\d{0,2}$/,		String.fromCharCode(event.keyCode))" 
onpaste		= "return regInput(this,	/^\d*\.?\d{0,2}$/,		window.clipboardData.getData('Text'))"
ondrop		= "return regInput(this,	/^\d*\.?\d{0,2}$/,		event.dataTransfer.getData('Text'))">
                      元<br />
                      <span class="px11_hong2">*</span><span class="px11_hui1"> 输入人民币金额整数即可(如：120)</span></td>
                  </tr>
                  <tr>
                    <td height=50 class="px11_lv1">请选择卡种：</td>
                    <td><select name="vcurrency">
                      <option value="01" selected>人民币卡</option>
																					<option value="02" >国际卡</option> </select>
                    </select>
                      <br />
                      <span class="px11_hong2">* </span><span class="px11_hui1">支持国内卡和国际卡</span></td>
                  </tr>
                  <tr>
                    <td height=30>&nbsp;</td>
                    <td><input type=image src="images/queding.jpg" width="42" height="23" onClick="return check();">　</td>
                  </tr>
                   <tr>
                    <td colspan="2" ></td>
                    </tr>
                </table>
                </form>
              
              </td>
            </tr>
          </table>
 
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
   if(checkspace(document.myform.order_no.value)) {
	document.myform.order_no.focus();
    alert("请输入原订单号！");
	return false;
  }
     if(checkspace(document.myform.money_num.value)) {
	document.myform.money_num.focus();
    alert("请输入补交金额！");
	return false;
  }
  
 }
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>
<script>
	function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
</script>


