Found solution on Magento forums: http://www.magentocommerce.com/boards/viewthread/8296/
You need to create a copy of the app/design/frontend/base/default/template/page/switch/stores.phtml in your custom theme package.
Then you must change it to use the following code:
<?php $websites = Mage::app()->getWebsites(); if (count($websites) > 1): ?> <div class="website-switcher"> <label for="select-website"><?php echo $this->__('Select Store:') ?></label> <select id="select-website" title="<?php echo $this->__('Select Store') ?>" onchange="location.href=this.value"> <?php foreach ($websites as $website): <?php $_selected = $website->getCode() == Mage::app()->getWebsite()->getCode() ? ' selected="selected"' : '' ?> <option value="<?php echo $website->getDefaultStore()->getBaseUrl()?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($website->getName()) ?></option> <?php endforeach; ?> </select> </div> <?php endif; ?>
Links to Magento API documents for the methods used:
source share