function init()
{
	var $container = $('#box_banner').cycle({ 
	    fx:     'fade', 
	    speed:   1000, 
	    timeout: 10000 
	}); 
	
	$container.children().each(function(i) {
		//<li><a href="#">2</a></li>
	    // create input 
	    $('<li><a id="banner_'+i+'">'+(i+1)+'</a></li>') 
	        // append it to button container 
	        .appendTo($("#navegacao ul")); 
	        // bind click handler 
	    $("#banner_"+i).click(function() { 
	            // cycle to the corresponding slide
	            $container.cycle(i); 
	            return false; 
	        }); 
	});
	
	$("#text_tweets").newsTicker(10000);
}

$("document").ready(init);
