// 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 (Bild1)
{
  Fenster1 = window.open(Bild1, "Zweitfenster", "width=500,height=370,left=100,top=200");
  Fenster1.focus();
}

function aktiv (Bild1)
{
  Fenster1 = window.open(Bild1, "Zweitfenster", "width=500,height=210,left=100,top=200");
  Fenster1.innerHeight = 210;  
  Fenster1.focus();
}

function aktiv2 (Bild1)
{
  Fenster1 = window.open(Bild1, "Zweitfenster", "width=500,height=260,left=100,top=200");
  Fenster1.innerHeight = 260;
  Fenster1.focus();
}
