			{if $filename eq "cart"}{php}$filename = 'cart';{/php}{/if}	{* Setting the PHP variable *}
			
			{php}
			$start_OB = ob_start ( );
			session_start ( );
			$cart_count = count ( $_SESSION [ 'cart' ] [ 'products' ] );
			$flush_OB = ob_flush ( );		
			{/php}			
			
			
			
			{php} if ($filename=='cart' OR $cart_count>0) { {/php}
			
			<div class="carttab">
			
				<div class="buttons">
					<a href="cart.php?a=view" class="button1 color1">{$LANG.header_viewcart}</a>
					<a href="cart.php?a=checkout" class="button1 color2">{$LANG.header_checkout}</a>
				</div>		
			
				<div class="contents">
					<p>{$LANG.header_items} <strong>{php} echo $cart_count; {/php}</strong></p>
				</div>
			
			</div><!-- .carttab -->			
			
			{php} } else { {/php}
			
			<div class="livechat">
				<a href="#">&nbsp;</a>
			</div>
			
			<div class="phone">
				<p>{$LANG.header_phone}</p>
			</div>
			
			{php} } {/php}