function pointer(action, theRow, classPointer, currClass)
{
    if (action == "over") {
        theRow.className = classPointer;
    }
    
    if (action == "out") {
        theRow.className = currClass;
    }
}