﻿function OpenCat(catID){
	var elm=document.getElementById('Cat'+catID);
	var fatherElm=document.getElementById('Father'+catID);
	if (elm.className=='HiddenCat'){
		elm.className='ShowedCat'
		fatherElm.className='OpenedCat'
		}
	else{
		elm.className='HiddenCat';
		fatherElm.className='ClosedCat'
	}
}
