  // browserdetect

  var ua = window.navigator.userAgent.toLowerCase();
  var version = window.navigator.appVersion.toLowerCase();
  var nummer = version.substr(0, version.indexOf("."));

  // browser
  var nets   = ((ua.indexOf("mozilla")<1) && (ua.indexOf("spoofer")<1) && (ua.indexOf("compatible")<1) && (ua.indexOf("opera")<1) && (ua.indexOf("safari")<1));
  var msie   = (ua.indexOf("msie") > 0);
  var safari = (ua.indexOf("safari") > 0);

  // platform
  var mac = (ua.indexOf("mac")!=-1);
  var win = ((ua.indexOf("win")!=-1) || (ua.indexOf("16bit")!=-1));

  // version
  if (nets)
    {
      var browserversion = nummer;
    }
  else if (msie)
    {
      if (nummer < 4)
        var browserversion = 3;
      if (nummer >= 4 && version.indexOf("msie 5")==-1 && version.indexOf("msie 6")==-1)
        var browserversion = 4;
      if (nummer >= 4 && version.indexOf("msie 5")!=-1 && version.indexOf("msie 6")==-1)
        var browserversion = 5;
      if (nummer >= 4 && version.indexOf("msie 6")!=-1 && version.indexOf("msie 5")==-1)
        var browserversion = 6;
    }


  // ippnw-kongress

  function seiteLaden(seite)
    {
      switch(seite)
        {
          // INTRO
          case "intr" : parent.location.href = "flash.html"; break;

          // HOME
          case "home" : parent.location.href = "start.html"; break;
          case "vora" : parent.inhalt.location.href = "home_vora.html"; break;
          case "hint" : parent.inhalt.location.href = "home_hint.html"; break;
          // KONGRESS
          case "kong" : parent.nav.location.href = "nav_kong_e.html";
                        parent.inhalt.location.href = "kong_erge.html";
                        parent.links_oben.location.href = "links_rot.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          case "ziel" : parent.nav.location.href = "nav_kong_z.html";
                        parent.inhalt.location.href = "kong_ziel.html";
                        parent.links_oben.location.href = "links_rot.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          case "refe" : parent.nav.location.href = "nav_kong_r.html";
                        parent.inhalt.location.href = "kong_refe.html";
                        parent.links_oben.location.href = "links_rot_referenten.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          case "unte" : parent.nav.location.href = "nav_kong_u.html";
                        parent.inhalt.location.href = "kong_unte.html";
                        parent.links_oben.location.href = "links_rot_unterstuetzer.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          case "ort" : parent.nav.location.href = "nav_kong_o.html";
                        parent.inhalt.location.href = "kong_ort.html";
                        parent.links_oben.location.href = "links_rot_ort.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          case "anme" : parent.nav.location.href = "nav_kong_a.html";
                        parent.inhalt.location.href = "kong_anme.html";
                        parent.links_oben.location.href = "links_rot_anmeldung.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          case "erge" : parent.nav.location.href = "nav_kong_e.html";
                        parent.inhalt.location.href = "kong_erge.html";
                        parent.links_oben.location.href = "links_rot.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          // PROGRAMM
          case "prog" : parent.nav.location.href = "nav_kong_p.html";
                        parent.inhalt.location.href = "kong_prog_ausf.html";
                        parent.links_oben.location.href = "links_rot_programm.html";
                        parent.links_unten.location.href = "hint_rot.html";
                        parent.rechts_oben.location.href = "hint_rot.html"; break;
          // ATOM-ARCHIV
          case "atom" : parent.nav.location.href = "nav_wiss.html";
                        parent.inhalt.location.href = "wissenswertes.html";
                        parent.links_oben.location.href = "links_orange_wissen.html";
                        parent.links_unten.location.href = "hint_orange.html";
                        parent.rechts_oben.location.href = "hint_orange.html"; break;
          case "atoe" : parent.nav.location.href = "nav_wiss_atoe.html";
                        parent.inhalt.location.href = "atomenergie.html";
                        parent.links_oben.location.href = "links_orange_atomenergie.html";
                        parent.links_unten.location.href = "hint_orange_hint.html";
                        parent.rechts_oben.location.href = "hint_orange.html"; break;
          case "atow" : parent.nav.location.href = "nav_wiss_atow.html";
                        parent.inhalt.location.href = "atomwaffen.html";
                        parent.links_oben.location.href = "links_orange_atomwaffen.html";
                        parent.links_unten.location.href = "hint_orange_atomw.html";
                        parent.rechts_oben.location.href = "hint_orange.html"; break;
          case "alte" : parent.nav.location.href = "nav_wiss_alte.html";
                        parent.inhalt.location.href = "auswege.html";
                        parent.links_oben.location.href = "links_orange_auswege.html";
                        parent.links_unten.location.href = "hint_orange_hint.html";
                        parent.rechts_oben.location.href = "hint_orange.html"; break;
          case "ahin" : parent.nav.location.href = "nav_wiss_ahin.html";
                        parent.inhalt.location.href = "hintergruende.html";
                        parent.links_oben.location.href = "links_orange_hintergruende.html";
                        parent.links_unten.location.href = "hint_orange_hint.html";
                        parent.rechts_oben.location.href = "hint_orange.html"; break;
          case "glo"  : parent.nav.location.href = "nav_wiss_glo.html";
                        parent.inhalt.location.href = "glossar.htm";
                        parent.links_oben.location.href = "links_orange_hintergruende.html";
                        parent.links_unten.location.href = "hint_orange_hint.html";
                        parent.rechts_oben.location.href = "hint_orange.html"; break;
          // IPPNW
          case "ippn" : parent.nav.location.href = "nav_ippn.html";
                        parent.inhalt.location.href = "ippnw.html";
                        parent.links_oben.location.href = "links_gruen_ippnw.html";
                        parent.links_unten.location.href = "hint_gruen_zitat.html";
                        parent.rechts_oben.location.href = "hint_gruen.html"; break;
          // KONTAKT
          case "kont" : parent.nav.location.href = "nav_kont.html";
                        parent.inhalt.location.href = "kontakt.html";
                        parent.links_oben.location.href = "links_gruen.html";
                        parent.links_unten.location.href = "hint_gruen.html";
                        parent.rechts_oben.location.href = "hint_gruen.html"; break;
          case "kanm" : parent.inhalt.location.href = "leer.html"; break;
          case "kati" : parent.inhalt.location.href = "leer.html"; break;
          // IMPRESSUM
          case "impr" : parent.nav.location.href = "nav_impr.html";
                        parent.inhalt.location.href = "impressum.html";
                        parent.links_oben.location.href = "links_gruen.html";
                        parent.links_unten.location.href = "hint_gruen.html";
                        parent.rechts_oben.location.href = "hint_gruen.html"; break;
          // PRESSE
          case "pres" : parent.nav.location.href = "nav_pres.html";
                        parent.inhalt.location.href = "presse.html";
                        parent.links_oben.location.href = "links_gruen.html";
                        parent.links_unten.location.href = "hint_gruen.html";
                        parent.rechts_oben.location.href = "hint_gruen.html"; break;
        }
    }
