title: How do I get the default store ID of a website in Magento?
body: <p>I want to get the default store ID of currently active website. I tried <code>Mage::app()-&gt;getStoreId()</code>, but that gets the current store, not the default store ID of the current website.</p>
  <p>How can I get it?</p>