
function getListCategoryByIndex(index)
{
    return  processinfo.getListCategoryByIndex(index);
}
function countItemRootByIndex(index)
{
	return processinfo.countItemRootByIndex(index);
}
function getTopListCategory(top)
{
	return processinfo.getTopListCategory(top);
}
function countChild()
{
	return  processinfo.countChild();
}
function getUtilityInfo(style)
{
	return processinfo.getUtilityInfo(style);
}

function getPageConfigInfo()
{
	return processinfo.getPageConfigInfo();			
}
function formatStyleDate(dateformat,style)
{
	var objDate= new Date(dateformat);
	var myDate = objDate.getDate();
	var myMonth = objDate.getMonth() + 1;
	
	if(myDate<10)
	{
		myDate = "0" + myDate; 
	}
	
	if(myMonth<10)
	{
		myMonth="0" + myMonth;
	}
	var myYear = objDate.getFullYear();
	
	switch(style.toLowerCase())
	{
		case 'dd/mm/yyyy' :
		{
			return (myDate + '/' + myMonth + '/' + myYear);
			break;
		}
		case 'mm/dd/yyyy' :
		{
			return  (myMonth + '/' + myDate + '/' + myYear);
			break;
		}
		case 'yyyy/mm/dd' :
		{
			return  (myYear + '/' + myMonth + '/' + myDate);
			break;
		} 
	}
}