// Changes the class of the specified element and its first child to 'hover'
function hilite(element) {
    element.className="hover"; 
    element.firstChild.className="hover";
}

// resets the class of the specified element and its first child.
function unhitelite(element) {
    element.className=""; 
    element.firstChild.className="";
}