title: Find root category of store
body: <p>I am using Magento ver1.6.1. I need to get the root category of a store. I search in google by didn't get any good idea/code. Let me know how to get the root category of a store?</p>
  
  <pre><code>Mage::app()-&gt;getStore()-&gt;getRootCategoryId()
  </code></pre>
  
  <p>The above code gives the default root category, but I need the category Id which we select during store creation.</p>