  tms=new Array() 
  //Mostra o submenu no mouseover
  function over(n){
  if(typeof(tms[n])!="undefined")clearTimeout(tms[n])
  document.getElementById("s"+n).style.display="inline"
  }
  //Esconde o submenu no mouseout
  function out(n){
  tms[n]=setTimeout('document.getElementById("s'+n+'").style.display="none"',100)
  }