	var han = new Array("Hannover","Hanover","Hanovre","Hannover","Hannover","Hanower");
	var nie = new Array("Niedersachsen","Lower Saxony","Basse-saxe","Bassa Sassonia","Baja Sajonia","Dolna Saksonia");
	var eu = new Array("Europäische Union","European Union","Union Européenne","Unione Europea","Unión Europea","Unia Europejska");
	var deu = new Array("Deutschland","Germany","Allemagne","Germania","Alemania","Niemcy");
	var f_breite;
var ua = navigator.userAgent;
var ie_pos = ua.indexOf("MSIE");
var vers_ie = parseFloat(ua.substring(ie_pos + 5, ie_pos + 8));
var op = ua.indexOf("Opera");
var lin = navigator.appVersion.indexOf("Linux");
var pos_ko = ua.indexOf("Konqueror/");
var vers_ko = parseFloat(ua.substring(pos_ko + 10, pos_ko + 14));
if (document.layers) window.open("netscape.htm","_top");
if ((navigator.appName == "Konqueror") && (vers_ko < 3.2)) window.open("konqueror.htm","_self");
	
function wechsel() {
		document.getElementById("han1").firstChild.nodeValue = han[index];
		document.getElementById("han2").firstChild.nodeValue = han[index];
		document.getElementById("nie1").firstChild.nodeValue = nie[index];
		document.getElementById("nie2").firstChild.nodeValue = nie[index];
		document.getElementById("eu1").firstChild.nodeValue = eu[index];
		document.getElementById("eu2").firstChild.nodeValue = eu[index];
		document.getElementById("deu1").firstChild.nodeValue = deu[index];
		document.getElementById("deu2").firstChild.nodeValue = deu[index];
		index++;
		if (index == 6) index = 0;
		}

function breite() {
		if (window.innerHeight) f_breite = window.innerWidth;
		else if (document.body.clientHeight) f_breite = document.body.clientWidth;
		if (f_breite < 650) document.getElementById("schule").style.fontSize = "60%";
		else if (f_breite < 750) document.getElementById("schule").style.fontSize = "80%";
		else if (f_breite < 850) document.getElementById("schule").style.fontSize = "100%";
		else if (f_breite < 950) document.getElementById("schule").style.fontSize = "120%";
		else if (f_breite < 1050) document.getElementById("schule").style.fontSize = "140%";
		else document.getElementById("schule").style.fontSize = "170%";
	}
	
function uhrzeit() {
		var uhr = new Date();
		var local = uhr.getTime();
		uhr.setTime(local+diff);
		var std = uhr.getHours();
		std = (std < 10) ? "0"+std : std;
		var minu = uhr.getMinutes();
		minu = (minu < 10) ? "0"+minu : minu;
		var sek = uhr.getSeconds();
		sek = (sek < 10) ? "0"+sek : sek;
		document.getElementById("block").firstChild.nodeValue = std + ":" + minu + ":" + sek;
		}

function hover(e,doit) {
  if (vers_ie < 7.0) { 
   document.getElementById('cont2').style.width = "99.6%";	
   var target = e.srcElement;    // only IE, FF uses :hover
    if (target && (target.nodeName.toLowerCase() == "td") &&  (target.className == "content3" || target.className =="hover" || target.className =="out" ))
      target.className = doit ? "hover":"out"; 
	}
}

function hover2() {
  if (vers_ie < 7.0) { 
   document.getElementById('cont2').style.width = "99.6%";
	}
}

function groesse(){
	var f_hoehe,n_hoehe;
	if (window.innerHeight) f_hoehe = window.innerHeight*1;
	else if (document.body.clientHeight) f_hoehe = document.documentElement.clientHeight*1;
  if (vers_ie < 7.0) { 
	document.getElementById('contentLayer').style.height = (f_hoehe-120)+"px";
//  document.getElementById('cont2').style.width = "99%";	
	}
  if (document.all) document.getElementById('cont').style.height = (f_hoehe-120)+"px";
	else document.getElementById('cont').style.height = (f_hoehe-120)+"px";
  if (vers_ie < 7.0) document.getElementById("links").style.height = (f_hoehe-153)+"px";
	else document.getElementById("links").style.height = (f_hoehe-148)+"px";

}

function aendere() { breite();groesse();	}

function adjustIFrameSize (iframeWindow) 
{
	if (!window.opera)
		{
		  if (iframeWindow.document.height)
				{
			    var iframeElement = document.getElementById(iframeWindow.name);
			    iframeElement.style.height = iframeWindow.document.height+ 40 + 'px';
			    iframeElement.style.width = iframeWindow.document.width + 'px';
			  }
  		else if (document.all) 
				{
		 			var iframeElement = document.all[iframeWindow.name];
    			if (iframeWindow.document.compatMode && iframeWindow.document.compatMode != 'BackCompat') 
				    {
				      iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 30 + 'px';
				      iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + 15 + 'px';
				    }
			    else 
						{
				      iframeElement.style.height = iframeWindow.document.body.scrollHeight + 30 + 'px';
				      iframeElement.style.width = iframeWindow.document.body.scrollWidth + 18 + 'px';
		 				}
			  } 
		}
}

function adjustIFrameSizeN (iframeWindow) 
{
	if (!window.opera)
		{
		  if (iframeWindow.document.height)
				{
			    var iframeElement = document.getElementById(iframeWindow.name);
			    iframeElement.style.height = iframeWindow.document.height+ 40 + 'px';
			    iframeElement.style.width = iframeWindow.document.width + 'px';
			  }
  		else if (document.all) 
				{
		 			var iframeElement = document.all[iframeWindow.name];
    			if (iframeWindow.document.compatMode && iframeWindow.document.compatMode != 'BackCompat') 
				    {
				      iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 30 + 'px';
				      iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth -2 + 'px';
				    }
			    else 
						{
				      iframeElement.style.height = iframeWindow.document.body.scrollHeight + 30 + 'px';
				      iframeElement.style.width = iframeWindow.document.body.scrollWidth + 18 + 'px';
		 				}
			  } 
		}
}


function pruefe() {
   if(document.all && !window.opera) {
     var a=document.all.detail;
     detail.document.body.scroll='no';
   } 
	 else {
     var a=document.getElementsByName('detail')[0];
     a.scrolling='no';
   }
   var a=document.getElementsByName('detail')[0];
   detail.document.getElementsByTagName('body')[0].style.overflow='hidden';
   var b=detail.document.getElementById('cont');
   if(a.style.height != eval(b.offsetHeight+35)+'px') {
      a.style.height=eval(b.offsetHeight+35)+'px';
   }
}