<!--
//
// Cross-browser compatibility (bc) variables.
//

// Document Object Model support.
var isDOM = (document.getElementById ? true : false);

// Browser properties.
var appAgent = navigator.userAgent.toLowerCase();
var appVersion = navigator.appVersion.toLowerCase();

var isIE = ('Microsoft Internet Explorer' == navigator.appName ? true : false);
var isNS = ('Netscape' == navigator.appName ? true : false);
// var isAOL = (appVersion.indexOf("aol") != -1);
// var isOpera = (appVersion.indexOf("opera") != -1);

var isMac = (appVersion.indexOf("mac") != -1);
var isWin = (appVersion.indexOf("win") != -1);

// Cross browser compatibility -- interchangeable properties.
// Usage: Set a left position to 10:
//        eval('docElement.style.' + bcLeft + ' = ' + 10);
//
var bcWebMenuYAdjust = new Number();
var bcXIndent = new Number();

var bcLeft = new String();
var bcPointer = new String();
var bcTop = new String();

if (isIE) {
  bcLeft = "posLeft";
  bcPointer = "hand";
  bcTop = "posTop";

} else if (isNS) {
  bcLeft = "left";
  bcPointer = "pointer";
  bcTop = "top";
}

//
// The positioning and direction of drawing is different on a 
// Mac versus a Windows (Win) computer.  
//
// 1. Although the x,y position is the same, the Mac draws its
//    information going in the positive y direction (up),  A
//    Windows PC draws information in the negative y direction
//    (down).  
//    
//   +-----------------------+
//   |                       |  ^
//   |                       |  |   Mac draws in this
//   |                       |  |   direction for
//   |                       |  |   positive values
//   |                       |
//   +-----------------------+  <-- x,y positioned here
//   |                       |
//   |                       |  |   Windows draws in this
//   |                       |  |   direction for
//   |                       |  |   positive values
//   |                       |  V
//   +-----------------------+
//
// 2. On the Mac with Internet Explorer, the browser indents
//    10 pixels.
//                            
// 3. The Mac does not really support CSS.  Thus, if any
//    consistency is to be shown on a Mac and a Windows
//    PC, the styles need to be imbeded in the HTML and
//    not solely placed in the style sheets.
//
// 4. When positioning text inside a table cell, the Mac will
//    horizontally center the text based on the width of the 
//    cell.  The Windows PC will horizontally center the text
//    based on the contents of the cell.  Therefore, by centering
//    the contents of the cell on both the Mac and Windows PC
//    the difference between the two systems is removed.
//  
if (isMac && isIE) {
  bcWebMenuYAdjust = 1.0;    // see item 1 above
  bcXIndent = 10;            // see item 2 above

} else {
  bcWebMenuYAdjust = 0.0;
  bcXIndent = 0;
}
-->