function greenbar(theTable, highlight, background) {
  var br;
  var agt=navigator.userAgent.toLowerCase();
  if(document.layers)
    { br="N"; }
  else if( document.all || document.GetElementById)
    { br="IE"; }
  else if ( agt.indexOf('gecko') != -1)
    { br="MOZ" }
  else
    { br=null; }

  if ((br == "MOZ") || (br == "IE"))  {
    var x = 0;
    mytablebody=theTable.getElementsByTagName("tbody").item(0);
    while (mytablerow = mytablebody.getElementsByTagName("tr").item(x))  {
      if ( x % 2 )  {
        if (br == "IE")  {
          mytablerow.style.backgroundColor=highlight;
          }
        if (br == "MOZ")  {
          mytablerow.setAttribute("bgcolor",highlight);
          }
        }  
      else  {
        if (br == "IE")  {
          mytablerow.style.backgroundColor=background;
          }
        if (br == "MOZ")  {
          mytablerow.setAttribute("bgcolor",background);
          }
        }  
      x++;
      }
    }
  }


