var browser;
var posi;
var bild;
//-------------------------------------------------------
function Weiterleitung()
  {
    //
    bild = 0;
    //
    if ((screen.width == 800) && (screen.height == 600)) 
      {
        bild = 1;
      }
    //
    if ((screen.width == 1024) && (screen.height == 768)) 
      {
        bild = 2;
      }
    //
    if ((screen.width == 1152) && (screen.height == 864)) 
      {
        bild = 3;
      }
    //
    if ((screen.width == 1280) && (screen.height == 768)) 
      {
        bild = 4;
      }
    //
    if ((screen.width == 1280) && (screen.height == 960)) 
      {
        bild = 5;
      }
    //
    if ((screen.width == 1280) && (screen.height == 1024)) 
      {
        bild = 6;
      }
    //
    //
    if (bild==0)
      { 
        window.location.href = "ubersetzer.htm";        
      }
    //
    //
    browser     = 0;
    browsername = navigator.userAgent;
    //
    if (browser==0)
      { 
        posi = browsername.indexOf("Netscape");
        if (posi >= 0)
          {
            browser=1;
          }  
      }
    //
    if (browser==0)
      { 
        posi = browsername.indexOf("Firefox");
        if (posi >= 0)
          {
            browser=2;
          }  
      }
    //
    if (browser==0)
      { 
        posi = browsername.indexOf("Opera");
        if (posi >= 0)
          {
            browser=3;
          }  
      }
    //
    if (browser==0)
      { 
        posi = browsername.indexOf("MSIE");
        if (posi >= 0)
          {
            browser=4;
          }  
      }
    //
    // 
    if (browser==0)
      { 
        window.location.href = "ubersetzer.htm";        
      }
    //
    // Netscape
    //
    if ((bild==1) && (browser==1))
      {
        window.location.href = "net8.htm";
      }
    if ((bild==2) && (browser==1))
      {
        window.location.href = "net10.htm";
      }
    if ((bild==3) && (browser==1))
      {
        window.location.href = "net11.htm";
      }
    if ((bild==4) && (browser==1))
      {
        window.location.href = "net12.htm";
      }
    if ((bild==5) && (browser==1))
      {
        window.location.href = "net96.htm";
      }
    if ((bild==6) && (browser==1))
      {
        window.location.href = "net28.htm";
      }
    //
    // Firefox
    //
    if ((bild==1) && (browser==2))
      {
        window.location.href = "fox8.htm";
      }
    if ((bild==2) && (browser==2))
      {
        window.location.href = "fox10.htm";
      }
    if ((bild==3) && (browser==2))
      {
        window.location.href = "fox11.htm";
      }
    if ((bild==4) && (browser==2))
      {
        window.location.href = "fox12.htm";
      }
    if ((bild==5) && (browser==2))
      {
        window.location.href = "fox96.htm";
      }
    if ((bild==6) && (browser==2))
      {
        window.location.href = "fox28.htm";
      }
    //
    // Opera
    //
    if ((bild==1) && (browser==3))
      {
        window.location.href = "op8.htm";
      }
    if ((bild==2) && (browser==3))
      {
        window.location.href = "op10.htm";
      }
    if ((bild==3) && (browser==3))
      {
        window.location.href = "op11.htm";
      }
    if ((bild==4) && (browser==3))
      {
        window.location.href = "op12.htm";
      }
    if ((bild==5) && (browser==3))
      {
        window.location.href = "op96.htm";
      }
    if ((bild==6) && (browser==3))
      {
        window.location.href = "op28.htm";
      }
    //
    // MS Internet Explorer
    //
    if ((bild==1) && (browser==4))
      {
        window.location.href = "ie8.htm";
      }
    if ((bild==2) && (browser==4))
      {
        window.location.href = "ie10.htm";
      }
    if ((bild==3) && (browser==4))
      {
        window.location.href = "ie11.htm";
      }
    if ((bild==4) && (browser==4))
      {
        window.location.href = "ie12.htm";
      }
    if ((bild==5) && (browser==4))
      {
        window.location.href = "ie96.htm";
      }
    if ((bild==6) && (browser==4))
      {
        window.location.href = "ie28.htm";
      }
    //
    //
  }
//-------------------------------------------------------