
<div class="products_carusel_container">
	{if $hierdata|@count > 7}
		<a href="#" class="products_carusel_back"><span></span></a>
		<a href="#" class="products_carusel_next"><span></span></a>
	{/if} 
	<div class="cycle-slideshow products_carusel"
		data-cycle-fx="carousel"
		data-cycle-timeout="200000"
		data-cycle-slides="> div"
		data-cycle-pause-on-hover="true"
		data-cycle-log="false"
		data-cycle-prev=".products_carusel_next"
		data-cycle-next=".products_carusel_back"
		data-cycle-carousel-visible="{if $hierdata|@count<8}{$hierdata|@count}{else}8{/if}"
		>
		{foreach from=$hierdata key='key' item='item2'}
			<div>
				<a href="{$item2.url}" style="{if $item2.image != ''}background-image:url({CGSmartImage src="`$hierarchy_image_location`/`$item2.image`" filter_croptofit='80,80,c,1' quality=100 notag=1}){/if}">
					<span>{$item2.name.$kalba}</span>
				</a>
			</div>
		{/foreach}
	</div>
</div>
