function setcolor(obj0,sw1) {
  if (sw1 == 0) {
    fgc = '';
    bgc = '';
  } else {
    fgc = '#c00000';
    bgc = '#00ff55';
  }
  obj0.style.color = fgc;
  obj0.style.backgroundColor = bgc;
}// JavaScript Document