function eventlist(){
  var weekNames = "SunMonTueWedThuFriSat";
  var today = new Date();
/* 中身 */
  document.write('<FONT SIZE="-2">ジムカーナ大会の日付を<FONT COLOR="Red">赤色</FONT>で表示しています。</FONT>');
  document.write('<TABLE CELLPADDING=5 CELLSPACING=0 BORDER=0>');
  var i = -1;
  while(e_date[++i]!=""){
    y = e_date[i].substring(0,4);
    m = e_date[i].substring(4,6);
    d = e_date[i].substring(6,8);
    n = (e_date[i].substring(8,10)-1) * 2;
    r = e_date[i].substring(10,12);
    g = e_date[i].substring(12,14);
    c = e_date[i].substring(14,e_date[i].length);
    a = e_date[i].substring(0,14);
    eve = new Date(y,m-1,d);
    if(today.getTime()>eve.getTime()) continue;
    if(r!=0) col = "red";
      else   col = "black";
    for(j=0;e_can[j]!="";j++){
      if(a==e_can[j]){
        col = "gray";
      }
    }
    idx = eve.getDay() * 3;
    w = weekNames.substring(idx,idx+3);
    if(col=="gray") {
      document.write('<TR><TD NOWRAP><FONT SIZE="-1" COLOR="'+col+'"><STRIKE>'+y+'-'+m+'-'+d+'('+w+')'+'</STRIKE></FONT></TD>');
      document.write('<TD><FONT SIZE="-1" COLOR="'+col+'"><STRIKE>'+e_name[n]+'</STRIKE> <FONT COLOR="red">'+c+'</FONT></FONT>');
      document.write(' <FONT COLOR="'+col+'"><STRIKE>会場：'+ground[g-1]+'</STRIKE></FONT>');
    }
    else {
      document.write('<TR><TD NOWRAP><FONT SIZE="-1" COLOR="'+col+'">'+y+'-'+m+'-'+d+'('+w+')'+'</FONT></TD>');
      if(e_name[n+1]!="") document.write('<TD><A HREF="'+e_name[n+1]+'">'+e_name[n]+'</A>');
        else document.write('<TD>'+e_name[n]);
      if(r!=0 && r!=99) document.write(' Round-'+r);
      if(c.length) document.write(' '+c);
      if(g!=0) document.write(' 会場：'+ground[g-1]);
    }
    for(j=0;e_new[j]!="";j++){
      if(a==e_new[j]){
        document.write('<IMG SRC="lib/new.gif" WIDTH=28 HEIGHT=12>');
        break;
      }
    }
    for(j=0;e_rev[j]!="";j++){
      if(a==e_rev[j]){
        document.write('<IMG SRC="lib/rev.gif" WIDTH=28 HEIGHT=12>');
        break;
      }
    }
    document.write('</TD></TR>');
  }
  document.write('</TABLE>');
}
/* データセクション */
e_name = new Array(
"北海道バイクジムカーナ選手権",
"north_idx.html",
"北海道バイクジムカーナ選手権練習会",
"north_idx.html",
"ダンロップ・月刊オートバイカップジムカーナ大会",
"dunlop_idx.html",
"ダンロップスポーツマックスジムカーナトレーニング",
"dunlop_idx.html#rensyuu",
"DUNLOP・月刊オートバイCUP!ジムカーナJAPAN",
"dunlop_japan.html",
"JAGE杯ジムカーナ大会",
"ym_idx.html",
"関東事務茶屋杯",
"jimu_idx.html",
"JAGE練習会",
"jage_about.html#rensyuu",
"中部ダンロップ杯ジムカーナ大会",
"cyuubu_idx.html",
"SRS愛知練習会",
"cyuubu_idx.html#rensyuu",
"TSRA",
"tsra_idx.html#rensyuu",
"RIDERS High School",
"rhs_idx.html",
"ＲＳ−京都",
"rs_kyoto.html",
"広島ジムカーナクラブジムカーナ練習会",
"hgc.html",
"ダンロップ・月刊オートバイカップ愛媛大会",
"ehime_idx.html",
"ダンロップ・月刊オートバイカップ愛媛練習会",
"ehime_idx.html#rensyuu",
"JAGE近畿支部練習会",
"tokusima_idx.html#rensyuu",
"神戸DUNLOPオートバイジムカーナ大会",
"tokusima_idx.html",
"九州二輪ジムカーナ会練習会",
"mg9_idx.html",
"Team MARIモーターサイクル・レッスン",
"http://www.t-mari.net/index.html",
"");/* End Code */
ground = new Array(
"札幌市麻生自動車学校（北海道）",
"札幌市中央バス自動車学校（北海道）",
"月寒アルファコートドーム（北海道）",
"芽室町芽室自動車学校（北海道）",
"北見市野付牛自動車学校（北海道）",
"北海道クミアイ自動車学校（北海道）",
"函館市函館中央自動車学校（北海道）",
"つくばドライビングスクール（茨城県）",
"トミンモーターランド（茨城県）",
"ツインリンクもてぎ（栃木県）",
"TEC-R（交通教育センターレインボー《埼玉》）（埼玉県）",
"やしお生涯楽習館（埼玉県）",
"アクセルモータースクール（埼玉県）",
"交通教育センター レインボー浜名湖（静岡県）",
"安城自動車学校（愛知県）",
"キョウセイ交通大学（愛知県）",
"知立自動車学校（愛知県）",
"鈴鹿ツインサーキット（三重県）",
"鈴鹿サーキット 交通教育センター（三重県）",
"月の輪自動車教習所（滋賀県）",
"京都府交通安全協会自動車練習場（京都府）",
"山城自動車教習所（京都府）",
"カワサキライディングスクール（兵庫県）",
"ポートアイランド（兵庫県）",
"六甲アイランド特設会場（兵庫県）",
"橿原自動車教習所（奈良県）",
"グリーンピアせとうち（広島県）",
"広島モータースクール（広島県）",
"広島県自動車学校（広島県）",
"三次自動車学校（広島県）",
"未定（徳島県）",
"二輪車交通公園（愛媛県）",
"ふじ自動車学校（佐賀県）",
"");/* End Code */
e_date = new Array(
/* 1-4year,5-6month,7-8day,9-10name,11round,12-13ground,14-comment */
"20100719010305",
"20100719200014",
"20100725130022慣熟走行練習会",
"20100731120018ラ・パラ",
"20100801060209",
"20100801100017中部ダンロップジムカーナトレーニング",
"20100808200010",
"20100813110016オールナイト練習会",
"20100814020007",
"20100815010407",
"20100815130022ジムカーナ大会",
"20100815190033",
"20100816130020慣熟走行練習会",
"20100822200011",
"20100823120018ラ・パラ",
"20100829070309",
"20100829120018ラ・パラ",
"20100905040013",
"20100905090317",
"20100905150232",
"20100911020004",
"20100912010504",
"20100912130023",
"20100912140027",
"20100920200014",
"20100923080012初級者講習会",
"20100926030411",
"20100926190033",
"20101002020003",
"201010022000192days",
"20101003010601",
"20101003040013",
"20101003100015ジムカーナ自由練習会",
"20101003140030",
"20101003160032",
"20101009080016",
"20101010050016",
"20101017040008",
"20101024030511",
"20101024140028",
"20101024200011",
"20101031100017中部ダンロップジムカーナトレーニング",
"20101031130023",
"20101103070409",
"20101107040013",
"20101107180331徳島大会",
"20101107190033",
"20101107200010",
"20101114040011",
"20101114140030",
"20101114150332",
"20101121040008",
"20101128060309",
"20101128200011",
"20101205040013",
"201012182000192days",
"20101219040011",
"20110109060409",
"20110220040011",
"20110321200011",
"201103262000192days",
"");/* End Code */
e_new = new Array(
"20100713120018",
"20100731120018",
"20100823120018",
"20100829120018",
"20101009080016",
"");/* End Code */
e_rev = new Array(
"20101103070409",
"");/* End Code */
e_can = new Array(
"20100509040013",
"");/* End Code */
