function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function hide(object) {
	var alvo = document.getElementById(object);
	alvo.style.visibility = 'hidden';
}
function show(object) {
	var alvo = document.getElementById(object);
	alvo.style.visibility = 'visible';
}
function noticia(msg) {
	// Begin - SCRIPT DE NOTÍCIA - ROLAR AUTOMÁTICO	
	var swidth=471 //scroller width 
	var sheight=80 //scroller height 
	var sspeed=2 //scroller's speed; 
	var wholemessage='' //text: change to your own 	
	wholemessage='<font face=Verdana size=2>' + msg + '</font>'
}
function start(){ 
	var sspeed=2
	if (document.all) return 
	if (document.getElementById){ 
		document.getElementById("slider").style.visibility="show" 
		ns6marquee(document.getElementById('slider')) 
	} 
	else if(document.layers){ 
		document.slider1.visibility="show" 
		ns4marquee(document.slider1.document.slider2) 
	} 
} 
function ns4marquee(whichlayer){ 
	ns4layer=eval(whichlayer) 
	ns4layer.document.write(wholemessage) 
	ns4layer.document.close() 
	sizeup=ns4layer.document.height 
	ns4layer.top-=sizeup 
	ns4slide() 
} 
function ns4slide(){ 
	if (ns4layer.top>=sizeup*(-3)){ 
		ns4layer.top-=sspeed 
		setTimeout("ns4slide()",100) 
	} else{ 
		ns4layer.top=sheight 
		ns4slide() 
	} 
} 
function ns6marquee(whichdiv){ 
	ns6div=eval(whichdiv) 
	ns6div.innerHTML=wholemessage 
	ns6div.style.top=sheight 
	sizeup=sheight 
	ns6slide() 
} 
function ns6slide(){ 
	if (parseInt(ns6div.style.top)>=sizeup*(-1)){ 
		ns6div.style.top=parseInt(ns6div.style.top)-sspeed 
		setTimeout("ns6slide()",100) 
	}else{ 
		ns6div.style.top=sheight 
		ns6slide() 
	} 
} 