var thisNdx = -1;
var nextNdx;
var prevNdx;
var lastNdx = nombrs - 1;
var nextDoc;
var prevDoc;
var fullName;
var thisTitle = document.title;
var iPos = thisTitle.lastIndexOf(' ');
iPos = thisTitle.lastIndexOf(' ', iPos - 1);
fullName = thisTitle.substring(iPos + 1);
for ( iPos = 0; iPos <= lastNdx; iPos++)
	{
	if (mbrname[ iPos ] == fullName)
		thisNdx = iPos;
	}
if (thisNdx != -1)
	{
	switch (thisNdx)	
		{
		case 0:
			prevNdx = lastNdx;
			nextNdx = (thisNdx + 1);
			break;
		case lastNdx:
			prevNdx = (thisNdx - 1);
			nextNdx = 0;
			break;
		default:
			prevNdx = (thisNdx - 1);
			nextNdx = (thisNdx + 1);
		}
	thisDoc = GetFileName( fullName ) + '_thn.htm';
	prevDoc = GetFileName( mbrname[ prevNdx ] ) + '_thn.htm';
	nextDoc = GetFileName( mbrname[ nextNdx ] ) + '_thn.htm';
	document.write('<p class="centred nolink">');
	document.write(' <a href="/alphlist.htm"><img src="/images/up.gif"></a><br>');
	document.write('<a href="' + prevDoc + '"><img src="/images/prev.gif"></a>');
	document.write('<img src="/images/block.gif">');
	document.write('<a href="' + nextDoc + '"><img src="/images/next.gif"></a>');
	document.write('</p>');
	}
