$(document).ready(function(){



  	/*$.ajax({
			url: "noticias_home.php",
			dataType: 'xml',
			type: 'GET',
			//timeout: 10000,
			success: function(data, textStatus){
				
				var html = '';
				$(data).find('NOTICIA').each(function (i) {
				html += '<li>'
				html +='<div class= "modulo">'
				html +='<span class= "data">'+ $(this).find('DATA').text() +'</span>'
				html += '<a class="thickbox" href="noticia_completa.php?page=noticia&id='+$(this).find('ID').text()+'"><p class="Htitulo">'+ $(this).find('TITULO').text()+ '</p> </a>'
				//html += '<p class="resumo"><a class="thickbox" href="js/noticia_completa.php?page=noticia&id='+$(this).find('ID').text()+'">' + $(this).find('RESUMO').text() + '</a></p>'
				html += '</div></li>';
				
				
				});
				
				$('#noticiasHome ul').html("<li><img src=\"img/ajax-loader.gif\" alt=\"Carregando\" class=\"ajaxLoader\" /></li>");
				$('#noticiasHome ul').html(html);
				tb_init('a.thickbox, area.thickbox, input.thickbox');

				
			}
	   })*/
	   
	   $.post("noticias-blog.php",function(data){
		   $("#noticiasHome ul li").empty();
		   $("#noticiasHome ul").append(data);
		})
	
	
});

