// JavaScript Document
// Para fazer o menu drop-down funcionar no IE6
function converte(arg){
  switch (arg) {
      case 1:
         return "Ul1";
         break;
      case 2:
         return "Ul2";
         break;
      case 3: //Não está sendo usado 
         return "Ul3";
         break;
      case 4: //Não está sendo usado
         return "Ul4";
         break;
      case 5: //Não está sendo usado
         return "Ul5";
         break;
      default:
         return "";
  }
}

over = function() {
  if (navigator.appName == "Microsoft Internet Explorer"){
    for (var j=1; j<5; j++) {
      var sfEls = document.getElementById(converte(j)).getElementsByTagName("li");
    	for (var i=0; i<sfEls.length; i++) {
    		sfEls[i].onmouseover=function() {
    			this.className+=" over";
    		}
    		sfEls[i].onmouseout=function() {
    			this.className=this.className.replace(new RegExp(" over\\b"), "");
    		}
    	}
    }
  }
}
window.onload=over;
