function changeto(highlightcolor){

source=event.srcElement

if (source.tagName=="TR"||source.tagName=="TABLE")

return

while(source.tagName!="TR")

source=source.parentElement

if (source.style.backgroundColor!=highlightcolor)
source.style.backgroundColor=highlightcolor

}
function changeback(originalcolor){

if (event.fromElement.contains(event.toElement)||source.contains(event.toElement))

return

if (event.toElement!=source)
source.style.backgroundColor=originalcolor
}