/*2008.19*/
// navigation

var idgeber=0;
function nEon(box){
if(!box.id){
	idgeber++;
	box.id="event"+idgeber;
	box.sperre="runter";
	box.jetzt=15;
	box.innerHTML="<IMG src=ventana_archi/barra.gif><DIV style=position:absolute;left:0px;top:0px;repeat: no-repeat>"+box.innerHTML+"</DIV>";
	document.getElementById(box.id).getElementsByTagName('a')[0].style.background="";
}
if(box.sperre!="hoch"){
	box.sperre="hoch";
	mBox(box.id);
}
//Mac-Safari
if(navigator.platform=="MacPPC"){
	setTimeout('box.style.display="none";',100);
	setTimeout('box.style.display="block";',200);
}
}

function nEoff(box){
if(box.sperre!="runter"){
	box.sperre="runter";
	mBox(box.id);
}
}

function mBox(id){
if(document.getElementById(id).sperre!="runter"){
	document.getElementById(id).sperre="hoch";
	nav_zaehler=document.getElementById(id).jetzt;
	nav_zaehler+=10;//Tempo auf
	document.getElementById(id).jetzt=nav_zaehler;
	document.getElementById(id).style.height=nav_zaehler+"px";
	document.getElementById(id).style.top=(61-nav_zaehler)+"px";
	if(nav_zaehler<60){
	setTimeout('mBox("'+id+'");',50);
	}else{
	document.getElementById(id).jetzt=60;
	document.getElementById(id).style.height="60px";
	document.getElementById(id).style.top="11px";
	}
}

if(document.getElementById(id).sperre!="hoch"){
	document.getElementById(id).sperre="runter";
	nav_zaehler=document.getElementById(id).jetzt;
	nav_zaehler-=4;//Tempo zu
	document.getElementById(id).jetzt=nav_zaehler;
	document.getElementById(id).style.height=nav_zaehler+"px";
	document.getElementById(id).style.top=(61-nav_zaehler)+"px";
	if(nav_zaehler>15){
	setTimeout('mBox("'+id+'");',50);
	}else{
	document.getElementById(id).jetzt=15;
	document.getElementById(id).style.height="15px";
	document.getElementById(id).style.top="52px";
	}
}
}

mouseOverNaviCoreSub = function()
{
if (document.all&&document.getElementById)
{
navRoot = document.getElementById("nCSub");
if (navRoot)
{
for (i=0; i<navRoot.childNodes.length;  i++)
{
node = navRoot.childNodes[i];
if (node.nodeName=="LI")
{
node.onmouseover=function()
{
this.className+=" nCSubOver";
}
node.onmouseout=function()
{
this.className=this.className.replace(" nCSubOver", "");
}
}
}
}
}
}
mouseOverNaviAll = function()
{
mouseOverNaviCoreSub();
}
// /navigation



