I am trying to call all subcategories of the current category and grab their subcategories (3rd level).

I am using the following code to call all children of the current category:

```
<?php
$category = Mage::getSingleton('catalog/layer')->getCurrentCategory();
$categories = $category->getCollection()
        ->addAttributeToSelect(array('name'))
        ->addAttributeToFilter('is_active', 1)
        ->addIdFilter($category->getChildren())
        ->setOrder('name', 'asc')
?>

    <?php foreach ($categories as $category): ?>
    <div>
          <a href="<?php echo $category->getUrl() ?>"><img class="" src="" alt="<?php echo $this->htmlEscape($category->getName()) ?>" alt="<?php echo $this->htmlEscape($category->getName()) ?>" /></a>
          <div>
          <a href="<?php echo $category->getUrl() ?>"><h3><?php echo $category->getName() ?></h3></a>
          <hr>
          <a href=""><p></p></a> // Want 3rd level categories listed here
          </div>
    </div>
    <?php endforeach; ?>

```

This gives me a nice list of all the subcagetories of the current category but **how would I insert the 3rd level categories inside this part?**

```
          <a href=""><p></p></a>

```

Trying to accomplish a list like this:

```
Clothing
   Shirts
   Shoes
Accessories
   Scarfs
   Jewelry

```