// <script type="text/javascript">
<!--  to hide script contents from old browsers

window.onload = display_urhere;

/* This function alters the style of the navigation bar to indicate urhere.
I added code from the original to shorten the href string so that it does
not include any bookmarks (....#bookmark). Otherwise, the strings would not
match and the urhere formatting would not be applied.
******************************************************************************/

function display_urhere()
{	if (!document.getElementById)
	{	return true;
	}

	var list = document.getElementById("navbar");
	var page = list.getElementsByTagName("a");

	var currentHref = document.location.href;
	var anchorPosition = currentHref.indexOf("#");

	if (anchorPosition >= 0)
	{	currentHref = currentHref.substring(0, anchorPosition);
	}

	for (var i = 0; i < page.length; i++)
	{	if (page[i].href == currentHref)
		{	page[i].style.backgroundColor = "#ffffff";

		}
	}
}


function display_urhere_original()
{	if (!document.getElementById)
	{	return true;
	}

	var list = document.getElementById("navbar");
	var page = list.getElementsByTagName("a");

	for (var i = 0; i < page.length; i++)
	{	if (page[i].href == document.location.href)
        {	page[i].style.backgroundColor = "#ffffff";
		}
    }
}

/* Opens a new window
****************************************************/
function new_window(page)
{	window.open(page, '', 'resizable=yes, scrollbars=yes');
	// window.open("js_about.htm", 'About', 'fullscreen=yes, scrollbars=yes');
	// window.open("js_about.htm", 'jav', 'width=800, height=1000, resizable=yes, scrollbars=yes');
} 


/* Opens a new window that takes up the full screen
****************************************************/

/*****************************************************
function new_window(page)
{	var str = "left=0,screenX=0,top=0,screenY=0, resizable=yes, scrollbars=yes";

	if (window.screen)
	{	var ah = screen.availHeight - 30;
		var aw = screen.availWidth - 10;
		str += ",height=" + ah;
		str += ",innerHeight=" + ah;
		str += ",width=" + aw;
		str += ",innerWidth=" + aw;
	}

	window.open(page, '', str);
} 
******************************************************/

// end hiding contents from old browsers  -->
// </script>