  // レース情報
  function func_ordercount(path) {
    var post_data;
		
//    alert(post_data);
    sendRequest(
        onloaded_ordercount,       //コールバック関数
        post_data, 'POST',   //データ と HTTPメソッド
        path+'quicksupply/quicksupply.php',     //URL
        true,true           //非同期 強制ロード
    )
    
  }
  
  //コールバック関数 ( 受信時に実行されます )
  function onloaded_ordercount(oj) {
    //レスポンスを取得
    var res  =  decodeURIComponent(oj.responseText)
    //alert(res);
    
    
    //レスポンスされた文字列をDIVへ出力
    var ary_order = res.split('\t');
    //alert(ary_waku.length);
    
		// 残数
    document.getElementById('orderlimit').innerHTML = ary_order[0];
		// 時刻
    var now = new Date();
//    now.setDate(now.getTime() + (3600 * 1000));
    document.getElementById('now').innerHTML = DateFormatter.format(now, "Y/m/d H:i:s");
    // ステータス
		if (ary_order[0] == 0)
  	  document.getElementById('status').innerHTML = '本日の「本日出荷便」の受付は終了しました。<br />翌営業日の10:00 より受付を再開します。'
  }


	function func_orderlimit(obj) {
	  /* ラジオボタンの値に、テキストの値を代入 */
		if (isNaN(obj.value)) {
		  alert('数字以外の文字が入力されています。');
			obj.focus();
			return;
    }
		
		document.getElementById('orderlimit1').value = obj.value;
		
	}
