
// hireNavigation.js. Smaller navigation links for Hire pages.
//----------------------------------------------------------------------------------------
function addContextLink( theHREF, theLinkName )
// Set the array with the HREF and link name of the link
//----------------------------------------------------------------------------------------
{
	this.HREF = theHREF;
	this.linkName = theLinkName;

}

// function setPublicPath() is in mailTop.js, which is always called before this script
var publicPath = setPublicPath();
var linkSpacer = '&nbsp;&nbsp;&nbsp;&nbsp;&#149;&nbsp;&nbsp;&nbsp;&nbsp;';

var arrLinks = new Array();
// Put shows in the order you want them to be in the archive.htm file (date descending)
arrLinks.push( new addContextLink( 'hire/hire.htm', 'hire us' ) );
arrLinks.push( new addContextLink( 'hire/tour.htm', 'bring Buntport to you' ) );
arrLinks.push( new addContextLink( 'hire/workshops.htm', 'workshops' ) );
arrLinks.push( new addContextLink( 'trunks/trunksparties.htm', 'all age shows' ) );
arrLinks.push( new addContextLink( 'hire/spacerental.htm', 'rent our space' ) );



document.write( '<table border=0 cellspacing=0 cellpadding=0 align="left" width=100% >' + "\n" );
document.write( '<tr valign="top">' + "\n" );
document.write( '<td align="center" valign="middle"><p>' + "\n" );

var lastArr = arrLinks.length - 1;

for ( a=0; a < arrLinks.length; a++ ) {
	document.write( '<A class="sub" HREF="' + publicPath + arrLinks[a].HREF + '">' + arrLinks[a].linkName + '</A>');
	if ( a < lastArr ) {
		document.write( linkSpacer );
	}
}

document.write( '</p></td>' + "\n" );
document.write( '</tr>' + "\n" );
document.write( '<tr height="*"><td>&nbsp;</td></tr>' + "\n" );
document.write( '</table>' + "\n" );
