/*
* Sets/unsets the pointer in browse mode
*
* @param   object   the table row
* @param   object   the color to use for this row
*
* @return  boolean  whether pointer is set or not
*/

function setPointer(theRow, thePointerColor)
{
    if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') 
		{
        return false;
    }

    var row_cells_cnt           = theRow.cells.length;
    for (var c = 0; c < row_cells_cnt; c++) 
		{
		    theRow.cells[c].bgColor = thePointerColor;
    }

    return true;

} // end of the 'setPointer()' function
