<div id="product" class="pagerow"<?# productStyle ?>>
	<div class="workframe">
		<h2 class="titleBox" data-paroller-factor="0.1" data-paroller-type="foreground"><font><?# indexPTitle ?></font></h2>
		<div class="pro-list">
			<php:repeater id="listP">
			<template>
			<div>
				<div class="bgBox" style="background-image:url(<?# IconImage ?>);">
					<a class="link" href="<?# link ?>" title="<?# ProductName ?>"></a>
					<img src="/images/30/img-productPhoto.png" alt="<?# ProductName ?>">
					<div class="info">
						<h3 class="text-clamp"><?# ProductName ?></h3>
						<p class="price"<?# sellStyle ?>><span class="old"<?# oldPriceStyle ?>>&#36;<b><?# OldPrice ?></b></span><span<?# priceStyle ?>>&#36;<b><?# Price ?></b></span></p>
						<font class="goTxt">MORE</font>
					</div>
				</div>
			</div>
			</template>
			</php:repeater>
		</div>
		<p class="more"><a href="<?# indexPMLink ?>" title="<?# indexPMLinkTitle ?>"><?# indexPMLinkTitle ?><font class="dote"><span></span><span></span><span></span></font></a></p>
	</div>
</div>
<script>
	$(function(){
		$('#product .titleBox').paroller();
		$('#product .pro-list').slick({
			autoplay: true,
			dots: false,
			arrows: false,
			infinite: false,
			speed: 300,
			slidesToShow: 5,
			slidesToScroll: 1,
			responsive: [{
				breakpoint: 1281,
				settings: { slidesToShow: 4, slidesToScroll: 1 }
			},{
				breakpoint: 981,
				settings: { slidesToShow: 3, slidesToScroll: 1 }
			},{
				breakpoint: 641,
				settings: { slidesToShow: 2, slidesToScroll: 1 }
			}]
		});
	});
	$(window).scroll(function(){
		if($(document).scrollTop() >= $("#product").position().top){
			$('#gradient').css('background', 'rgba(130, 179, 173, .2)');
		}
	});
</script>