// JavaScript Document

function setMyHeight() {
        if (navigator.appName == "Microsoft Internet Explorer") {
                var x;
                var test1 = document.body.scrollHeight;
                var test2 = document.body.offsetHeight
                if (test1 > test2) // all but Explorer Mac
                {
                        x = document.body.scrollHeight;
                }
                else // Explorer Mac;
             //would also work in Explorer 6 Strict, Mozilla and Safari
                {
                        x = document.body.offsetHeight;
                }

                //document.getElementById("wobinich").innerHTML = x;
                var y = parseInt(x)-22;
                document.getElementById('navigation').style.height = y+"px";
        }
}

function hoch (Bild1)
{
  Fenster1 = window.open(Bild1, "Zweitfenster", "width=370,height=500,left=100,top=200");
  Fenster1.focus();
}

function quer (Bild2)
{
  Fenster1 = window.open(Bild2, "Zweitfenster", "width=500,height=370,left=100,top=200");
  Fenster1.focus();
}

function aktiv (Bild3)
{
  Fenster1 = window.open(Bild3, "Zweitfenster", "width=500,height=210,left=100,top=200");
  Fenster1.innerHeight = 210;
  Fenster1.focus();
}

function aktiv2 (Bild4)
{
  Fenster1 = window.open(Bild4, "Zweitfenster", "width=500,height=260,left=100,top=200");
  Fenster1.innerHeight = 260;
  Fenster1.focus();
}

function menues (Bild5)
{
  Fenster1 = window.open(Bild5, "Zweitfenster", "width=500,height=400,left=200,top=100");
  Fenster1.innerHeight = 400;
  Fenster1.focus();
}

function schmiede (Bild6)
{
  Fenster1 = window.open(Bild6, "Zweitfenster", "width=448,height=288,left=100,top=200");
  Fenster1.focus();
}
