//menu
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("mnmain");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function(){
					this.className+=" over";
				}
				node.onmouseout=function(){
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

		
//bom dia
function hoje()
{
	var dia,mes,ano,por_extenso,meses;
	meses=new Array('janeiro','fevereiro','mar�o','abril','maio','junho','julho','agosto','setembro','outubro','novembro','dezembro');
	hoje=new Date();
	dia=hoje.getDate();
	mes=hoje.getMonth();
	ano=hoje.getYear();
	
	if (ano < 2000)	ano += (ano <= 50) ? 20 : 1900;

	por_extenso='Rio de Janeiro, '+dia+' de '+meses[mes]+' de '+ano;
	var x = document.createTextNode(por_extenso);
	document.getElementById("dataHoje").appendChild(x);
}
window.onload = function(){
	startList();
	hoje();
}