function mts_navBar(tableCellRef, hoverFlag, navStyle) {
   if (hoverFlag) {
      switch (navStyle) {
         case 1:
            tableCellRef.style.backgroundColor = '#4080BF'; //69c
            break;
         default:
            if (document.getElementsByTagName) {
               tableCellRef.getElementsByTagName('a')[0].style.color = 'c50010'; //#c00
            }
         }
   } else {
      //switch (navStyle) {
         //case 1:
            tableCellRef.style.backgroundColor = '#22538E'; //036
            //break;
         //default:
            //if (document.getElementsByTagName) {
            //   tableCellRef.getElementsByTagName('a')[0].style.color = '#000';
            //}
      //}
   }
}

function mts_navBarClick(tableCellRef, navStyle, url) {
   mts_navBar( tableCellRef, 0, navStyle );
   window.location.href = url;
}

function showTank(filename) {
   windowparms = "WIDTH=520,HEIGHT=500,TOP=100,LEFT=100,resizable=1,menubar=0,status=1,scrollbars=1,toolbar=0"; 
   aWindow = window.open(filename, "tank", windowparms);
   if (aWindow != null) {
      if (aWindow.opener == null) {
         aWindow.opener = self;
      }
   }
   aWindow.focus();
}