<script type="text/javascript" src="<?php echo $this->websiteUrl; ?>system/js/newsscroller/newsscroller.js"></script>
<div id="newsScroller" onmouseover="stopScroller();" onmouseout="startScroller();">
	<?php $i=0; foreach ($this->newsList as $newsItem): ?>
		<div class="scrollerItem" style="display: <?php if ($i == 0): ;?>block<?php else: ?>none<?php endif; ?>;">
			<h2><a href="<?php echo $this->websiteUrl . $this->newsFolder . '/' . $newsItem['url']; ?>.html"><?php echo $newsItem['title']; ?></a></h2>
			<p><?php echo strip_tags($newsItem['description']); ?></p>
		</div>
	<?php $i++; endforeach; ?>
</div>
<script type="text/javascript">
	initScroller('newsScroller');
</script>