

function cOn1(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#AFDDF5";
}}
function cOut1(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#FFFFFF";
}}

function cOn(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#9F0000";
}}
function cOut(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#5e8ac3";
}}


function changeto(highlightcolor){
    source=event.srcElement
    if (source.tagName=="TR"||source.tagName=="TABLE")
        return
    while(source.tagName!="TD")
        source=source.parentElement
    if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
        source.style.backgroundColor=highlightcolor
}

function changeback(originalcolor){
    if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
        return
    if (event.toElement!=source)
        source.style.backgroundColor=originalcolor
}