// Aktualisiert die Markierungen im Navi Bereich beim laden von Seiten im mainframe
var gOElem = ""; // enthält zuletzt markierten Eintrag der Navi Liste

//Funktion zum Markieren des Ausgewählten bereiches
function ChangeBgColor(SId)
{
	if(gOElem)
	{
		gOElem.style.backgroundColor = "";
		gOElem.style.color ="";
	}

	gOElem = document.getElementById(SId);

	if(gOElem)
	{
		gOElem.style.backgroundColor = "rgb(222,243,255)";
		gOElem.style.color = "black";
	}
}
// Remote funktion für Updatenavi()
function RemoteUpdateNavi()
{	
	if(top.Main && top.Main.goMark == true)
	{		
		ChangeBgColor(top.Main.gSId);
		top.Main.goMark = false;
	}
	else if(top.Main && top.Main.goMark2 == true)
	{
		top.Main.UpdateNavi(top.Main.gSSeite, top.Main.gSId);
		top.Main.goMark2 = false;
	}
}
