// JavaScript Document

function startList() {
	mudaFontCanais();
	//mudaFontCanais();
	if (document.all&&document.getElementById) {
		latEsq = document.getElementById("lat_esq");
		for(x=0;x<latEsq.childNodes.length;x++){
			filhoUL = latEsq.childNodes[x];
			if (filhoUL.nodeName=="UL"){
				for (i=0; i<filhoUL.childNodes.length; i++) {//laço pela qtd de filhos existentes no UL
					node = filhoUL.childNodes[i];
					if (node.nodeName=="LI") {//se o filho for LI, atribui o evento de mouseover
						node.onmouseover = function() {this.className+=" over";}//mouseover: class="over" no LI
						node.onmouseout  = function() {this.className=this.className.replace(" over", "");}//mouseout: class="" no LI
					}
				}
			}
		}
	}
}

window.onload=startList;

function mudaFontCanais(){
	var tdcanais = document.getElementById("tdContCanais");
	if(tdcanais != null){
		var fontes = tdcanais.getElementsByTagName("font");
		for(x=0;x<=fontes.length-1;x++){
			if(fontes[x].size == "3"){
				fontes[x].style.fontSize = "11px";
			}
		}
	}
}
