var page = {
	tempo_banner: 5
}
var banner = {
	options: {
		tempo: page.tempo_banner,
		box: '#box-banner',
		nav: '.menu-banner'
	},
	start: function() {
		var opt = this.options;
		$(opt.box).cycle({
			fx: 'fade',
			speed: 'fast',
			timeout: (opt.tempo * 1000),
			pager: opt.nav,
			sync: true,
			pagerAnchorBuilder: function(idx, slide) {
				return opt.nav + ' li:eq(' + (idx) + ') a';
			}
		});
	}
}

$(function() { 
	banner.start();
});
