function layoutInfo() {
  var tab_info = document.getElementById('tab_info');
  var name_tab = new Array(), id_tab = new Array();
  name_tab.push('基本情報');
  name_tab.push('アイテム・敵キャラクタ');
  name_tab.push('メモ');
  //name_tab.push('テクニック');
  //name_tab.push('タイムアタック');
  id_tab.push('info_tab_base');
  id_tab.push('info_tab_characters');
  id_tab.push('info_tab_memos');
  //id_tab.push('info_tab_techniques');
  //id_tab.push('info_tab_timeattack');

  var displayInfo = function(e) {
    var target = getTargetElement(e);

    var i; for( i = 0; i < getNode(target.parentNode, 'a', -1).length; i++ ) {
      getNode(target.parentNode, 'a', i).className = '';
    }
    document.getElementById(target.id).className = 'active';

    switch(target.id) {
    case id_tab[0]: displayInfo_base(e);  break; // 基本情報
    case id_tab[1]: displayInfo_characters(e);  break; // アイテム・敵キャラクタ
    case id_tab[2]: displayInfo_memos(e); break; // 攻略メモ
    case id_tab[3]: displayInfo_techniques(e);  break; // テクニック
    case id_tab[4]: displayInfo_timeattack(e);  break; // タイムアタック
    default: document.getElementById('content_info').innerHTML = 'hogehoge';
    }
    return;
  }
  var i;
  for( i = 0; i < name_tab.length; i++ ) {
    var a = document.createElement('a');
    a.id = id_tab[i];
    a.innerHTML = name_tab[i];
    a.title = getStr_area() + ' の' + name_tab[i] + 'を表示します．';
    if( i == 0 ) { a.className = 'active'; }
    addListener(a, 'click', displayInfo, false);
    tab_info.appendChild(a);
  }

  var content_left = document.createElement('div'); content_left.id = 'content_info_left'; document.getElementById('content_info').appendChild(content_left);
  var content_right = document.createElement('div'); content_right.id = 'content_info_right'; document.getElementById('content_info').appendChild(content_right);
  var content_hoge = document.createElement('div'); content_hoge.style.clear = 'both'; document.getElementById('content_info').appendChild(content_hoge); // IE でfloat が解除されないための対策

  return;
}




