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

$(function() { 
	destaque.start();
	
});
