/*
 * File: browser.js
 * Include with: <script SRC="browser.js"></script>
 * 
 * Include "sniffer" from mozilla that determines browser version and vendor.
 * 
 */
 
// convert all characters to lowercase to simplify testing
    var agt = navigator.userAgent.toLowerCase();

    // *** BROWSER VERSION ***
    // Note: On IE5, these return 4, so use is_ie5up to detect IE5.
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);
 
    var is_ie    = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
	var is_opera = (agt.indexOf("opera") != -1);

