<!--
function TopFIn(Button)
{
	MinMax = document.getElementById(Button);
	if(MinMax.className == "collapse")
	{
		MinMax.className = "collapseO";
	}
	if(MinMax.className == "expand")
	{
		MinMax.className = "expandO";
	}
}
function TopFOut(Button)
{
	MinMax = document.getElementById(Button);
	if(MinMax.className == "collapseO")
	{
		MinMax.className = "collapse";
	}
	if(MinMax.className == "expandO")
	{
		MinMax.className = "expand";
	}
}
function FIn(Button)
{
	MinMax = document.getElementById(Button).childNodes.item(2);
	MHide= document.getElementById(Button).childNodes.item(1);
	if(MinMax.className == "Max")
	{
		MinMax.className = "MaxO";
	}
	if(MinMax.className == "Min")
	{
		MinMax.className = "MinO";
	}
	MHide.className="MHideO";
}
function FOut(Button)
{
	MinMax = document.getElementById(Button).childNodes.item(2);
	MHide = document.getElementById(Button).childNodes.item(1);
	if(MinMax.className == "MaxO")
	{
		MinMax.className = "Max";
	}
	if(MinMax.className == "MinO")
	{
		MinMax.className = "Min";
	}
	MHide.className="MHide";
}
function EC(Menu,Type)
{
	ButtonObj = document.getElementById(Menu);
	MenuObj = document.getElementById(Menu).nextSibling.style;
	
	if (ButtonObj.className == "menu_title_"+Type)
		{
		ButtonObj.className = "menu_title_"+Type+"_max";
		MenuObj.display = "none";
		}
	else
		{
		ButtonObj.className = "menu_title_"+Type;
		MenuObj.display = "block";
		}
}
function collapse(LenghtA,LenghtB,LenghtC)
{
	var Kolom = "A";
	for (j = 1; j <= 3; j++)
	{
		if (j==1){Lenght = LenghtA;Kolom = "A"}
		if (j==2){Lenght = LenghtB;Kolom = "B"}
		if (j==3){Lenght = LenghtC;Kolom = "C"}
		for (i = 1; i <= Lenght; i++)
		{	
			ButtonObj = document.getElementById(Kolom + i);
			MenuObj = document.getElementById(Kolom + i).nextSibling.style;
			MenuType = ButtonObj.className;
			switch (MenuType)
			{
				case "menu_title_740":
					ButtonObj.className = "menu_title_740_max";
					MenuObj.display = "none";
				break;
				case "menu_title_468":
					ButtonObj.className = "menu_title_468_max";
					MenuObj.display = "none";
				break;
				case "menu_title_120":
					ButtonObj.className = "menu_title_120_max";
					MenuObj.display = "none";
				break;
				case "menu_title_88":
					ButtonObj.className = "menu_title_88_max";
					MenuObj.display = "none";
				break;
			}

		}
	}
}
function expand(LenghtA,LenghtB,LenghtC,LenghtT)
{
	var Kolom = "A";
	for (j = 1; j <= 3; j++)
	{
		if (j==1){Lenght = LenghtA;Kolom = "A"}
		if (j==2){Lenght = LenghtB;Kolom = "B"}
		if (j==3){Lenght = LenghtC;Kolom = "C"}
		for (i = 1; i <= Lenght; i++)
		{	
			ButtonObj = document.getElementById(Kolom + i);
			MenuObj = document.getElementById(Kolom + i).nextSibling.style;
			MenuType = ButtonObj.className;
			switch (MenuType)
			{
				case "menu_title_740_max":
					ButtonObj.className = "menu_title_740";
					MenuObj.display = "block";
				break;
				case "menu_title_468_max":
					ButtonObj.className = "menu_title_468";
					MenuObj.display = "block";
				break;
				case "menu_title_120_max":
					ButtonObj.className = "menu_title_120";
					MenuObj.display = "block";
				break;
				case "menu_title_88_max":
					ButtonObj.className = "menu_title_88";
					MenuObj.display = "block";
				break;
			}
		}
	}
}
//  -->
