function submenuWrite(sel) {
var x, txt
//Items in the navigation bar
var menulist = new Array()
//Files that the navigation bar points to
var menulistf = new Array()
menulist[1] = "About Our Sensei"
menulistf[1] = "sensei.html"
menulist[2] = "Sensei Photo Gallery"
menulistf[2] = "senseiphoto.html"
menulist[3] = "About Our Symbol"
menulistf[3] = "symbol.html"
menulist[4] = "About Kokoro"
menulistf[4] = "faq.html#kokoro"
var numitems = menulist.length
txt = "<div align=center><table cellpadding=0 cellspacing=0><tr><td class=bktbl>"
txt += "<table border=0 cellpadding=1 cellspacing=0 class=tbl><tr>"
for(x = 1; x < numitems; x++) {
  if(x == sel) {
    txt += "<td class=tblclicked><span class=clicked><nobr>" + menulist[x] + "\&nbsp; </span></nobr>"
  }
  else {
txt += "<td><a class=a1 href=" + menulistf[x] + ">"
txt += "<span class=mnu><nobr>" + menulist[x] + "&nbsp; </span></a></nobr>"  }
  txt += "</td></tr><tr>"
}
txt += "</tr></table>"
txt += "</td></tr></table>"
document.write(txt)
} //end function
