function showDownloads()
{
	document.getElementById('downloads').style.right='0'
}

window.onload=function()
{ 
	if (document.body.className=="standard") 
	{
		for (var i=0; i<document.getElementById("topnav").getElementsByTagName("a").length;i++)
		{
			var thisA=document.getElementById("topnav").getElementsByTagName("a")[i];
			if(document.getElementById("pfad").getElementsByTagName("a")[1])
			{
				if(thisA.href==document.getElementById("pfad").getElementsByTagName("a")[1].href)
				{
					thisA.className="hier";
				}
			}
		}
	}
		for (var i=0; i<document.getElementById("subnav").getElementsByTagName("a").length;i++)
		{
			var thisA=document.getElementById("subnav").getElementsByTagName("a")[i];
			if(thisA.href==document.location.href)
			{
				thisA.className="hier";
			}
		}
}
