Admitting up front I'm a newbie... but I've poked around a little and could not figure it out.

How do I access the current category and subcategory names for the page being rendered? I'm trying to add some stuff to my main_page.tpl.php file which is sensitive to the current category and subcategory being viewed.

thanks in advance,
paul[/b]