menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}if(navigator.appVersion.indexOf("MSIE 6.0")>0){effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=0)"}else{effect = "Shadow(color='#cccccc', Direction=135, Strength=4)"}
timegap=300
followspeed=5
followrate=40
suboffset_top=10;
suboffset_left=10;

style1=["#ffffff","#0C8531","#000000","#F3FFF3","#0C8531",12,"normal","normal","Verdana",6,,,,,,,,,,]

style2=["#ffffff","#0C8531","#000000","#F3FFF3","#0C8531",12,"normal","normal","Verdana, Arial",6,,,,,,,,,,]

  xx = 130;
if(screen.width == 800)
{
 xx = 190;
}
else if(screen.width == 1024)
{
  xx = 310;
}
else if(screen.width == 1152)
{
  xx = 370;
}
else if(screen.width == 1280)
{
   xx = 440;
}

addmenu(menu=["mainmenu",123,xx,,1,,style1,1,"center",effect,,1,,,,,,,,,,
,"ご紹介","aboutus.asp","","ご紹介",1
,"チャレンジ","show-menu=13","challenges.asp","チャレンジ",1
,"参加します","joinus.asp","","参加します",1
,"スポンサーになります","sponsorus.asp","","スポンサーになります",1
,"ニュース","show-menu=16","news.asp","ニュース",1
,"お問合せ","contactus.asp","","お問合せ",1
,"リンク","library.asp","","リンク",1
])


addmenu(menu=["13",,,140,1,"",style2,,"left",effect,,,0,,,,,,,,,
,"カンボジアバイクライド","cambodiabike.asp","","カンボジアバイクライド",1
,"ﾎﾞｸｼﾝｸﾞ","charityboxing.asp","","ﾎﾞｸｼﾝｸﾞ",1
,"<span style= color:pink><strong>過去のチャレンジ</strong></span>","past_challenges.asp","","<span style= color:pink><strong>過去のチャレンジ</strong></span>",1
,"<span style= color:pink><strong>過去の参加者</strong></span>","past_participants.asp","","<span style= color:pink><strong>過去の参加者</strong></span>",1
])

addmenu(menu=["16",,,140,1,"",style2,,"left",effect,,,0,,,,,,,,,
,"<span style= color:pink><strong>過去のニュース</strong></span>","news.asp","","<span style= color:pink><strong>過去のニュース</strong></span>",1
])

dumpmenus()

