function showLayer(AllCount,CurrentID)
{
	var ss;
	for (i=1;i<=AllCount;i++)
	{
		ss=eval("sort"+i);
		if (CurrentID==i)
		{
			if (ss.style.display =="")
			{
				ss.style.display ="none";
			}
			else 
			{
				ss.style.display ="";
			}
		}
		else
		{
			ss.style.display ="none";
		}
	}
}


function showLayerz(AllCount,CurrentID)
{
	var ss;
	for (i=1;i<=AllCount;i++)
	{
		ss=eval("Zgs"+i);
		if (CurrentID==i)
		{
			if (ss.style.display =="")
			{
				ss.style.display ="none";
			}
			else 
			{
				ss.style.display ="";
			}
		}
		else
		{
			ss.style.display ="none";
		}
	}
}