<div id="bookBox" class="indexbox">
	<div class="bg"><div<?# bookStyle ?>></div></div>
	<div class="bookinfo">
		<h3 class="boxtit rightBox"><?# indexBTitle ?></h3>
		<div class="list">
			<ul>
				<php:repeater id="listB">
				<template>
				<li>
					<div class="img"><a class="photo" href="<?# link ?>" title="<?# BookName ?>" style="background-image: url(<?# BookImage ?>);"><img src="/images/36/img-bookPhoto.png" alt="<?# BookName ?>" /></a></div>
					<div class="info"><a class="text-clamp" href="<?# link ?>" title="<?# BookName ?>"><?# BookName ?></a></div>
				</li>
				</template>
				</php:repeater>
			</ul>
			<div class="btns rightBox">
				<a id="bookPBtn" href="javascript:void(0);" title="PREV"><i class="fas fa-chevron-left"></i></a>
				<a id="bookNBtn" href="javascript:void(0);" title="NEXT"><i class="fas fa-chevron-right"></i></a>
			</div>
		</div>
		<p class="more"><a href="<?# indexBMLink ?>" title="<?# indexBMLinkTitle ?>"><?# indexBMLinkTitle ?></a></p>
	</div>
</div>
<script>
	$(function(){
		$('#bookBox .bookinfo ul').slick({
			autoplay: true,
			infinite: true,
			dots: true,
			speed: 500,
			fade: true,
			cssEase: 'linear',
			prevArrow:$("#bookPBtn"),
			nextArrow:$("#bookNBtn")
		});
	});
</script>