  function txtSwap(location, text) {
          d = getObject(location);
          d.innerHTML = text;
  }
  
  function twoSwap(location1, text1, location2, text2) {
          txtSwap(location1, text1);
          txtSwap(location2, text2);
  }

  var ie4 = false; 
  if(document.all) { ie4 = true; }
  function getObject(id) 
  { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }

  var currow;
  function hover_over(row) {
    if (row == currow) {
      currow.bgColor = '#B53131';
    } else {
      row.bgColor='#B53131';
    }
  }
  function hover_out(row) {
    row.bgColor = '#E9A7A9';
    if (currow) {currow.bgColor='#B53131'}
  }
  function click_on(row,lyr) {
    if (currow) {currow.bgColor = '#E9A7A9'}
    row.bgColor='#B53131';
    currow = row;
  }

  
