// aufruf z.B. mit <tr onmouseover="hilite(this)">

hilite_last_data="";
function hilite(el,color) { 
if (typeof color =="undefined") color='beige';
el.style.backgroundColor=color;

el.onmouseout= hilite_end;
hilite_last_data=el.innerHTML;
if (el.localName=="TR") {hilite_last_data="<table>"+hilite_last_data+"</table>"}
}
function hilite_end(evt) {
this.style.backgroundColor="";
}
function hilite_keypress(even) {
c=even.charCode;
alert(" keyCode=" +c);
}
