﻿$(function() {
	// top
	$('#topSlideshow').cycle({
		fx:     'fade',
		speed:  '1000',
		timeout: 6000,
		pager:  '#topSlideNav',
		pagerAnchorBuilder: function(idx, slide) {
			// return sel string for existing anchor
			return '#topSlideNav li:eq(' + (idx) + ') a';
		}
	});
	
	// 
	$('#slideshow').cycle({
		fx:     'fade',
		speed:  '1000',
		timeout: 4000,
		pager:  '#slideNav',
		pagerAnchorBuilder: function(idx, slide) {
			// return sel string for existing anchor
			return '#slideNav li:eq(' + (idx) + ') a';
		}
	});
});
