var lastactive = 0;
var pointactive = 0;
    
function showLayer(strID)
{	
	if (strID!=pointactive)
	{
		hideLayer(pointactive);
	}
var stadt = document.getElementById(strID);
stadt.style.display = "block";
	pointactive=strID;     
}


function hideLayer(strID)
{
if (strID=pointactive)
	{
	var stadt = document.getElementById(strID);
		if (stadt!=null) stadt.style.display = "none";        
	}
}


function showinfos(strID, pointID)
{
var stadt = document.getElementById(strID);	
if (lastactive!=0) hideLayer(lastactive);
lastactive = strID;	
stadt.style.display = "block"; 	

tmpID=pointactive;        	
pointactive = pointID;
hideLayer(tmpID);
}

