<!--
function escreveStatus(texto){
	window.status = texto
}

function apagaStatus(texto){
	window.status = ""
}


//Efeito rodape
tempo = 10;
chars = 5;
texto = "Digiweb | O endereço do seu site";
wtexto = new Array(33);
wtexto[0] = texto;
blnk = "";//Mantenha este espao

for (i = 1; i < 32; i++) {
	b = blnk.substring(0, i);
	wtexto[i] = "";

	for (j = 0; j < texto.length; j++) wtexto[i] = wtexto[i] + texto.charAt(j) + b;	}

function animastatus() {
	if (chars > -1) str = wtexto[chars]; 
	else str = wtexto[0];
	if (chars-- < -40) chars = 31;
	status = str;
	clearTimeout(tempo);
	tempo = setTimeout("animastatus()", 7000000);
}

animastatus()

//Busca
function envia(){
	document.form.submit();
}

function checkBusca(){
	envia = true
	if(document.buscaGeral.areaId.value == ""){
		alert('Por favor, para realizar uma busca \nselecione uma categoria!');
		document.buscaGeral.areaId.focus();
		envia = false;
		return;
	}
	if(envia){
		document.buscaGeral.submit();
	}
}

	
//Controle de tamanho do texto
var Tamanho=12;
function TextoTamanho(funcao){
  if(funcao=='aumenta'){
	if(Tamanho<22){
	  
	  Tamanho=Tamanho+2;
	  document.getElementById('Texto1').style.fontSize = Tamanho + 'px';
	  document.getElementById('Texto2').style.fontSize = (Tamanho + 2) + 'px';
	}
  }
  
  if(funcao=='diminui'){
	if(Tamanho>12){
	  
	  Tamanho=Tamanho-2;
	  document.getElementById('Texto1').style.fontSize = Tamanho + 'px';
	  document.getElementById('Texto2').style.fontSize = (Tamanho + 2) + 'px';
	}
  }
}

//Protecao
//function click() {
//if (event.button==2||event.button==3) {
// oncontextmenu='return false';
//  }
//}
//-->