<!--
// Browserabfrage:
//alert(navigator.userAgent)
function IsMSIE4()
{
	if (navigator.userAgent.toLowerCase().indexOf("msie 4") != -1)
	{
			return true
	}
}

function IsMSIE5()
{
	if (navigator.userAgent.toLowerCase().indexOf("msie 5") != -1)
	{
			//alert("Browser5.0 erkannt!")
			//alert(navigator.userAgent)
			return true
	}
}

function IsMSIE6()
{
	if (navigator.userAgent.toLowerCase().indexOf("msie 6") != -1)
	{
			return true
	}
}
function IsMSIE8()
{
	if (navigator.userAgent.toLowerCase().indexOf("msie 8") != -1)
	{
			return true
	}
}
function IsMSIE9()
{
	if (navigator.userAgent.toLowerCase().indexOf("msie 9") != -1)
	{
	        return true
	}
}
function IsNetscape4() 
{
	if ((parseInt(navigator.appVersion) == 4) && (navigator.appName.indexOf("Netscape") >= 0))
	{
      		return true
	}
}
function IsNetscape6() 
{
	if ((parseInt(navigator.appVersion) >= 5) && (navigator.appName.indexOf("Netscape") >= 0))
	{
      		return true
	}
}
if (!IsMSIE4() && !IsMSIE5() && !IsMSIE6()  && !IsMSIE8() && !IsMSIE9() && !IsNetscape4() && !IsNetscape6())
{
	alert("Es werden die Browser MS Internet Explorer und Netscape ab Version 4.x unterstuetzt!");
}


// Unterschiedliche Browser -- unterschiedliche Layer:
if (IsMSIE4() || IsMSIE5() || IsMSIE6() || IsMSIE8() || IsMSIE9())
{
	layerRef="document.all";
	styleSwitch=".style";
}
if (IsNetscape4())
{
	layerRef="document.layers";
	styleSwitch="";
}
if (IsNetscape6())
{
	layerRef="document.getElementById";
	styleSwitch=".style";
}



// Layer einblenden:
function showLayer(layerName) 
{
	if (IsNetscape6())
	{
	eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="visible"');
	}
	else
	{
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
	}
}


// Layer ausblenden:
function hideLayer(layerName)  
{	
if (IsNetscape6())
	{
	eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="hidden"');
	}
	else
	{
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
	}
}


function scroll(layerName,linksName)
{
parent.frames["nav_left"].scrolldown(layerName,linksName);
}




// Bottom herunterfahren:
var y = 97;
function scrolldown(layerName,linksName)
{
if (IsNetscape4())
{
	if (y<=224)
	{
	y=y+6;
	document.layers[layerName].moveTo (0,y);
	window.setTimeout ('scrolldown("' + layerName + '","' + linksName + '")',10);
	}
	else
	{
	scrollLinks(linksName);
	}
}

if (IsNetscape6())
{
	if (y<=224)
	{
	y=y+6;
	document.getElementById(layerName).style.left = 0;
	document.getElementById(layerName).style.top = y;
	window.setTimeout ('scrolldown("' + layerName + '","' + linksName + '")',8);
	}
	else
	{
	scrollLinks(linksName);
	}
}

if (IsMSIE4() || IsMSIE5() || IsMSIE6() || IsMSIE8() || IsMSIE9())
{
	if (y<=224)
	{
	y=y+6;
	document.all[layerName].style.left=0;
	document.all[layerName].style.top=y;
	window.setTimeout ('scrolldown("' + layerName + '","' + linksName + '")',10);
	}
	else
	{
	scrollLinks(linksName);
	}
}
}




// Links von links einfahren:
var x = -130;
var navy = "";


function scrollLinks(linksName)
{
if (navy != "")
{
hideLayer(navy);
showLayer(linksName);
//navy = "";
scrollLinks2(linksName);
}
else
{
showLayer(linksName);
scrollLinks2(linksName);
}
}

function scrollLinks2(linksName)
{
	if (x<=-3)
	{

		if (IsNetscape4())
		{
		x=x+6;
		document.layers[linksName].moveTo (x,238);
		window.setTimeout ('scrollLinks("' + linksName + '")',10);
		}
	
		if (IsNetscape6())
		{
		x=x+6;
		document.getElementById(linksName).style.left = x;
		document.getElementById(linksName).style.top = 228;
		window.setTimeout ('scrollLinks("' + linksName + '")',10);
		}

		if (IsMSIE4()|| IsMSIE5())
		{
		x=x+6;
		document.all[linksName].style.left=x;
		document.all[linksName].style.top=228;
		window.setTimeout ('scrollLinks("' + linksName + '")',10);
		}
		
		if (IsMSIE6() || IsMSIE8() || IsMSIE9())
		{
		x=x+6;
		document.all[linksName].style.left=x;
		document.all[linksName].style.top=229;
		window.setTimeout ('scrollLinks("' + linksName + '")',10);
		}
	}
	else
	{
	x = -130;
	navy = linksName;
	}
}


//Bottom hochfahren

function homebutton()
{
if (y=224)
{
hideLayer(navy);
scrollUp('bottom');
}
}

function scrollUp(layerName)
{
hideLayer(navy);
if (IsNetscape4())
{
	if (y>=101)
	{
	y=y-6;
	document.layers['bottom'].moveTo (0,y);
	window.setTimeout ('scrollUp("' + layerName + '")',1);
	}
}

if (IsNetscape6())
{
	if (y>=101)
	{
	y=y-6;
	document.getElementById('bottom').style.left = 0;
	document.getElementById('bottom').style.top = y;
	window.setTimeout ('scrollUp("' + layerName + '")',1);
	}
}

if (IsMSIE4()|| IsMSIE5() || IsMSIE6() || IsMSIE8() || IsMSIE9())
{
	if (y>=101)
	{
	y=y-6;
	document.all['bottom'].style.left=0;
	document.all['bottom'].style.top=y;
	window.setTimeout ('scrollUp("' + layerName + '")',1);
	}
		
}
}



// Netscape Resize Bug umgehen:
function NSreload()
{
	if (IsNetscape4())
	{
	document.location.href="index.html";
	}
}
//-->
