<?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@magentocommerce.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.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
/**
 * @var Mage_Page_Block_Html_Header $this
 */
?>
<header>
	<div class="header-container">
		<div class="header">
			<div class="header-top-left">
				<a href="<?php echo $this->getUrl('checkout/cart')?>"><img src="<?php echo $this->getSkinUrl('images/icon_cart.gif')?>" alt="icon my cart" /></a>
				<?php echo $this->__('My cart: ')?>
				<a href="<?php echo $this->getUrl('checkout/cart')?>"><span class="bold-items"><?php echo Mage::helper('checkout/cart')->getCart()->getItemsCount();?></span><?php echo $this->__(' items') ?></a>
			</div>
			<div class="header-top-center">
				<div class="mw_right_head">
					<p class="welcome-msg"><?php echo $this->getWelcome() ?> <?php echo $this->getAdditionalHtml() ?><?php echo $this->getChildHtml('important') ?></p>
					<?php echo $this->getChildHtml('topLinks') ?>
				</div>
			</div>
			<div class="header-top-right">
				<?php echo $this->getChildHtml('topSearch') ?>
			</div>
			<div class="clear_both"><span> </span></div>
		</div>
	</div>
	<div class="header-bottom-container">
		<div class="header-bottom">
			<?php if ($this->getIsHomePage()):?>
				<h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
				<?php else:?>
				<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
			<?php endif?>
			<div class="menu-nav-top">
				<?php echo $this->getChildHtml('topMenu') ?>
			</div>
		</div>
		<div class="clear_both"><span></span></div>
	</div>
	<?php if(Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms' && Mage::getSingleton('cms/page')->getIdentifier() == 'home') : ?>
	<div class="banner-header">
		<div class="banner-header-main">
			<div class="banner-total">
				<?php echo $this->getChildHtml('banner') ?>
			</div>
			<div class="feadture-home">
				<?php echo $this->getChildHtml('feadture-product') ?>
			</div>
			<div class="clear_both"><span></span></div>
		</div>
	</div>
	<?php endif;?>
</header>