// Trimmed down browser sniffer that detects Navigator 4+ and IE 4+.
// Reference is_nav4up and is_ie4up in other portions of the script
var agt = navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);
var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
              && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
              && (agt.indexOf('webtv')==-1));
var is_nav4up = (is_nav && (is_major >= 4));
var is_ie   = (agt.indexOf("msie") != -1);
var is_ie4up  = (is_ie  && (is_major >= 4));
// Object and Style Reference conventions for Navigator and IE. Use objRef and
// when referring to objects and both when accessing style properties.
var objRef, styleRef;
if (is_nav4up == true) {  //for Nav these are blank
    objRef = ""
    styleRef = ""
}
if (is_ie4up == true) {  //for IE the are set
    objRef = ".all"
    styleRef = ".style"
}
