function opacOver(tid){
    	document.getElementById("a"+tid).style.color="#c86c97";
    	document.getElementById("div"+tid).style.backgroundColor="#ddd";
    	document.getElementById("div"+tid).style.border="2px solid #c86c97";
    	document.getElementById("img"+tid).style.filter="alpha(opacity=99)"; // die Anweisung funktioniert nur im IE!!!
    	document.getElementById("img"+tid).style.MozOpacity=0.99; // die Anweisung funktioniert nur im fifo
    	document.getElementById("img"+tid).style.opacity=0.99; // die Anweisung funktioniert nur im Opera
}

function opacOut(tid){
    	document.getElementById("a"+tid).style.color="#fff";
    	document.getElementById("div"+tid).style.backgroundColor="#ccc";
    	document.getElementById("div"+tid).style.border="2px solid #aaa";
    	document.getElementById("img"+tid).style.filter="alpha(opacity=70)"; // die Anweisung funktioniert nur im IE!!!
    	document.getElementById("img"+tid).style.MozOpacity=0.70; // die Anweisung funktioniert nur im fifo
    	document.getElementById("img"+tid).style.opacity=0.70; // die Anweisung funktioniert nur im Opera
}

function rb(x){
	if(x.blur)x.blur()
}



var topItems = new Array("box");

function showSubmenue(x){
	//id des korrespondierenden Untermenüs wird zusammengebaut
	hideSubMenues();
	newid = "sekundaer" + x;
	//ausgewähltes untermenü wird eingeblendet
	document.getElementById(newid).style.visibility="visible";
}

function hideSubMenues(){
	for(i=0;i<topItems.length;i++){
		subId = "sekundaer"+topItems[i];
    	document.getElementById(subId).style.visibility="hidden";
	}
}



function jauf(s) {
	var n=0;
	var r="";
	for(var i=0;i<s.length;i++) { 
		n=s.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-4); 
	}


	var dom="vkuejngtgk/uoor";
	var r2="";

	for(var i=0;i<dom.length;i++) { 
		n=dom.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r2 += String.fromCharCode(n-2); 
	}


	r=r.replace("uppercasetolower",r2);
	return r;
}


function to_jauf(s)	{
	location.href=jauf(s);
}


