var curRow2=null; 
var curColor1="#ECFFEC"; 
function chgBgColor(btnObj){ 
curColor=btnObj.colorstr; 
} 
function trMouse(trObj){ 
if(curRow2) curRow2.style.backgroundColor="#ffffff"; 
trObj.style.backgroundColor=curColor1; 
curRow2=trObj; 
}