function checkRequiredSpecForDOM()
{
	return (
			document.implementation
		&&  document.implementation.hasFeature("html", "2.0")
		&&  document.implementation.hasFeature("css", "")
	);
}

// hide the navigation bars if framed
// but we can't assume that the frames are mine,
// so leave the bottom nav bar.
function hideNavBars()
{
	// return;

	// test for DOM 2
	if ( ! checkRequiredSpecForDOM() )
		return;
	
	if ( top != self )
	{
		if ( document.getElementById("topNavBar"))
			document.getElementById("topNavBar").style.
				setProperty("display", "none", "");
		/*
		if ( document.getElementById("bottomNavBar"))
			document.getElementById("bottomNavBar").style.
				setProperty("display", "none", "");
		*/
	}
}


