//these functions test the browser to determine if it's compatible with Dynamic HTML.
//Before using these functions, load "Ultimate client-side JavaScript client sniff" by 
//Netscape Communications. Its objects are required for proper function.

//the following function does nothing if the browser passes the compatibility test, 
//goes to the page at location failpage if it doesn't.
function testCompatibility(failpage) {
	if (!compatible()) {
		location.href=failpage;
		} //end if
	} //end function

//the following function returns true if the browser is Netscape or IE version 4 or higher,
//false if it's not one of those browsers or not a high enough version.
function compatible() {
	if ( (is_nav || is_ie) && (is_major>=4) ) {
		return true; 
		}
	return false;
	} //end function