////////////////////////////////////////////////////////////////////////////////
//
// エリアの基本情報を表示する
//
////////////////////////////////////////////////////////////////////////////////
function displayInfo_base(e) {
  var content = document.getElementById('content_info');
  var content_left = document.getElementById('content_info_left'), content_right = document.getElementById('content_info_right');
  content_left.innerHTML = '<div class="group">情報を読み込んでいます．．．．</div>';
  content_right.innerHTML = '<div class="group">情報を読み込んでいます．．．</div>';
  
  var loadInfo = function(xml) {
    var i;

    ////////////////////////////////////////////////////////////////
    //
    // エリア情報
    //
    ////////////////////////////////////////////////////////////////
    content_left.innerHTML = '';
    //
    // 概要
    //
    var group_area_abstract = document.createElement('div'); group_area_abstract.className = 'group';
    content_left.appendChild(group_area_abstract);
    var h3_area_abstract = document.createElement('h3'); h3_area_abstract.innerHTML = 'エリア概要';
    var div_area_abstract = document.createElement('div');
    h3_area_abstract.target = div_area_abstract.id = 'content_area_abstract'; div_area_abstract.style.display = 'block';
    div_area_abstract.innerHTML = getNodeValue(xml, 'abstract', 0);
    addListener(h3_area_abstract, 'click', toggleDisplay_content, false);
    group_area_abstract.appendChild(h3_area_abstract);
    group_area_abstract.appendChild(div_area_abstract);
    content_left.appendChild(group_area_abstract);
    //
    // etc: TIME，中間地点，無限増殖，ワープ
    //
    var group_area_etc = document.createElement('div'); group_area_etc.className = 'group';
    content_left.appendChild(group_area_etc);
    var h3_area_etc = document.createElement('h3'); h3_area_etc.innerHTML = 'エリア情報';
    var div_area_etc = document.createElement('div');
    h3_area_etc.target = div_area_etc.id = 'content_area_etc'; div_area_etc.style.display = 'block';
    var dl_area_etc = document.createElement('dl'); dl_area_etc.id = 'info_area_etc';
    // TIME
    var dt_area_time = document.createElement('dt'), dd_area_time = document.createElement('dd');
    dt_area_time.innerHTML = 'TIME';
    dd_area_time.innerHTML = getNodeValue(xml, 'time', 0);
    dl_area_etc.appendChild(dt_area_time);
    dl_area_etc.appendChild(dd_area_time);
    // 中間地点
    var dt_area_midpoint = document.createElement('dt'), dd_area_midpoint = document.createElement('dd');
    dt_area_midpoint.innerHTML = '中間地点';
    dd_area_midpoint.innerHTML = getNodeValue(xml, 'midpoint', 0) == 1  ?  'あり'  :  'なし';
    dl_area_etc.appendChild(dt_area_midpoint);
    dl_area_etc.appendChild(dd_area_midpoint);
    // 無限増殖ポイント
    var dt_area_unlim1up = document.createElement('dt'), dd_area_unlim1up = document.createElement('dd');
    dt_area_unlim1up.innerHTML = '無限増殖';
    dd_area_unlim1up.innerHTML = getNodeValue(xml, 'unlim1up', 0) == 1  ?  '可'  :  '不可';
    dl_area_etc.appendChild(dt_area_unlim1up);
    dl_area_etc.appendChild(dd_area_unlim1up);
    // ワープ先
    var dt_area_warpTo = document.createElement('dt'), dd_area_warpTo = document.createElement('dd');
    dt_area_warpTo.innerHTML = 'ワープ先';
    dd_area_warpTo.innerHTML = 'なし';
    if( definedXMLTagName(getNode(xml, 'warp', 0), 'to') ) {
      var to = new Array();
      for( i = 0; i < getNode(getNode(xml, 'warp', 0), 'to', -1).length; i++ ) {
        to.push(getNodeValue(getNode(xml, 'warp', 0), 'to', i));
      }
      dd_area_warpTo.innerHTML = to.join('，');
    }
    dl_area_etc.appendChild(dt_area_warpTo);
    dl_area_etc.appendChild(dd_area_warpTo);
    // ワープ元
    var dt_area_warpFrom = document.createElement('dt'), dd_area_warpFrom = document.createElement('dd');
    dt_area_warpFrom.innerHTML = 'ワープ元';
    dd_area_warpFrom.innerHTML = 'なし';
    if( definedXMLTagName(getNode(xml, 'warp', 0), 'from') ) {
      var from = new Array();
      for( i = 0; i < getNode(getNode(xml, 'warp', 0), 'from', -1).length; i++ ) {
        from.push(getNodeValue(getNode(xml, 'warp', 0), 'from', i));
      }
      dd_area_warpFrom.innerHTML = from.join('，');
    }
    dl_area_etc.appendChild(dt_area_warpFrom);
    dl_area_etc.appendChild(dd_area_warpFrom);

    div_area_etc.appendChild(dl_area_etc);
    div_area_etc.appendChild(document.createElement('br'));
    addListener(h3_area_etc, 'click', toggleDisplay_content, false);
    group_area_etc.appendChild(h3_area_etc);
    group_area_etc.appendChild(div_area_etc);
    //content_left.appendChild(group_area_etc);



    ////////////////////////////////////////////////////////////////
    //
    // マップ情報
    //
    ////////////////////////////////////////////////////////////////
    content_right.innerHTML = '';
    content_right.appendChild(group_area_etc);
    //
    // 概要
    //
    {
    var group_map_abstract = document.createElement('div'); group_map_abstract.className = 'group';
    content_right.appendChild(group_map_abstract);
    var h3_map_abstract = document.createElement('h3'); h3_map_abstract.innerHTML = 'マップ概要';
    addListener(h3_map_abstract, 'click', toggleDisplay_content, false);
    var div_map_abstract = document.createElement('div'); h3_map_abstract.target = div_map_abstract.id = 'content_map_abstract'; div_map_abstract.style.display = 'block';
      var mapIndex = 'abcde'.indexOf(document.getElementById('areamap').getAttribute('select_map'));
      div_map_abstract.innerHTML = getNodeValue(getNode(xml, 'mapstructure', 0), 'map', mapIndex);
    }
    group_map_abstract.appendChild(h3_map_abstract);
    group_map_abstract.appendChild(div_map_abstract);


    for( i = 0; i < getNode(content, 'h3', -1).length; i++ ) { getNode(content, 'h3', i).title = 'クリックでこの領域を折りたたみ・展開します．'; }
    return;
  }
  var query = new Array();
  query.push('cmd=info_base');
  query.push('areamap=' + getStr_areamap());
  httpXMLRequest(dir('cgi', 0) + 'maps.cgi', 'POST', array2queryString(query), loadInfo, httpError, 'cgi_maps_info_base.' + getStr_area(), true);
  return;
}


