function sethref(url)
{
  parent.location.href=url;
  return;
}

   function setliga(x)
     {
      if (x == "0")
        {
        parent.frame1.location  = "osjkopf.htm";
        parent.frame2.location  = "osjinfo.htm";
        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "1")
        {
        parent.frame1.location  = "jopkopf.htm";
        parent.frame2.location  = "https://www.ligamanager.schachbund-bayern.de/oberpfalz/ergebnisse/spielplan.htm?ligaId=289";
<!--        parent.frame2.location  = "jopl2010-11.pdf"; -->
        return;
        }

      if (x == "2")
        {
        parent.frame1.location  = "jbzkopf.htm";
        parent.frame2.location  = "https://www.ligamanager.schachbund-bayern.de/oberpfalz/ergebnisse/spielplan.htm?ligaId=290";
        return;
        }

      if (x == "3")
        {
        parent.frame1.location  = "osjkopf.htm";
        parent.frame2.location  = "kreisliga/kreisliga12/kl-sued.htm";
        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "4")
        {
        parent.frame1.location  = "osjkopf.htm";
        parent.frame2.location  = "kreisliga/kreisliga12/kl-mitte.htm";
        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "5")
        {
        parent.frame1.location  = "osjkopf.htm";
        parent.frame2.location  = "kreisliga/kreisliga12/kl-nord.htm";
        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "6")
        {
        parent.frame1.location  = "osjkopf.htm";
        parent.frame2.location  = "./osjcup/osjcup12/osjcup.htm";
        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "7")
        {
        parent.frame1.location  = "jopkopf.htm";
        parent.frame2.location  = "https://www.ligamanager.schachbund-bayern.de/oberpfalz/ergebnisse/spielplan.htm?ligaId=289";
//        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "8")
        {
        parent.frame1.location  = "jbzkopf.htm";
        parent.frame2.location  = "https://www.ligamanager.schachbund-bayern.de/oberpfalz/ergebnisse/spielplan.htm?ligaId=290";
//        parent.frame12.location = "osjlink.htm";
        return;
        }

      if (x == "9")
        {
          parent.frame2.location  = "jopl2011-12.pdf"; 
          return;
        }

      if (x == "10")
        {
          parent.frame2.location  = "jbzl2011-12.pdf"; 
          return;
        }
     }
