{if $items|is_array && $items|@count > 0}
	<div class="products_carusel_container">
		{if $items|@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="8"
			>
			{foreach from=$items item=entry}
				<div>
					{if $entry->fields.nuotrauka1->value|is_array && $entry->fields.nuotrauka1->value|@count > 0}{* filter_croptofit='80,80,c,1' *}
						<a href="{$entry->detail_url}" style="background-image:url({CGSmartImage src="`$entry->fields.nuotrauka1->value[0]`" filter_resize='w,80' max_height='80' quality=100 notag="1"})">
							<span>{$entry->fields.pavadinimas->value.$kalba}</span>
						</a>
					{else}
						<a href="#">
							<span>{$entry->fields.pavadinimas->value.$kalba}</span>
						</a>
					{/if}
				</div>
			{/foreach}
		</div>
	</div>
{/if}
