//// JScript File
//var menu_marcado;
//function mostraSubMenu(obj){

//var lis = document.getElementById('topoMenu').getElementsByTagName('A');
//for (i=0;i < lis.length ; i++){
//// if(lis[i].className == 'menu_ativo'){
//   lis[i].className = 'menu_ativo_normal';
//// }
//}

////marca menu
//var menu = obj.parentNode.getElementsByTagName('DIV')[0];

//if(menu_marcado == null || obj.getAttribute('idMenu')== menu_marcado){
//  //obj.className ='menu_ativo';
//  document.getElementById('topoSubMenuLinksInstAlinha').innerHTML = menu.innerHTML;

//}
///*else if(obj.getAttribute('idMenu') =='1964'  ){
//    document.getElementById('topoSubMenuLinksInstAlinha').innerHTML = menu.innerHTML;
//    //obj.className ='menu_ativo';
// 
//}else{
// // marcaMenu(menu_marcado);
//}*/
//   obj.className ='menu_ativo';
//}


//function marcaMenu(id){
//lnks = document.getElementById('topoMenu').getElementsByTagName('A');

//for(i = 0; i < lnks.length;i++){
// if(lnks[i].getAttribute('idMenu') == id){
//        mostraSubMenu(lnks[i]);
// }

//}
//  menu_marcado = id;
//}

//function MarcaMenuAtual(){
////if(obj.id !="dvTopo"){
// //  marcaMenu(menu_marcado);
////}
//}

//function func_hover(obj){
//obj.className = obj.className + '_hover';

//}

//function func_out(obj){
//obj.className = obj.className.replace('_hover','');

//}

//function ColocaCSS(obj)
//{
//    obj.className = obj.className + '_hover';
//    obj.style.background = 'url(imgs/bg-menu_over.png) top left no-repeat';
//    obj.style.textDecoration = 'none';
//    //window.document.getElementById('dvCombo').style.display = "none";
//}

//function TiraCSS(obj)
//{
//    obj.className = obj.className.replace('_hover','');
//    obj.style.background = 'url(imgs/bg-menu.png) top left no-repeat';
//    obj.style.width = '121px';
//    obj.style.styleFloat = 'left';
//    //window.document.getElementById('dvCombo').style.display = "block";
//}


startList = function() {
if (document.all || document.getElementById) {
navRoot = document.getElementById("sub-menu");
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", "");
   }
   }
  }
 }

}
window.onload=startList;
