<?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) 2013 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
<title><?php if($this->getTitle()!="Shopping cart")echo $this->getTitle(); else echo "Shopping basket" ?></title>
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
<link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
<link href='http://fonts.googleapis.com/css?family=Crimson+Text' rel='stylesheet' type='text/css'>

<!--[if lt IE 7]>
<script type="text/javascript">
//<![CDATA[
    var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
    var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
//]]>
</script>
<![endif]-->
<script src="<?php echo $this->getSkinUrl('js/jquery-1.7.1.min.js');?>"></script>
<?php echo $this->getCssJsHtml() ?>
<?php echo $this->getChildHtml() ?>
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
<?php echo $this->getIncludes() ?>

<?php if(!$this->getIsHomePage()) { }else{?>
<script type="text/javascript">
			//jQuery(window).load(function(){ //$(window).load() must be used instead of $(document).ready() because of Webkit compatibility				
			jQuery( document ).ready(function() {
			//alert('HELLO')
				// Tabs > Standard
				jQuery(".tabs-standard").sliderkit({
					auto:false,
					tabs:true,
					mousewheel:true,
					circular:true,
					panelfx:"none"
				});
				
				var myStandardTabs = jQuery(".tabs-standard").data("sliderkit");
				jQuery("#tabs-standard-slide").click(
					function(){
						// Applies only once
						if(jQuery(".sliderkit-panels-wrapper",myStandardTabs.domObj).size() == 0){
							// Set the transition effect to "sliding"
							myStandardTabs.options.panelfx = "sliding";
							// The sliding effect requires a wrapper around the panels
							myStandardTabs._wrapPanels();
						}
						
						// Stops the click
						return false;
					}
				);
			});	
		</script>
<?php }?>		