     
function linkArray(length)
{
	var i = 0;
	this.length2 = length;
	for (i=0; i<length; i++)
	{
		this[i] = 0;
	}
	return this;
}

function addLink(shtml,description,pager)
{
	this.shtml = shtml;
	this.description = description;
	this.pager = pager;
	return this;
}


var totLinks = 0;
var linker = linkArray(totLinks);

//linker[totLinks++] = new addLink("","","");
//totLinks++;



linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/index.shtml", "Home","./index.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/information.shtml", "Information","./information.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/schedule.shtml", "Detailed Schedule","./schedule.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/registration.shtml", "Registration","./registration.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/maps.shtml", "Maps","./maps.shtml");

linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/cis.shtml", "Cis Hinkle","./cis.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/groovemongers.shtml", "Groovemongers","./groovemongers.shtml");
//linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/dale.shtml", "Dale Rempert","./dale.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/faf2001/armadillo.shtml", "Armadillo on the HalfShell","./armadillo.shtml");
linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/index.shtml", "Austin Barn Dancers","../index.shtml");
linker[totLinks++] = new addLink("http://www.wagon1.com/first_friday_dance", "First Friday Contra","http://www.wagon1.com/first_friday_dance");

linker[totLinks++] = new addLink("http://blake.prohosting.com/austinbd/contratx/index.shtml", "Third Saturday Contra and Contra Dancing in Texas","../contratx/index.shtml");


function linkTable() 
{
	document.write('<table width="600">');
	for(count = 0; count<totLinks; count++)
	//document.write(document.URL + ' - ' + linker[count].shtml + '<br />');
	{
		if(document.URL == linker[count].shtml)
		{
			if(count==0 || linker[count].description=="Cis Hinkle" || linker[count].description=="Austin Barn Dancers")
			{
				if(linker[count].description=="Cis Hinkle")
				{
					document.write('</span></td></tr><tr><td height="10"></span></td></tr><tr><td align="center"><span style="font-size:12pt;font-weight:bold">Talent Biographies</h3>');
					document.write(linker[count].description);
				}
				else if(linker[count].description=="Austin Barn Dancers")
				{		
					document.write('</span></td></tr><tr><td height="10"></span></td></tr><tr><span style="font-size:12pt;font-weight:bold">Other links to Austin area contra dances</h4>');
					document.write(linker[count].description);
				}
				else
				{
					document.write('<tr><td align="center"><span style="font-size:10pt;">');
					document.write(linker[count].description);
				}
			}
			else
			{
				document.write(' | ' + linker[count].description);
			}
		}
		else
		{
			if(count==0 || linker[count].description=="Cis Hinkle" || linker[count].description=="Austin Barn Dancers")
			{
				if(linker[count].description=="Cis Hinkle")
				{
					document.write('</span></td></tr><tr><td height="10"></span></td></tr><tr><td align="center"><span style="font-size:12pt;font-weight:bold">Talent Biographies');
					document.write('<a href=\"' + linker[count].pager + '\">' + linker[count].description + '</a>');
				}
				else if(linker[count].description=="Austin Barn Dancers")
				{
					document.write('</span></td></tr><tr><td height="10"></span></td></tr><tr><td align="center"><span style="font-size:10pt;">Other links to Austin area contra dances</h4>');
					document.write('<a href=\"' + linker[count].pager + '\">' + linker[count].description + '</a>');
				}
				else
				{
					document.write('<tr><td align="center"><span style="font-size:10pt;">');
					document.write('<a href=\"' + linker[count].pager + '\">' + linker[count].description + '</a>');
				}
			}
			else
			{
				document.write(' | <a href=\"' + linker[count].pager + '\">' +  linker[count].description + '</a>');
			}
		}
	}
	document.write('</span></td></tr></table>');
}



