//----function stick PHP for menu icon change--//
function toggleCate(cnum)
{
   var CateList = "1,2,3,4,5,6,7,8";
   if (CateList == "")
      return ;
   arrList = CateList.split(",");
	for(var i=0;i<arrList.length;i++)
	{
		tempDiv = eval("div_"+arrList[i]);
		tempImg = eval("imgof_"+arrList[i]);

		if(arrList[i] == cnum)
		{
			if(tempDiv.style.display == 'none')
			{
				tempDiv.style.display = '';
				tempImg.src='img/menu_2.gif';
			}else{
				tempDiv.style.display = 'none';
				tempImg.src='img/menu.gif';
			}
		}else{
				tempDiv.style.display = 'none';
				tempImg.src='img/menu.gif';
		}
	}
}
