$(document).ready(function(){
	
	
$(function(){
	  $('#conteudoo').hide();
	})

	var noticia;  
	var hash = window.location.hash;
	if (hash !='')
	{
	noticia = $(hash).html(); // se for passado index.htm#noticia3 ela devolve #noticia3
	  $('.abas li a[href="' + hash + '"]').parent().addClass('hover');    
	} 
	
	if (hash !='')
	{
	
	} else {
	  noticia = $('#conteudoo div:first-child').html();      
	  $('.abas li:first-child').addClass('hover');    
	}
	
	//$('#noticia').append('<div>' + noticia + '</div>').find('div').slideDown();
	
	
	
	
	
	$('.abas li a').click(function(){
	$('.abas li').removeClass('hover');
	$(this).parent().addClass('hover');
	var ancora = $(this).attr('href');
	var nome = ancora.substr(1, ancora.length);
	noticia = $('#conteudoo div[id="' + nome + '"]').html();
	$('#noticia').empty();
	$('#noticia').append('<div>' + noticia + '</div>').find('div').slideDown();
	return false();
	})
		


});



