function setMenu(theCell, theAction, theLink)
  {
    var theCells = null;
    var theDefaultColor='#992333';
    var thePointerColor='#ff4902';

    var theDefaultColor2='#71706e';
    var thePointerColor2='#909090';


    var theDefaultBorder='#E0E0E0';
    var thePointerBorder='#FFBB00';

    var theDefaultBorder2='#E0E0E0';
    var thePointerBorder2='#FFBB00';
    
    var domDetect    = null;
    var currentColor = null;
    var newColor     = null;
    var newBorder    = null;

    if (typeof(window.opera) == 'undefined'
        && typeof(theCell.getAttribute) != 'undefined') {
        currentColor = theCell.getAttribute('bgcolor');
        domDetect    = true;
    }
    else {
        currentColor = theCell.style.backgroundColor;
        domDetect    = false;
    } 
    
    if (theAction == 'over2' && thePointerColor != '') {
       newColor              = thePointerColor2;
       newBorder             = thePointerBorder2;
    }
    else if (theAction == 'out2' ) {
       newColor              = theDefaultColor2;
       newBorder             = theDefaultBorder2;
    }
    else
    if (theAction == 'over' && thePointerColor != '') {
       newColor              = thePointerColor;
       newBorder             = thePointerBorder;
    }
    else if (theAction == 'out' ) {
       newColor              = theDefaultColor;
       newBorder             = theDefaultBorder;
    }
    else if (theAction == 'click' ) {
       self.location=theLink;
    }

    if (newColor) {
      if (domDetect) {
        theCell.setAttribute('bgcolor', newColor, 0);
      } else {
        theCell.style.backgroundColor = newColor;
      }
    }
    return true;
  } 
