Hai due possibilità.

Prima :
<script language="JavaScript" type="text/javascript">
<!--
var colore0 = 'blue';
var colore1 = 'green';

function cOn(tr){
tr.style.backgroundColor=colore0;
}

function cOut(tr){
tr.style.backgroundColor=colore1;
}
//-->
</script>

nella cella.... <tr onMouseOver='cOn(this);' onMouseOver='cOut(this);'>

Seconda :
<script language="JavaScript" type="text/javascript">
<!--

function cOn(tr,unColore){
tr.style.backgroundColor=unColore;
}

function cOut(tr,unColore){
tr.style.backgroundColor=unColore;
}
//-->
</script>

nella cella.... <tr onMouseOver='cOn(this,'blue');' onMouseOver='cOut(this,'green');'>