//------------------------------------------------------------------------------
function getHtmlName( )
// Get the name of the html file from the href; which is something like
// www.this.com/dirpath/file.htm
//------------------------------------------------------------------------------
{
	// href is something like www.buntport.com/aboutus/page.htm[#anchor][?searchString]
	// Get the first character after the last slash
	var f = window.location.href.lastIndexOf("/");
	f++;
	// chomp off any search string
	var l = window.location.href.indexOf("?");
	if ( l < 0 ) {
		l = window.location.href.length;
	}
	var htmlName = window.location.href.substring(f,l);

	return htmlName;

} // getHtmlName( )