////////////////////////////////////////////////////////////////////////////////
//
// エリアのアイテム・敵キャラクタ情報を表示する
//
////////////////////////////////////////////////////////////////////////////////
function displayInfo_characters(e) {
  var content = document.getElementById('content_info');
  var content_left = document.getElementById('content_info_left'), content_right = document.getElementById('content_info_right');
  content_left.innerHTML = '<div class="group">情報を読み込んでいます．．．．</div>';
  content_right.innerHTML = '<div class="group">情報を読み込んでいます．．．</div>';

  var loadInfo = function(xml) {
    var i;
    ////////////////////////////////////////////////////////////////
    //
    // アイテム
    //
    ////////////////////////////////////////////////////////////////
    content_left.innerHTML = '';

    var group_item = document.createElement('div'); group_item.className = 'group';
    content_left.appendChild(group_item);
    var h3_item = document.createElement('h3'); h3_item.innerHTML = 'アイテムの出現数 （MAP/全体）';
    addListener(h3_item, 'click', toggleDisplay_content, false);
    group_item.appendChild(h3_item);
    var div_item = document.createElement('div'); div_item.style.display = 'block';
    h3_item.target = div_item.id = 'content_item';

    var ul_item = document.createElement('ul'); ul_item.className = 'info_content_char';
    for( i = 0; i < getNode(xml, 'item', -1).length; i++ ) {
      var item = getNode(xml, 'item', i);
      if( getNodeValue(item, 'area', 0) == 0 ) { continue; }
      var li = document.createElement('li');
      li.style.width = '4em'; li.style.height = '4.33em';
      var img = document.createElement('img');
      img.src = dir('img', 0) + 'maps/memo/' + getNodeValue(item, 'type', 0) + '_a1.png';
      if( getNodeValue(item, 'type', 0) == 'axe' ) {
        img.src = dir('img', 0) + 'maps/memo/' + getNodeValue(item, 'type', 0) + '_d.png';
        img.style.background = '#000000';
      }
      li.appendChild(img); li.appendChild(document.createElement('br'));
      li.innerHTML += '<b>' + getNodeValue(item, 'areamap', 0) + '</b> / ' + getNodeValue(item, 'area', 0);

      ul_item.appendChild(li);
    }
    div_item.appendChild(ul_item); div_item.appendChild(document.createElement('br'));
    group_item.appendChild(div_item);

    ////////////////////////////////////////////////////////////////
    //
    // 敵キャラクタ
    //
    ////////////////////////////////////////////////////////////////
    content_right.innerHTML = '';

    var group_char = document.createElement('div'); group_char.className = 'group';
    content_right.appendChild(group_char);
    var h3_char = document.createElement('h3'); h3_char.innerHTML = '敵キャラクタの出現数 （MAP/全体）';
    addListener(h3_char, 'click', toggleDisplay_content, false);
    group_char.appendChild(h3_char);
    var div_char = document.createElement('div'); div_char.style.display = 'block';
    h3_char.target = div_char.id = 'content_char';

    var ul_char = document.createElement('ul'); ul_char.className = 'info_content_char';
    for( i = 0; i < getNode(xml, 'char', -1).length; i++ ) {
      var char = getNode(xml, 'char', i);
      if( getNodeValue(char, 'area', 0) == 0 ) { continue; }
      var li = document.createElement('li');
      li.style.width = '4em'; li.style.height = '4.33em';
      var img = document.createElement('img');
      img.src = dir('img', 0) + 'maps/memo/' + getNodeValue(char, 'type', 0) + '_a1.png';
      if( getNodeValue(char, 'type', 0) == 'pub' ) {
        img.src = dir('img', 0) + 'maps/memo/' + getNodeValue(char, 'type', 0) + '_c.png';
        img.style.background = '#3399cc';
      }
      else if( getNodeValue(char, 'type', 0).match(/fir|fil|bub|kpb|kpa/) ) {
        if( getNodeValue(char, 'type', 0) == 'fir' ) { li.style.width = '5em'; li.style.height = '5em'; }
        if( getNodeValue(char, 'type', 0) == 'fil' ) { li.style.width = '8em'; li.style.height = '8em'; }
        if( getNodeValue(char, 'type', 0).match(/kp[ba]/) ) { li.style.width = li.style.height = '4.66em'; }

        img.src = dir('img', 0) + 'maps/memo/' + getNodeValue(char, 'type', 0) + '_d.png';
        img.style.background = '#000000';
      }
      li.appendChild(img); li.appendChild(document.createElement('br'));
      li.innerHTML += '<b>' + getNodeValue(char, 'areamap', 0) + '</b> / ' + getNodeValue(char, 'area', 0);

      ul_char.appendChild(li);
    }
    div_char.appendChild(ul_char); div_char.appendChild(document.createElement('br'));
    group_char.appendChild(div_char);

    for( i = 0; i < getNode(content, 'h3', -1).length; i++ ) { getNode(content, 'h3', i).title = 'クリックでこの領域を折りたたみ・展開します．'; }
    return;
  }
  var query = new Array();
  query.push('cmd=info_chars');
  query.push('area=' + getStr_area());
  query.push('areamap=' + getStr_areamap());
  httpXMLRequest(dir('cgi', 0) + 'maps.cgi', 'POST', array2queryString(query), loadInfo, httpError, 'cgi_maps_info_chars.' + getStr_area(), true);
  return;
}




