
function next(cname){
  if ( cname != "" ){
    coursewin = window.open("", "course", "scrollbars=yes,resizable=yes,width=420,height=300");
    coursewin.focus();

    if ( cname == 'Gather' ) coursewin.location = "./gather.html";

    if ( cname == 'shi_tatsu1' ) coursewin.location = "./shi_tatsu/1.html";
    if ( cname == 'shi_tatsu2' ) coursewin.location = "./shi_tatsu/2.html";
    if ( cname == 'shi_tatsu3' ) coursewin.location = "./shi_tatsu/3.html";
    if ( cname == 'shi_tatsu4' ) coursewin.location = "./shi_tatsu/4.html";
    if ( cname == 'shi_tatsu5' ) coursewin.location = "./shi_tatsu/5.html";
    if ( cname == 'shi_tatsu6' ) coursewin.location = "./shi_tatsu/6.html";
    if ( cname == 'shi_tatsu7' ) coursewin.location = "./shi_tatsu/7.html";
    if ( cname == 'shi_tatsu8' ) coursewin.location = "./shi_tatsu/8.html";
    if ( cname == 'shi_tatsu9' ) coursewin.location = "./shi_tatsu/9.html";
    if ( cname == 'shi_tatsu10' ) coursewin.location = "./shi_tatsu/10.html";
    if ( cname == 'shi_tatsu11' ) coursewin.location = "./shi_tatsu/11.html";
    if ( cname == 'shi_tatsu12' ) coursewin.location = "./shi_tatsu/12.html";
    if ( cname == 'shi_tatsu13' ) coursewin.location = "./shi_tatsu/13.html";
    if ( cname == 'shi_tatsu14' ) coursewin.location = "./shi_tatsu/14.html";
    if ( cname == 'shi_tatsu15' ) coursewin.location = "./shi_tatsu/15.html";
    if ( cname == 'shi_tatsu16' ) coursewin.location = "./shi_tatsu/16.html";
    if ( cname == 'shi_tatsu17' ) coursewin.location = "./shi_tatsu/17.html";
    if ( cname == 'shi_tatsu18' ) coursewin.location = "./shi_tatsu/18.html";
    if ( cname == 'shi_tatsu19' ) coursewin.location = "./shi_tatsu/19.html";
    if ( cname == 'shi_tatsu20' ) coursewin.location = "./shi_tatsu/20.html";
    if ( cname == 'shi_tatsu21' ) coursewin.location = "./shi_tatsu/21.html";
    if ( cname == 'shi_tatsu22' ) coursewin.location = "./shi_tatsu/22.html";
    if ( cname == 'shi_tatsu23' ) coursewin.location = "./shi_tatsu/23.html";
    if ( cname == 'shi_tatsu24' ) coursewin.location = "./shi_tatsu/24.html";
    if ( cname == 'shi_tatsu25' ) coursewin.location = "./shi_tatsu/25.html";

    if ( cname == 'okaya1' ) coursewin.location = "./okaya/1.html";
    if ( cname == 'okaya2' ) coursewin.location = "./okaya/2.html";
    if ( cname == 'okaya3' ) coursewin.location = "./okaya/3.html";
    if ( cname == 'okaya4' ) coursewin.location = "./okaya/4.html";
    if ( cname == 'okaya5' ) coursewin.location = "./okaya/5.html";
    if ( cname == 'okaya6' ) coursewin.location = "./okaya/6.html";
    if ( cname == 'okaya7' ) coursewin.location = "./okaya/7.html";
    if ( cname == 'okaya8' ) coursewin.location = "./okaya/8.html";
    if ( cname == 'okaya9' ) coursewin.location = "./okaya/9.html";
    if ( cname == 'okaya10' ) coursewin.location = "./okaya/10.html";
    if ( cname == 'okaya11' ) coursewin.location = "./okaya/11.html";
    if ( cname == 'okaya12' ) coursewin.location = "./okaya/12.html";
    if ( cname == 'okaya13' ) coursewin.location = "./okaya/13.html";
    if ( cname == 'okaya14' ) coursewin.location = "./okaya/14.html";
    if ( cname == 'okaya15' ) coursewin.location = "./okaya/15.html";
    if ( cname == 'okaya16' ) coursewin.location = "./okaya/16.html";
    if ( cname == 'okaya17' ) coursewin.location = "./okaya/17.html";
    if ( cname == 'okaya18' ) coursewin.location = "./okaya/18.html";
    if ( cname == 'okaya19' ) coursewin.location = "./okaya/19.html";

    if ( cname == 'shimo1' ) coursewin.location = "./shimo/1.html";
    if ( cname == 'shimo2' ) coursewin.location = "./shimo/2.html";
    if ( cname == 'shimo3' ) coursewin.location = "./shimo/3.html";
    if ( cname == 'shimo4' ) coursewin.location = "./shimo/4.html";
    if ( cname == 'shimo5' ) coursewin.location = "./shimo/5.html";
    if ( cname == 'shimo6' ) coursewin.location = "./shimo/6.html";
    if ( cname == 'shimo7' ) coursewin.location = "./shimo/7.html";
    if ( cname == 'shimo8' ) coursewin.location = "./shimo/8.html";
    if ( cname == 'shimo9' ) coursewin.location = "./shimo/9.html";
    if ( cname == 'shimo10' ) coursewin.location = "./shimo/10.html";
    if ( cname == 'shimo11' ) coursewin.location = "./shimo/11.html";
    if ( cname == 'shimo12' ) coursewin.location = "./shimo/12.html";
    if ( cname == 'shimo13' ) coursewin.location = "./shimo/13.html";
    if ( cname == 'shimo14' ) coursewin.location = "./shimo/14.html";
    if ( cname == 'shimo15' ) coursewin.location = "./shimo/15.html";
    if ( cname == 'shimo16' ) coursewin.location = "./shimo/16.html";
    if ( cname == 'shimo17' ) coursewin.location = "./shimo/17.html";
    if ( cname == 'shimo18' ) coursewin.location = "./shimo/18.html";
    if ( cname == 'shimo19' ) coursewin.location = "./shimo/19.html";
    if ( cname == 'shimo20' ) coursewin.location = "./shimo/20.html";

    if ( cname == 'suwa1' ) coursewin.location = "./suwa/1.html";
    if ( cname == 'suwa2' ) coursewin.location = "./suwa/2.html";
    if ( cname == 'suwa3' ) coursewin.location = "./suwa/3.html";
    if ( cname == 'suwa4' ) coursewin.location = "./suwa/4.html";
    if ( cname == 'suwa5' ) coursewin.location = "./suwa/5.html";
    if ( cname == 'suwa6' ) coursewin.location = "./suwa/6.html";
    if ( cname == 'suwa7' ) coursewin.location = "./suwa/7.html";
    if ( cname == 'suwa8' ) coursewin.location = "./suwa/8.html";
    if ( cname == 'suwa9' ) coursewin.location = "./suwa/9.html";
    if ( cname == 'suwa10' ) coursewin.location = "./suwa/10.html";
    if ( cname == 'suwa11' ) coursewin.location = "./suwa/11.html";
    if ( cname == 'suwa12' ) coursewin.location = "./suwa/12.html";
    if ( cname == 'suwa13' ) coursewin.location = "./suwa/13.html";
    if ( cname == 'suwa14' ) coursewin.location = "./suwa/14.html";
    if ( cname == 'suwa15' ) coursewin.location = "./suwa/15.html";
    if ( cname == 'suwa16' ) coursewin.location = "./suwa/16.html";
    if ( cname == 'suwa17' ) coursewin.location = "./suwa/17.html";
    if ( cname == 'suwa18' ) coursewin.location = "./suwa/18.html";
    if ( cname == 'suwa19' ) coursewin.location = "./suwa/19.html";
    if ( cname == 'suwa20' ) coursewin.location = "./suwa/20.html";

    if ( cname == 'chino1' ) coursewin.location = "./chino/1.html";
    if ( cname == 'chino2' ) coursewin.location = "./chino/2.html";
    if ( cname == 'chino3' ) coursewin.location = "./chino/3.html";
    if ( cname == 'chino4' ) coursewin.location = "./chino/4.html";
    if ( cname == 'chino5' ) coursewin.location = "./chino/5.html";
    if ( cname == 'chino6' ) coursewin.location = "./chino/6.html";
    if ( cname == 'chino7' ) coursewin.location = "./chino/7.html";
    if ( cname == 'chino8' ) coursewin.location = "./chino/8.html";
    if ( cname == 'chino9' ) coursewin.location = "./chino/9.html";
    if ( cname == 'chino10' ) coursewin.location = "./chino/10.html";
    if ( cname == 'chino11' ) coursewin.location = "./chino/11.html";
    if ( cname == 'chino12' ) coursewin.location = "./chino/12.html";
    if ( cname == 'chino13' ) coursewin.location = "./chino/13.html";
    if ( cname == 'chino14' ) coursewin.location = "./chino/14.html";
    if ( cname == 'chino15' ) coursewin.location = "./chino/15.html";
    if ( cname == 'chino16' ) coursewin.location = "./chino/16.html";
    if ( cname == 'chino17' ) coursewin.location = "./chino/17.html";
    if ( cname == 'chino18' ) coursewin.location = "./chino/18.html";
    if ( cname == 'chino19' ) coursewin.location = "./chino/19.html";
    if ( cname == 'chino20' ) coursewin.location = "./chino/20.html";
    if ( cname == 'chino21' ) coursewin.location = "./chino/21.html";
    if ( cname == 'chino22' ) coursewin.location = "./chino/22.html";

    if ( cname == 'hara1' ) coursewin.location = "./hara/1.html";
    if ( cname == 'hara2' ) coursewin.location = "./hara/2.html";
    if ( cname == 'hara3' ) coursewin.location = "./hara/3.html";
    if ( cname == 'hara4' ) coursewin.location = "./hara/4.html";
    if ( cname == 'hara5' ) coursewin.location = "./hara/5.html";
    if ( cname == 'hara6' ) coursewin.location = "./hara/6.html";
    if ( cname == 'hara7' ) coursewin.location = "./hara/7.html";
    if ( cname == 'hara8' ) coursewin.location = "./hara/8.html";
    if ( cname == 'hara9' ) coursewin.location = "./hara/9.html";
    if ( cname == 'hara10' ) coursewin.location = "./hara/10.html";
    if ( cname == 'hara11' ) coursewin.location = "./hara/11.html";
    if ( cname == 'hara12' ) coursewin.location = "./hara/12.html";
    if ( cname == 'hara13' ) coursewin.location = "./hara/13.html";
    if ( cname == 'hara14' ) coursewin.location = "./hara/14.html";
    if ( cname == 'hara15' ) coursewin.location = "./hara/15.html";
    if ( cname == 'hara16' ) coursewin.location = "./hara/16.html";
    if ( cname == 'hara17' ) coursewin.location = "./hara/17.html";
    if ( cname == 'hara18' ) coursewin.location = "./hara/18.html";
    if ( cname == 'hara19' ) coursewin.location = "./hara/19.html";
    if ( cname == 'hara20' ) coursewin.location = "./hara/20.html";

    if ( cname == 'fujimi1' ) coursewin.location = "./fujimi/1.html";
    if ( cname == 'fujimi2' ) coursewin.location = "./fujimi/2.html";
    if ( cname == 'fujimi3' ) coursewin.location = "./fujimi/3.html";
    if ( cname == 'fujimi4' ) coursewin.location = "./fujimi/4.html";
    if ( cname == 'fujimi5' ) coursewin.location = "./fujimi/5.html";
    if ( cname == 'fujimi6' ) coursewin.location = "./fujimi/6.html";
    if ( cname == 'fujimi7' ) coursewin.location = "./fujimi/7.html";
    if ( cname == 'fujimi8' ) coursewin.location = "./fujimi/8.html";
    if ( cname == 'fujimi9' ) coursewin.location = "./fujimi/9.html";
    if ( cname == 'fujimi10' ) coursewin.location = "./fujimi/10.html";
    if ( cname == 'fujimi11' ) coursewin.location = "./fujimi/11.html";
    if ( cname == 'fujimi12' ) coursewin.location = "./fujimi/12.html";
    if ( cname == 'fujimi13' ) coursewin.location = "./fujimi/13.html";
    if ( cname == 'fujimi14' ) coursewin.location = "./fujimi/14.html";
    if ( cname == 'fujimi15' ) coursewin.location = "./fujimi/15.html";
    if ( cname == 'fujimi16' ) coursewin.location = "./fujimi/16.html";
    if ( cname == 'fujimi17' ) coursewin.location = "./fujimi/17.html";
    if ( cname == 'fujimi18' ) coursewin.location = "./fujimi/18.html";
    if ( cname == 'fujimi19' ) coursewin.location = "./fujimi/19.html";
    if ( cname == 'fujimi20' ) coursewin.location = "./fujimi/20.html";



  }
}
