var rowSelected = "";

function changeRowColorRS(row){
  thisid = row.id;
  iid = thisid.substr(3)
  if (thisid == rowSelected) { } else {
    row.className='gray_background';
    flipImage1(iid, '/images/nxg-orange1.gif');
    if (rowSelected != "") changeRowColorBack1(document.getElementById(rowSelected));
    rowSelected = thisid;
  }
}

function flipImage1(id, newImage)
{
  document.getElementById('img'+id).src = newImage;
}

function changeRowColorBack1(rowB){
  rowB.className='white_background';
  thisidB = rowB.id;
  iidB = thisidB.substr(3)
  flipImage1(iidB, '/images/nxg1.gif');
}






