//Script for drawing masthead and tabs based on table
//Format = name of tab, text to display on tab, link (from root directory)
	dTabs = new Array
	noTabs = new Number
	underline= new String
	noTabs=8
	dTabs[0]="home@welcome@index.html"
	dTabs[1]="myinterests@my&nbsp;interests@h/mi/index.htm"
	dTabs[2]="mytree@my&nbsp;tree@h/f/index.html"
	dTabs[3]="findnames@find&nbsp;names@h/n/index.html"
	dTabs[4]="gallery@gallery@h/g/index.html"
	dTabs[5]="misc@miscellaneous@h/m/index.html"
	dTabs[6]="search@search@h/s/index.html"
	dTabs[7]="about@about&nbsp;this&nbsp;site@h/t/index.html"	
	document.write("<table cellpadding='0' cellspacing='0' border='0' width='100%' class='sitetitle'>")
//Masthead
	document.write("<tr><td><table class='sitemast' width='100%'><tr ><td><a name='top'>&nbsp;</a><a href=\'" + folder + "index.html\'><img border='0' src=\'" + folder + "i/pw.gif\' width='64' height='64'></a></td><td class='sitemast' width='100%' height='60'>The history of my family&nbsp;&nbsp;</td></tr></table></td></tr>")
//Tabs
	document.write("<tr><td align='center'><table border='0' cellspacing='0' cellpadding='0'><tr><td class='sitetitle'></td>")
	underline="<td><img src=\'" + folder + "i/dot.gif\' height='1' width='100%'></td>"
	for(i=0;i<noTabs;i++){
		xcell=dTabs[i].split(/@/)
		if (xcell[0]==openTab)
			{document.write("<td><img src=\'" + folder + "i/tableftopen.gif\' width='10' height='20'></td><td class='tabopen'><a class='tabopen'>" + xcell[1] + "</a></td><td><img src=\'" + folder + "i/tabrightopen.gif\' width='10' height='20'></td>")
			underline = underline + "<td colspan='3'><img src=\'" + folder + "i/cleardot.gif\' height='1' width='100%'></td>"}
		else
			{document.write("<td><img src=\'" + folder + "i/tableftclose.gif\' width='10' height='20'></td><td class='tab'><a class='tab'  href=\'" + folder + xcell[2] + "\'>" + xcell[1] + "</a></td><td><img src=\'" + folder + "i/tabrightclose.gif\' width='10' height='20'></td>")
			underline = underline + "<td colspan='3'><img src=\'" + folder + "i/dot.gif\' height='1' width='100%'></td>"}
		}
	underline = underline + "<td><img src=\'" + folder + "i/dot.gif\' height='1' width='100%'></td>"
	document.write("<td class='sitetitle'></td></tr><tr>")
	document.write(underline)
	document.write("</tr></table></td></tr></table>")