<!--
    var to_from_name;
    var id_kbn;

    //初期化
    function MakeArray(n) {
        this.length = n;
        for (i = 1; i <= n; i++) {
            this[i] = "";
        }
        return(this);
    }

    // セレクトボックスの配列
    function SelList(value,text){
       this.value = value;
       this.text = text;
    }

    // 項目の確認
    function submit_Check(){
        str = document.SearchForm.from_to;
        if (str.value == "----") {
            alert(to_from_name + "を正しく選択して下さい。");
            str.focus();
            return(false);
        }
        return(true);
    }

    // ----を無理矢理選択不可にする
    function list_Check(obj){
        if (obj.options[obj.options.selectedIndex].value == "----") {
            obj.options.selectedIndex = 0;
            return(false);
        }
    }

    // 全体を見るを表示
    function AllSearchSubmit(){
        document.SearchResult.submit();
    }

    // Listの中身を変える
    function input_List(){

      //Topの検索窓が、メンテ中で存在しない場合の対処
      if (document.SearchForm != null){
          var change_flg = true;
          var ap_list;
          var al_list;
          list_name1 = document.SearchForm.from_to;
          list_name2 = document.SearchForm.al_cd;
          if((document.SearchForm.dida_flg.options[0].selected == true) || (document.SearchForm.dida_flg.options[1].selected == true)) {
              ap_list = int_ap_list;
              al_list = int_al_list;
              if(id_kbn == "international"){
              }
              else{
                  change_flg = false;
                  id_kbn = "international";
              }
          }else{
              ap_list = dom_ap_list;
              al_list = dom_al_list;
              if(id_kbn == "domestic"){}
              else{
                  change_flg = false;
                  id_kbn = "domestic";
              }
          }
          for(i=0;i<list_name1.length;i++){
              list_name1.options[i].text = "";
              list_name1.options[i].disabled = false;
          }
          for(i=1;i<list_name2.length;i++){
              list_name2.options[i].text = "";
          }
          if((document.SearchForm.dida_flg.options[0].selected == true) || (document.SearchForm.dida_flg.options[2].selected == true)){
              to_from_name = "行先";
          }else{
                  to_from_name = "出発地";
          }

          list_name1.length = ap_list.length + 1;
          list_name1.options[0].value = "";
          list_name1.options[0].text = to_from_name + "を選択";
          for (i = 1;i <= ap_list.length;i++){
              list_name1.options[i].value = ap_list[i].value;
              list_name1.options[i].text = ap_list[i].text;
              if(ap_list[i].value == "----"){
                  list_name1.options[i].disabled = true;
              }
          }
          list_name2.length = al_list.length + 1;
          for (j = 1;j <= al_list.length;j++){
              list_name2.options[j].value = al_list[j].value;
              list_name2.options[j].text = al_list[j].text;
          }
          if(change_flg == false){
              list_name1.selectedIndex = 0;
              list_name2.selectedIndex = 0;
          }
      }
    }
// -->
