
function abre_radio() {
	var x = 380;
	var y = 145;
	var pagina = 'radio.php';
	var left_=(screen.width-x)/2;
	var top_=((screen.height-y)/2)-20;
	remote = window.open(pagina,'radio_cultura','left='+ left_ +',top='+top_+',toolbar=no,location=no,directories=no,statusbar=no,menubar=no,scrollbars=0,resizable=no,menubar=no,width='+x+',height='+y)
}

function evento_dia(d) {
	window.open('index.php?id=eventos&d='+d, '_self');	
}

<!-- PARTE DE ENVIO DE MSG DOS CLASSIFICADOS -->
function limpa() {
	document.form_msg.nome.value="";
	document.form_msg.email.value="";
	document.form_msg.telefone.value="";
	document.form_msg.mensagem.value="";
}

function setarCampos() {
	campos = "txtNome="+encodeURI(document.form_msg.nome.value)+"&txtEmail="+encodeURI(document.form_msg.email.value)+"&txtTelefone="+encodeURI(document.form_msg.telefone.value)+"&txtMsg="+encodeURI(document.form_msg.mensagem.value)+"&id=<?=$_GET['c'];?>";
}

function lista_noticias(x) {
	if (x==1) {
		document.getElementById('img_ultimas').src="../img/t_ultimas_noticias_a.gif";
		document.getElementById('img_mais').src="../img/t_mais_lidas_b.gif";
		exibe('um', 'lista_noticias.php?t=1', 'lista_noticias_int');
	} else if (x==2) {
		document.getElementById('img_ultimas').src="../img/t_ultimas_noticias_b.gif";
		document.getElementById('img_mais').src="../img/t_mais_lidas_a.gif";
		exibe('um', 'lista_noticias.php?t=2', 'lista_noticias_int');
	}
}


var tam = 11;

function mudaFonte(tipo,div_) {
  if (tipo == 'mais' ) {
    if( tam < 16 ) tam += 2 ;    			 
  } else {
    if( tam > 9 ) tam -= 2 ;
  }
  domElement = document.getElementById(div_);
  domElement.style.fontSize = tam+'px';
}



function votar(a) {
	for (i=0;i<document.form_enquete.resp_enquete.length;i++){ 
       if (document.form_enquete.resp_enquete[i].checked) 
          break; 
    } 
    var b = document.form_enquete.resp_enquete[i].value ;
	exibe('oito', 'grava_enquete.php?a='+a+'&b='+b, 'enquete_muda');
}

function enquete_parcial(a) {
	exibe("sete", 'resultado_enquete.php?t=1&a='+a, 'enquete_muda');
}

function voltar_enquete(a) {
	exibe("sete", 'enquete_exibe.php?a='+a, 'enquete_muda');
}