 // accepts a pointer to the table cell in question,
 // and a boolean for whether to turn it on or off
 //Put below in <tr> tag
 //  onMouseOver="lightup(this,1);" onMouseOut="lightup(this,0);"
 function lightup(cell,active) {
  on = "#E8EEF9";
  off = "";

  if(active) {
   cell.style.backgroundColor=on;
   cell.style.cursor='hand';
  }
  else
   cell.style.backgroundColor=off;
 }