title: want level 2 category name in magento
body: <pre><code> $product = Mage::getModel('catalog/product')-&gt;load($item-&gt;getProductId());
   $pro = $product-&gt;getCategoryName(); //category id is fetched here
   $category = Mage::getModel('catalog/category')-&gt;load($pro);
  </code></pre>
  
  <ul>
  <li>Root Catalog
  <ul>
  <li>Furniture</li>
  <li>Electronics
  <ul>
  <li>Computer
  <ul>
  <li>Processor</li>
  </ul></li>
  </ul></li>
  <li>Apparel</li>
  </ul></li>
  </ul>
  
  <p>So when i get processor as category name, i want to display its level 2 category name that is Electronics</p>