/* $Id: ahem.js,v 1.1 2005/04/11 02:14:54 jvogel01 Exp $
 *
 * Display standards-compliance statement to (selected) non-compliant browsers 
 *
 * Dependent on /global/js/css_chooser.js for its browser() function
 *
 * Usage: (in <head>)
 * <script src="/global/js/css_chooser.js" type="text/javascript"></script>
 * <script src="/global/js/ahem.js" type="text/javascript" /></script>
 *
 */

var ua = navigator.userAgent;
var b = browser(ua);
var ahem = "<p><strong>Standards Compliance Statement</strong><br>This site is best viewed within a browser that complies with <a href='http://www.w3.org/Style/CSS/' target='_blank'>web standards</a>.  Users of Netscape 4.x will have trouble viewing this site as intended because this browser is obsolete and does not comply with web standards.</p><p><em><a href='http://www.mozilla.com'>Mozilla (Firefox) 1.4</a> and higher for all operating systems.  Safari 1.x and higher for all operating systems. <a href='http://www.netscape.com'>Netscape 6.0</a> and higher for all operating systems. Internet Explorer 6.0 and higher for Windows or 5.0 and higher for Macintosh.</em></p>";

if( b == "NETSCAPE4" )
    document.write( ahem );

