Here are some of the codes that will help retrieving information about the current or selected store.
Load store object with below code. This will load current store by default unless you pass store id.
$store = Mage::app()->getStore(); // see below for magento core function