
document.write ("<div class=\"topnav\" width=\"100%\">")
for(t=0; t<tab.length; t++){
	if (tab[t].length > 1){
	phrase = '<div class="topnavtab"; onmouseover="document.getElementById('
		phrase = phrase+"'nav"+t+"').style.visibility='visible'"+'"; onmouseout="document.getElementById('+"'nav"
		phrase = phrase+t+"').style.visibility='hidden'"+'">'
		document.write(phrase)}
		else { document.write("<div class=\"topnavtab\">")}
	if (myTab != t || myIndex != 0) {
		docURL='<a href="'+rootPath+tab[t][0][1]+'">'
		
		document.write(docURL)}
	document.write(tab[t][0][0])
	if (myTab != t || myIndex != 0) {
		document.write("</a>") }
	
	if (tab[t].length > 1){
		phrase='<div class="topnavmenu" id="nav'+t+'">'
		document.write(phrase)
		for (i=1; i<tab[t].length; i++){
			phrase = ""
			if (myTab != t || myIndex != i){
				phrase ='<a href="'+rootPath+tab[t][i][1]+'">'
			}
			phrase = phrase +tab[t][i][0]
			if (myTab != t || myIndex != i){
				phrase = phrase + '</a>'
			}
			phrase = phrase + '<br />'
			document.write (phrase)
			}
		document.write ('</div>')
		}
	document.write ('</div')
	}
	document.write ('<div style="clear: both"></div></div>')
