function make_tbl_top()
{
	if (navigator.appName == "Netscape")
	{
	var tbl_height = document.body.offsetHeight - 700
	}
	else
	{
	var tbl_height = main_tbl.offsetHeight - 700 ;
	}
	
var count = Math.round(tbl_height/300)
//alert(count)

	if (count != 0)
	{
	var tbl_txt = "<TABLE id=top_tbl width=143 height=" + tbl_height + " BORDER=0 CELLSPACING=0 CELLPADDING=0>" ;

		for (i=1;i<=count;i++)
		{
		tbl_txt = tbl_txt + "<TR><TD align=center><a href=#top class=top_tbl><b>[Back to Top]</a></TD></TR>";
		}
		tbl_txt = tbl_txt +	"</TABLE>";

	document.getElementById("the_top_tbl").innerHTML =	tbl_txt
	}
}

make_tbl_top()