/**
 * Sets/unsets the pointer in browse mode
 *
 * Usage: <tr onmouseover="rowColour(this, 'hilightclass')" onmouseout="rowColour(this, 'normalclass')">
 *
 * @param   object   the table row
 * @param   object   the color to use for this row
 *
 * @return  boolean  whether pointer is set or not
 */
function rowColour(theRow, theNewClass)
{
    if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
        return false;
    }

    theRow.className = theNewClass ;

    return true;
}
// end of the 'rowColour()' function