<?php if (!defined('FLUX_ROOT')) exit; ?>
<script>
$('#mallcon').cycle({ 
    	fx:    'scrollHorz', 
    	speed:    500, 
    	timeout:  5000,
		prev:   '#prev1', 
		next:   '#next1',
		pager:  '#slidenav', 
		pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '#slidenav li:eq(' + idx + ') a'; 
    	} 
		
});
</script>
<div id="mallcon">
	<?php
	$c=count($quotes);
	for($i=0; $i < $c; $i++){
	?>
	<table border="0" cellpaddin="0" cellspacing="0" width="97%" style="height: 100%; position: absolute; overflow:hidden; text-align:center ">
		<tr>
			<td align="center">
				<font style="color:#333; font-size:10px; font-family:Calibri; text-align:center"><?php echo $quotes[$i][0]; ?></font>
			</td>
		</tr>
	</table>
	<?php
	}
	?>
</div>
<div id="prev1"><a href="#"><img src="<?php echo $this->themePath('img/arrow_left.png'); ?>" /></a></div>
<div id="next1"><a href="#"><img src="<?php echo $this->themePath('img/arrow_right.png'); ?>" /></a></div>

