

function setBgColor (id, color) {
  if (document.getElementById)
    document.getElementById(id).style.backgroundColor = color;
  else if (document.layers)
    document[id].bgColor = color == 'transparent' ? null : color;
  else if (document.all)
    document.all[id].style.backgroundColor = color; 
}




