$(function() {
		$.ajax({cache: false,
			url: '/banners/bannerhome',
			success: function(result){
				$(".bannerdestaque").html(result);
				$('#slider').nivoSlider({
			        effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
			        animSpeed:500, // Slide transition speed
			        pauseTime:3000, // How long each slide will show
			        startSlide:0, // Set starting Slide (0 index)
			        directionNav:false, // Next & Prev navigation
			        controlNav:true, // 1,2,3... navigation
			        controlNavThumbs:false, // Use thumbnails for Control Nav,
			        cache:false
			    });
			},
			dataType: 'html'
		});
});

$(function() {
	$.ajax({cache: false,
		url: '/banners/noticiashome',
		success: function(result){
			$(".destaquesdoe").html(result);
		},
		dataType: 'html'
	});
});
/*
$(function() {
	$.ajax({cache: false,
		url: '/banners/dicassaude',
		success: function(result){
			$(".dicas").html(result);
		},
		dataType: 'html'
	});
});
*/

$(function() {
	$.ajax({cache: false,
		url: '/banners/dicassaude',
		success: function(result){
			$(".dicas_dica").html(result);
		},
		dataType: 'html'
	});
});


$(function() {
	$.ajax({cache: false,
		url: '/banners/enqueteshome',
		success: function(result){
			$(".enquete").html(result);
		},
		dataType: 'html'
	});
});

$(function() {
	$.ajax({cache: false,
		url: '/banners/nuvem',
		success: function(result){
			$(".nuvem_home").html(result);
		},
		dataType: 'html'
	});
});
/*
$(function() {
	$.ajax({cache: false,
		url: '/banners/newshome',
		success: function(result){
			$(".novidades").html(result);
		},
		dataType: 'html'
	});
});
*/
