function nav_cat(catId)
{
	if (catId == 0) window.location.href = 'index.php';
	else window.location.href = 'index.php?catId=' + catId;
}