// JavaScript Document
function switchTab(identify,index,count)
{
	for(i=0;i<count;i++)
	{
		var CurTabObj = document.getElementById("Tab_"+identify+"_"+i);
		var CurListObj = document.getElementById("List_"+identify+"_"+i);
		if (i == index) 
		{
			CurTabObj.className=identify+"_bg2";
			CurListObj.style.display="block";
		}
		else
		{
			CurTabObj.className=identify+"_bg1";
			CurListObj.style.display="none";
		}
	}
}
