var LinkSystem_iCurrCatNo;
function LinkSystem_setViewCat(iCatNo) {
	var oCatList = document.getElementById("LinkSystemCatList" + iCatNo);
	var oCatTab = document.getElementById("LinkSystemCatTab" + iCatNo);
	
	if ( LinkSystem_iCurrCatNo ) {
		var oOldCatList = document.getElementById("LinkSystemCatList" + LinkSystem_iCurrCatNo);
		var oOldCatTab = document.getElementById("LinkSystemCatTab" + LinkSystem_iCurrCatNo);
		
		oOldCatList.style.display = "none";
		oOldCatTab.className = oOldCatTab.getAttribute('prevClassName');
	}
	
	oCatList.style.display = "block";
	oCatTab.setAttribute("prevClassName", oCatTab.className);
	oCatTab.className += " currentTab";
	
	LinkSystem_iCurrCatNo = iCatNo;
} 


