<?php if ($mod == '1') { ?>
<div class="box">
 <div class="title_left"><div class="title_right"><div class="title_middle"><?php echo $mod_title; ?></div></div></div>
  <div class="box-content" style="padding: 10px 0 0 0;">
	<div id="carousel<?php echo $module; ?>">
	  <ul class="jcarousel-skin-opencart">
		<?php foreach ($banners as $banner) { ?>
		<li><a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></a></li>
		<?php } ?>
	  </ul>
	</div>
  </div>
  <div class="bottom_left"><div class="bottom_right"><div class="bottom_middle"> </div></div></div>
</div>
<?php } else { ?>
<div class="box">
 <div class="title_left_2"><div class="title_right_2"><div class="title_middle_2"></div></div></div>
  <div class="box-content" style="padding: 10px 0 0 0;">
	<div id="carousel<?php echo $module; ?>">
	  <ul class="jcarousel-skin-opencart">
		<?php foreach ($banners as $banner) { ?>
		<li><a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></a></li>
		<?php } ?>
	  </ul>
	</div>
  </div>
  <div class="bottom_left"><div class="bottom_right"><div class="bottom_middle"> </div></div></div>
</div>
<?php } ?>
<script type="text/javascript"><!--
$('#carousel<?php echo $module; ?> ul').jcarousel({
	vertical: false,
	visible: <?php echo $limit; ?>,
	scroll: <?php echo $scroll; ?>
});
//--></script>