<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<div class="footer-container">
    <div class="footer">
    <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('footer_links')->toHtml() ?>
    <div class="clear"></div>
    <div class="contacts">
        <div class="f-left"><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contacts')->toHtml() ?></div>
        <img class="payments" src="<?php echo $this->getSkinUrl('images/payments.gif') ?>" alt="MasterCard, Maestro, Visa, AmericanExpress"/>
    </div>
    <br />
    <p class="legality">
        <?php echo $this->getCopyright() ?>
        <!-- This theme is avalable udner Creative Commons License http://creativecommons.org/licenses/by/3.0/    Removing links to is similarly prohibited. -->Magento Theme by <a href="http://templates-master.com" title="Templates master" rel="nofollow">templates-master.com</a><!-- Removing links to is similarly prohibited.  -->
        <?php echo $this->getChildHtml('store_switcher') ?>
    </p>
    <div class="clear"></div>
    </div>
</div>

<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/productInfo.js') ?>"></script>
<script type="text/javascript">
    Event.observe(window, 'load', function() {
        new ProductInfo('.ajax', 'p.product-image a', {
            'loader': "<?php echo $this->getSkinUrl('images/ajax_loader.gif')?>",
            'loadingMessage': "<?php echo $this->__('Loading') ?>"
        });
    });
</script>