<div id="bookBox"<?# bookStyle ?>>
	<div class="workframe">
		<h2 class="titleBox wow"><?# indexBTitle ?></h2>
		<ul>
			<php:repeater id="listB">
			<template>
			<li>
				<a class="photo" href="<?# link ?>" style="background-image:url(<?# BookImage ?>);" title="<?# BookName ?>">
					<img src="/images/30/p-blank.png" border="0" alt="<?# BookName ?>" />
					<font><?# BookName ?></font>
				</a>
			</li>
			</template>
			</php:repeater>
		</ul>
		<p class="more"><a href="<?# indexBMLink ?>" title="<?# indexBMLinkTitle ?>"><?# indexBMLinkTitle ?><font class="dote"><span></span><span></span><span></span></font></a></p>
	</div>
</div>
<script>
	$(function(){
		$('#bookBox ul').slick({
			autoplay: true,
			dots: false,
			arrows: false,
			infinite: false,
			speed: 300,
			slidesToShow: 8,
			slidesToScroll: 1,
			responsive: [{
				breakpoint: 1280,
				settings: { slidesToShow: 6, slidesToScroll: 1 }
			},{
				breakpoint: 801,
				settings: { slidesToShow: 4, slidesToScroll: 2 }
			},{
				breakpoint: 641,
				settings: { slidesToShow: 2, slidesToScroll: 1 }
			}]
		});
	});
	$(window).scroll(function(){
		if($(document).scrollTop() >= $("#bookBox").position().top){
			$('#gradient').css('background', 'rgba(241, 234, 168, .2)');
		}
	});
</script>