title: Add active class to current subcategory
body: <p>With the code blow I retrieve the current parent category and his children. Is it possible to add an active class for the current child?</p>
  
  <pre><code>&lt;?php
  $currentCat = Mage::registry('current_category');
  if ( $currentCat-&gt;getParentId() == Mage::app()-&gt;getStore()-&gt;getRootCategoryId() )
      {
      $loadCategory = $currentCat;
      }
      else
      {
      $loadCategory = Mage::getModel('catalog/category')-&gt;load($currentCat-&gt;getParentId());
      }
      $subCategories = explode(',', $loadCategory-&gt;getChildren());
      foreach ( $subCategories as $subCategoryId )
      {
      $cat = Mage::getModel('catalog/category')-&gt;load($subCategoryId);
      if($cat-&gt;getIsActive())
          {
          echo '&lt;li&gt;&lt;a href="'.$cat-&gt;getURL().'"&gt;'.$cat-&gt;getName().'&lt;/a&gt;&lt;/li&gt;';
          }
       }
  ?&gt;
  </code></pre>