function validaCampos()
		{
			var assunto = document.getElementById("assunto");	
			var nome = document.getElementById("nome");	
			var email = document.getElementById("email");	
			var msn = document.getElementById("msn");	
			var form = document.getElementById("form_envia");
			
			if (assunto.value == "" )
				alert('Campo assunto obrigatório');
			else if (nome.value == "" || nome.value == "NOME")
				alert('Campo nome obrigatório');
			else if (!checkMail(email.value))
				alert('Campo e-mail inválido');
			else if (msn.value=="" || msn.value == "MENSAGEM")
				alert('Campo mensagem obrigatório');
			else
				form.submit();
		}
		function checkMail(mail){
			var er = new RegExp(/^[A-Za-z0-9_\-\.]+@[A-Za-z0-9_\-\.]{2,}\.[A-Za-z0-9]{2,}(\.[A-Za-z0-9])?/);
			if(typeof(mail) == "string"){
				if(er.test(mail)){ return true; }
			}else if(typeof(mail) == "object"){
				if(er.test(mail.value)){ 
							return true; 
						}
			}else{ 
				return false;
				}
		}
 
$(document).ready(function() {

			$.featureList(
				$("#tabs li a"),
				$("#output li"), {
					start_item	:	1
				}
			);
});// JavaScript Document


// Início do código de Aumentar/ Diminuir a letra   
// Para usar coloque o comando: "javascript:mudaTamanho('tag_ou_id_alvo', -1);" para diminuir 
// e o comando "javascript:mudaTamanho('tag_ou_id_alvo', +1);" para aumentar   
var tagAlvo = new Array('p');
//pega todas as tags p//   
// Especificando os possíveis tamanhos de fontes, poderia ser: x-small, small... 
var tamanhos = new Array('11px','12px','13px','14px','15px','16px','17px','18px','19px','20px','21px','22px','23px'); 
var tamanhoInicial = 4;   
function mudaTamanho(idAlvo, acao)
{   
  if (!document.getElementById) return   
  var selecionados = null,tamanho = tamanhoInicial,i,j,tagsAlvo; 
  tamanho += acao;   
  if ( tamanho < 0 ) tamanho = 0;   
  if ( tamanho > 13 ) tamanho = 13;   
  tamanhoInicial = tamanho;   
  if ( !( selecionados = document.getElementById( idAlvo ) ) ) selecionados = document.getElementsByTagName( idAlvo )[ 0 ];      
  
  selecionados.style.fontSize = tamanhos[ tamanho ];      
  
  for ( i = 0; i < tagAlvo.length; i++ ){ 
	tagsAlvo = selecionados.getElementsByTagName( tagAlvo[ i ] );     
	for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanhos[ tamanho ];  
  } 
} 


   
$(document).ready(function() {
	$("#abre-compartilha").toggle(function() {
		$("#container-holder-meio-interna-comentario").show('fast');
		}, function() {
		$("#container-holder-meio-interna-comentario").hide('fast');
	});
}); 


$(document).ready(function() {
	$("#img_ultimas").click(function() {
		 $("#container-holder-meio-interna-noticias2").hide('fast');
		 $("#container-holder-meio-interna-noticias").show('fast');
		 $("#img_ultimas").attr("src","../imgs/ultimas-noticias-select.jpg");
		 $("#img_acessadas").attr("src","../imgs/mais-acessadas-noticias.jpg");
		 $("#container-holder-meio-interna-btn-ultimas").css({ "z-index": "3" })
		 $("#container-holder-meio-interna-btn-mais").css({ "z-index": "2" });
		 
	});
	$("#img_acessadas").click(function() {
		 $("#container-holder-meio-interna-noticias").hide('fast');
		 $("#container-holder-meio-interna-noticias2").show('fast');
		 $("#img_ultimas").attr("src","../imgs/ultimas-noticias.jpg");
		 $("#img_acessadas").attr("src","../imgs/mais-acessadas-noticias-select.jpg");
		 $("#container-holder-meio-interna-btn-ultimas").css({ "z-index": "2" })
		 $("#container-holder-meio-interna-btn-mais").css({ "z-index": "3" });
	});
}); 





