/*loadstatus = 0;
//## IE Transparenz, ggf. noch optimieren
a = navigator.appVersion

a=a.substring(a.indexOf("MSIE ") + 5, a.length);
a=a.substring(0,a.indexOf(";"));
Version=a.substring(0,a.indexOf("."));
minVersion=a.substring(a.indexOf("."),a.length);

if (Version>5 || (Version == 5 && minVersion>=.5)) {
	document.write("<style> .subclosed{ filter:Alpha(opacity=92, finishopacity=92, style=2);} </style>"); 
}*/

//#############
menuTimeout = ""
imageArr = new Array();
var active = ""
function touch(mitem,prefix,x,y) {
	if (typeof(prefix)=="undefined") prefix = "m"
	if (!document.getElementById) { return ""; }
	imgPrefix = prefix;
/*******/
	if (typeof(imageArr[imgPrefix+"i"]) == "undefined") {
		imageArr[imgPrefix+"i"] = mitem;
	}
	if (mitem > imageArr[imgPrefix+"i"]) { imageArr[imgPrefix+"i"] = mitem; }

	for (i=1;i<=imageArr[imgPrefix+"i"];i++) {
		if (a = document.getElementById(prefix+"f"+i)) {
//			alert()
//			alert(prefix+"f"+active)
			if (a.id != prefix+"f"+active) { a.style.visibility = "hidden" }
		}	
		if (im = document.getElementById(imgPrefix+"i"+i)) {
			if (tmp = (im.src).match(/(.*)_f2(\.png)/))  { im.src=tmp[1]+tmp[2]; }
			else if (tmp = (im.src).match(/(.*)\/f2(\/.*)/)) { im.src=tmp[1]+tmp[2]; }
		}
	}

	if (im = document.getElementById(imgPrefix+"i"+mitem)) {
		if ((im.src).indexOf(".gif") != -1) {
			tmp = (im.src).match(/(.*\/)([^\/]+).gif/)
			im.src=tmp[1]+"f2/"+tmp[2]+".gif"; 
		} else {
			tmp = (im.src).match(/(.*\/)([^\/]+).png/)
			im.src=tmp[1]+tmp[2]+"_f2.png"; 
		}
	}
			
		flip = document.getElementById(prefix+"f"+mitem)
		
		if (!flip) return "";
//		flip.style.top = getTop(im)+y
//		flip.style.left = getLeft(im)+x
		flip.style.visibility="visible"
	
}

function getTop(l) {
  if (l.offsetParent) return (l.offsetTop + getTop(l.offsetParent));
  else return (l.offsetTop);
}

function getLeft(l) {
  if (l.offsetParent) return (l.offsetLeft + getLeft(l.offsetParent));
  else return (l.offsetLeft);
}

function untouch (prefix,mode) {
	if (!mode) { touch(0,prefix); return ""; }
	if (!prefix) prefix = ""
	active = ""
	if (menuTimeout) { clearTimeout(menuTimeout) }
	menuTimeout = setTimeout("touch(0,'"+prefix+"')",100)
}

function blurLink(x) { x.blur(); }

function makeMOverr (id) {
		navRoot = document.getElementById(id);
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];

			if (node.nodeName=="LI" && node.className != "mItemAct") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
}
		
startList = function() {
	if (document.all&&document.getElementById) {
		makeMOverr("schnellnavi")
	}
}
window.onload=startList;