//----------------------------------------------------------
// ファイルの説明  ： グローバルナビゲーションの制御
//
// [履歴]
// [00] 2010/11/10 新規
//----------------------------------------------------------

//----------------------------------------------------------
// 関数名  ：マウスオーバ
// 機能    ：マウスオーバ時にリストを表示する
//         ：リストボックスを非表示とする
// 引数    ：a    ナビゲーションID
// 戻り値  ：NONE
//----------------------------------------------------------
function mover(a){
  document.getElementById('switch_'+a).style.display = 'block';
  document.getElementById('menu_img_'+a).style.display = 'block';

 if(a == '02'){
    if( document.getElementById('slct2') ){
      document.getElementById('slct2').style.display = 'none';
    }
 }
 if(a == '03'){
    if( document.getElementById('slct_top1') ){
      document.getElementById('slct_top1').style.display = 'none';
    }
    if( document.getElementById('slct_top2') ){
      document.getElementById('slct_top2').style.display = 'none';
    }
    if( document.getElementById('slct_top3') ){
      document.getElementById('slct_top3').style.display = 'none';
    }
    if( document.getElementById('slct_top4') ){
      document.getElementById('slct_top4').style.display = 'none';
    }
    if( document.getElementById('slct_top5') ){
      document.getElementById('slct_top5').style.display = 'none';
    }
    if( document.getElementById('slct_top6') ){
      document.getElementById('slct_top6').style.display = 'none';
    }
    if( document.getElementById('slct_top7') ){
      document.getElementById('slct_top7').style.display = 'none';
    }
    if( document.getElementById('slct_top8') ){
      document.getElementById('slct_top8').style.display = 'none';
    }
    if( document.getElementById('slct_top9') ){
      document.getElementById('slct_top9').style.display = 'none';
    }
    if( document.getElementById('slct2') ){
      document.getElementById('slct2').style.display = 'none';
    }
 }

}

//----------------------------------------------------------
// 関数名  ：マウスアウト
// 機能    ：マウスアウト時にリストを非表示とする
//         ：リストボックスを表示とする
// 引数    ：a    ナビゲーションID
// 戻り値  ：NONE
//----------------------------------------------------------
function mout(a){
  document.getElementById('switch_'+a).style.display = 'none';
  document.getElementById('menu_img_'+a).style.display = 'none';

 if(a == '02'){
    if( document.getElementById('slct2') ){
      document.getElementById('slct2').style.display = 'block';
    }
 }

 if(a == '03'){
    if( document.getElementById('slct_top1') ){
      document.getElementById('slct_top1').style.display = 'block';
    }
    if( document.getElementById('slct_top2') ){
      document.getElementById('slct_top2').style.display = 'block';
    }
    if( document.getElementById('slct_top3') ){
      document.getElementById('slct_top3').style.display = 'block';
    }
    if( document.getElementById('slct_top4') ){
      document.getElementById('slct_top4').style.display = 'block';
    }
    if( document.getElementById('slct_top5') ){
      document.getElementById('slct_top5').style.display = 'block';
    }
    if( document.getElementById('slct_top6') ){
      document.getElementById('slct_top6').style.display = 'block';
    }
    if( document.getElementById('slct_top7') ){
      document.getElementById('slct_top7').style.display = 'block';
    }
    if( document.getElementById('slct_top8') ){
      document.getElementById('slct_top8').style.display = 'block';
    }
    if( document.getElementById('slct_top9') ){
      document.getElementById('slct_top9').style.display = 'block';
    }
    if( document.getElementById('slct2') ){
      document.getElementById('slct2').style.display = 'block';
    }
 }
}

//----------------------------------------------------------
// 関数名  ：マウスオーバ
// 機能    ：マウスオーバ時にサブリストを表示する
// 引数    ：a    ナビゲーションID
// 戻り値  ：NONE
//----------------------------------------------------------
function mover_sub(a){
  document.getElementById('switch_sub_'+a).style.display = 'block';
}

//----------------------------------------------------------
// 関数名  ：マウスアウト
// 機能    ：マウスアウト時にサブリストを非表示とする
// 引数    ：a    ナビゲーションID
// 戻り値  ：NONE
//----------------------------------------------------------
function mout_sub(a){
 document.getElementById('switch_sub_'+a).style.display = 'none';
}

