function textoHeader(texto) {
  document.getElementById("textoHeader").innerHTML=texto;
}
function getURL(url, target) {
	if (target == "_parent" && url != "")
		parent.window.location.href = url;
	else if(target == "_blank" && url != "")
		window.open(url);
	else
		alert('Conteúdo Não Disponível');
}
function menuOver(obj) {
	obj.style.backgroundColor = "#FFF";
	obj.style.cursor = "hand";
}
function menuOut(obj) {
	obj.style.backgroundColor = "";
	obj.style.cursor= "arrow";
}
function menuOverTitulo(obj) {
	obj.style.cursor = "hand";
}
function menuOutTitulo(obj) {
	obj.style.cursor= "arrow";
}
function linkOver(obj) {
	obj.style.cursor = "hand";
}
function linkOut(obj) {
	obj.style.cursor= "arrow";
}
function selOver(objeto) {
	objeto.style.backgroundColor='#316ac5';
	objeto.style.color='#FFFFFF';
}
function selOut(objeto) {
	objeto.style.backgroundColor='';
	objeto.style.color='';
}
function tituloOver(objeto) {
	objeto.style.backgroundColor='#faf8f3';
	objeto.style.borderBottomColor='#f9b119';
}
function tituloOut(objeto) {
	objeto.style.backgroundColor='';
	objeto.style.borderColor='';
}
function popup(url, name, width, height)
{
   var str = "height=" + height + ",innerHeight=" + height;
		str += ",width=" + width + ",innerWidth=" + width;
		str += ",status=yes,scrollbars=yes,resizable=no";
		  if (window.screen)
		{
				var ah = screen.availHeight - 30;
				var aw = screen.availWidth - 10;
				var xc = (aw - width) / 2;
				var yc = (ah - height) / 2;

				str += ",left=" + xc + ",screenX=" + xc;
				str += ",top=" + yc + ",screenY=" + yc;
		}
		var win = window.open(url, name, str);
}