var brName, brVersion;
function GetBrowser()
{ // determine Browser data
	brName = navigator.appName;
	brVersion=navigator.appVersion;
} // GetBrowser
function DisplBrowser()
{ // display Browser data
	GetBrowser();
	alert("Browser=" + brName + ", version " + brVersion);
} // DisplBrowser
function image100()
{ // write out an image element using the height of the document
	document.write("<img height=" +  window.innerHeight + " width=10px src=Border.gif>");
	return true;
} // image100
function maxInt(x, y)
{ // return the maximum of 2 integers
	if (x >= y)
	{
		return x;
	}
	else
	{
		return y;
	}
} // maxInt
function docHeight()
{ // return height of document, dealing with various browsers
	if( typeof( window.innerHeight ) == 'number' )
	{ // Non-IE
		return window.innerHeight - 1;
	}
	else if( document.documentElement &&
	  ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{//IE 6+ in 'standards compliant mode'
		return document.documentElement.clientHeight;
	}
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
	{ //IE 4 compatible
		return document.body.clientHeight;
	}
} // docHeight
function changePageNum(form, n)
{ // change page within results
	form.pageNum.value=Number(form.hiddenPNum.value) + n;
	form.hiddenAction.value = " ";
	form.submit();
} // changePageNum
function gotoPageNum(form, n)
{ // go to page within results
	form.pageNum.value=n;
	form.hiddenAction.value = " ";
	form.submit();
} // changePageNum
function changePage(form, n)
{ // phasing out with change in Page Num name, change page within results
	form.pageNumber.value=Number(form.hiddenPNum.value) + n;
	form.hiddenAction.value = " ";
	form.submit();
} // changePage
function gotoPage(form, n)
{ // phasing out with change in Page Num name, go to page within results
	form.pageNumber.value=n;
	form.hiddenAction.value = " ";
	form.submit();
} // changePage