////////////////////////////////////////////////////////////////////////////////
//
// エリアの攻略メモに関する情報を表示する
//
////////////////////////////////////////////////////////////////////////////////
function displayInfo_memos(e) {
  var content = document.getElementById('content_info');
  var content_left = document.getElementById('content_info_left'), content_right = document.getElementById('content_info_right');
  content_left.innerHTML = '<div class="group">情報を読み込んでいます．．．．</div>';
  content_right.innerHTML = '<div class="group">情報を読み込んでいます．．．</div>';

  var loadInfo = function(xml) {
    content_left.innerHTML = '';
    content_right.innerHTML = '';

    var memocount = getNode(xml, 'memocount', 0);
    var whatsnew  = getNode(xml, 'whatsnew', 0);

    var i;
    ////////////////////////////////////////////////////////////////
    //
    // メモ数
    //
    ////////////////////////////////////////////////////////////////
    //
    // ユーザメモ
    //
    if( isUser() ) {
    var group_memo_count_usr = document.createElement('div'); group_memo_count_usr.className = 'group';
    content_left.appendChild(group_memo_count_usr);
    var h3_memo_count_usr = document.createElement('h3'); h3_memo_count_usr.innerHTML = getUName() + ' さんの登録メモ数';
    addListener(h3_memo_count_usr, 'click', toggleDisplay_content, false);
    group_memo_count_usr.appendChild(h3_memo_count_usr);
    var div_memo_count_usr = document.createElement('div'); div_memo_count_usr.style.display = 'block';
    h3_memo_count_usr.target = div_memo_count_usr.id = 'contnet_memo_count_usr';
    var dl_memo_count_usr = document.createElement('dl');
    for( i = 0; i < getNode(memocount, 'usr', -1).length; i++ ) {
      var memocount_usr  = getNode(memocount, 'usr', i);
      var dt = document.createElement('dt'), dd = document.createElement('dd');
      dt.style.width = '14em';
      switch( getNodeValue(memocount_usr, 'openlevel', 0) ) {
      case '0': dt.innerHTML = '非公開'; break;
      case '1': dt.innerHTML = '友人まで公開'; break;
      case '2': dt.innerHTML = '友人の友人まで公開'; break;
      case '3': dt.innerHTML = '全体に公開'; break;
      }
      dd.innerHTML = getNodeValue(memocount_usr, 'count', 0);

      dl_memo_count_usr.appendChild(dt);
      dl_memo_count_usr.appendChild(dd);
    }
    div_memo_count_usr.appendChild(dl_memo_count_usr); div_memo_count_usr.appendChild(document.createElement('br'));
    group_memo_count_usr.appendChild(div_memo_count_usr);
    }
    //
    // 他のユーザの公開メモ
    //
    var group_memo_count_oth = document.createElement('div'); group_memo_count_oth.className = 'group';
    content_left.appendChild(group_memo_count_oth);
    var h3_memo_count_oth = document.createElement('h3'); h3_memo_count_oth.innerHTML = isUser()  ?  'その他の登録メモ数'  :  '登録メモ数';
    addListener(h3_memo_count_oth, 'click', toggleDisplay_content, false);
    group_memo_count_oth.appendChild(h3_memo_count_oth);
    var div_memo_count_oth = document.createElement('div'); div_memo_count_oth.style.display = 'block';
    h3_memo_count_oth.target = div_memo_count_oth.id = 'contnet_memo_count_oth';
    var dl_memo_count_oth = document.createElement('dl');
    for( i = 0; i < getNode(memocount, 'oth', -1).length; i++ ) {
      var memocount_oth  = getNode(memocount, 'oth', i);
      var dt = document.createElement('dt'), dd = document.createElement('dd');
      dt.style.width = '14em';
      switch( getNodeValue(memocount_oth, 'type', 0) ) {
      case 'opn': dt.innerHTML = isUser()  ?  '他のユーザの公開メモ'  :  '公開メモ'; break;
      case 'shr': dt.innerHTML = '共有メモ'; break;
      }
      dd.innerHTML = getNodeValue(memocount_oth, 'count', 0);

      dl_memo_count_oth.appendChild(dt);
      dl_memo_count_oth.appendChild(dd);
    }
    div_memo_count_oth.appendChild(dl_memo_count_oth); div_memo_count_oth.appendChild(document.createElement('br'));
    group_memo_count_oth.appendChild(div_memo_count_oth);


    ////////////////////////////////////////////////////////////////
    //
    // 新着情報
    //
    ////////////////////////////////////////////////////////////////
    //content_right.innerHTML = '<div class="group">新着（新規作成・編集）数件の情報でも．</div>';
    //
    // ユーザ
    //
    if( isUser() ) {
      var group_memo_whatsnew_usr = document.createElement('div'); group_memo_whatsnew_usr.className = 'group';
      content_right.appendChild(group_memo_whatsnew_usr);
      var h3_memo_whatsnew_usr = document.createElement('h3'); h3_memo_whatsnew_usr.innerHTML = getUName() + ' さんの新着メモ';
      addListener(h3_memo_whatsnew_usr, 'click', toggleDisplay_content, false);
      group_memo_whatsnew_usr.appendChild(h3_memo_whatsnew_usr);
      var div_memo_whatsnew_usr = document.createElement('div'); div_memo_whatsnew_usr.style.display = 'block';
      h3_memo_whatsnew_usr.target = div_memo_whatsnew_usr.id = 'content_memo_whtsnew_usr';
      if( definedXMLTagName(whatsnew, 'usr') ) {
        var ol_memo_whatsnew_usr = document.createElement('ol'); ol_memo_whatsnew_usr.className = 'info_content_memo';
        for( i = 0; i < getNode(whatsnew, 'usr', -1).length; i++ ) {
          var whatsnew_usr = getNode(whatsnew, 'usr', i);
          var li = document.createElement('li');
          var location = '（' + (getNodeValue(whatsnew_usr, 'x', 0) / (16 / g_gridX)) + ', ' + (getNodeValue(whatsnew_usr, 'y', 0) / (12 / g_gridY)) + '）';
          var lastmod = (new Date(getNodeValue(whatsnew_usr, 'lastmod', 0) * 1000)).toLocaleString().replace(/\//g, '.');
          li.innerHTML = lastmod + ' &#64; ' + location;
          ol_memo_whatsnew_usr.appendChild(li);
        }
        div_memo_whatsnew_usr.appendChild(ol_memo_whatsnew_usr);
      }
      else {
        div_memo_whatsnew_usr.innerHTML = 'ありません．';
      }
      group_memo_whatsnew_usr.appendChild(div_memo_whatsnew_usr);
    }
    //
    // 公開
    //
    var group_memo_whatsnew_opn = document.createElement('div'); group_memo_whatsnew_opn.className = 'group';
    content_right.appendChild(group_memo_whatsnew_opn);
    var h3_memo_whatsnew_opn = document.createElement('h3'); h3_memo_whatsnew_opn.innerHTML = '新着公開メモ';
    addListener(h3_memo_whatsnew_opn, 'click', toggleDisplay_content, false);
    group_memo_whatsnew_opn.appendChild(h3_memo_whatsnew_opn);
    var div_memo_whatsnew_opn = document.createElement('div'); div_memo_whatsnew_opn.style.display = 'block';
    h3_memo_whatsnew_opn.target = div_memo_whatsnew_opn.id = 'content_memo_whtsnew_opn';
    if( definedXMLTagName(whatsnew, 'opn') ) {
      var ol_memo_whatsnew_opn = document.createElement('ol'); ol_memo_whatsnew_opn.className = 'info_content_memo';
      for( i = 0; i < getNode(whatsnew, 'opn', -1).length; i++ ) {
        var whatsnew_opn = getNode(whatsnew, 'opn', i);
        var li = document.createElement('li');
        var location = '（' + (getNodeValue(whatsnew_opn, 'x', 0) / (16 / g_gridX)) + ', ' + (getNodeValue(whatsnew_opn, 'y', 0) / (12 / g_gridY)) + '）';
        var lastmod = (new Date(getNodeValue(whatsnew_opn, 'lastmod', 0) * 1000)).toLocaleString().replace(/\//g, '.');
        li.innerHTML = lastmod + ' &#64; ' + location + ' by ' + getNodeValue(whatsnew_opn, 'name', 0);
        ol_memo_whatsnew_opn.appendChild(li);
      }
      div_memo_whatsnew_opn.appendChild(ol_memo_whatsnew_opn);
    }
    else {
      div_memo_whatsnew_opn.innerHTML = 'ありません．';
    }
    group_memo_whatsnew_opn.appendChild(div_memo_whatsnew_opn);
    //
    // 共有
    //
    var group_memo_whatsnew_shr = document.createElement('div'); group_memo_whatsnew_shr.className = 'group';
    content_right.appendChild(group_memo_whatsnew_shr);
    var h3_memo_whatsnew_shr = document.createElement('h3'); h3_memo_whatsnew_shr.innerHTML = '新着共有メモ';
    addListener(h3_memo_whatsnew_shr, 'click', toggleDisplay_content, false);
    group_memo_whatsnew_shr.appendChild(h3_memo_whatsnew_shr);
    var div_memo_whatsnew_shr = document.createElement('div'); div_memo_whatsnew_shr.style.display = 'block';
    h3_memo_whatsnew_shr.target = div_memo_whatsnew_shr.id = 'content_memo_whtsnew_shr';
    if( definedXMLTagName(whatsnew, 'shr') ) {
      var ol_memo_whatsnew_shr = document.createElement('ol'); ol_memo_whatsnew_shr.className = 'info_content_memo';
      for( i = 0; i < getNode(whatsnew, 'shr', -1).length; i++ ) {
        var whatsnew_shr = getNode(whatsnew, 'shr', i);
        var li = document.createElement('li');
        var location = '（' + (getNodeValue(whatsnew_shr, 'x', 0) / (16 / g_gridX)) + ', ' + (getNodeValue(whatsnew_shr, 'y', 0) / (12 / g_gridY)) + '）';
        var lastmod = (new Date(getNodeValue(whatsnew_shr, 'lastmod', 0) * 1000)).toLocaleString().replace(/\//g, '.');
        li.innerHTML = lastmod + ' &#64; ' + location + ' by ' + getNodeValue(whatsnew_shr, 'name', 0);
        ol_memo_whatsnew_shr.appendChild(li);
      }
      div_memo_whatsnew_shr.appendChild(ol_memo_whatsnew_shr);
    }
    else {
      div_memo_whatsnew_shr.innerHTML = 'ありません．';
    }
    group_memo_whatsnew_shr.appendChild(div_memo_whatsnew_shr);


  }
  var query = new Array();
  query.push('cmd=info_memos');
  query.push('uid=' + getUID());
  query.push('areamap=' + getStr_areamap());
  httpXMLRequest(dir('cgi', 0) + 'maps.cgi', 'POST', array2queryString(query), loadInfo, httpError, 'cgi_maps_info_memos.' + getStr_area(), true);
  return;
}




////////////////////////////////////////////////////////////////////////////////
//
// エリアのテクニック情報を表示する
//
////////////////////////////////////////////////////////////////////////////////
function displayInfo_techniques(e) {
  var content_left = document.getElementById('content_info_left'), content_right = document.getElementById('content_info_right');
  content_left.innerHTML = '<div class="group">を読み込んでいます．．．．</div>';
  content_right.innerHTML = '<div style="display: block;" class="group">を読み込んでいます．．．</div>';

  var loadInfo = function(xml) {

  }
  var query = new Array();
  query.push('cmd=info_techs');
  httpXMLRequest(dir('cgi', 0) + 'maps.cgi', 'POST', array2queryString(query), loadInfo, httpError, 'cgi_maps_info_techs.' + getStr_area(), true);
  return;
}


////////////////////////////////////////////////////////////////////////////////
//
// エリアのタイムアタック記録を表示する
//
////////////////////////////////////////////////////////////////////////////////
function displayInfo_timeattack(e) {
  var content_left = document.getElementById('content_info_left'), content_right = document.getElementById('content_info_right');
  content_left.innerHTML = '<div class="group">を読み込んでいます．．．．</div>';
  content_right.innerHTML = '<div style="display: block;" class="group">を読み込んでいます．．．</div>';

  var loadInfo = function(xml) {

  }
  var query = new Array();
  query.push('cmd=info_timeattack');
  httpXMLRequest(dir('cgi', 0) + 'maps.cgi', 'POST', array2queryString(query), loadInfo, httpError, 'cgi_maps_info_timeattack.' + getStr_area(), true);
  return;
}


//
// 情報表示領域を折りたたみ・展開する
//
var toggleDisplay_content = function(e) {
  var div = document.getElementById(getTargetElement(e).target);
  if( div.style.display == 'block' ) { div.style.display = 'none'; }
  else { div.style.display = 'block'; }
  return;
}


