function showsubmenufor(catid) {
  $(".submenu").each( function () { this.style.display="none" } )
  $("#submenu"+catid).css("display","block")
}
