function setPointer(theCell, theAction, theDefaultColor, thePointerColor)
{
	
	/*
    // 1. Pointer and mark feature are disabled or the browser can't get the
    //    row -> exits
    if ((thePointerColor == '' && theDefaultColor == '')) 
	{
        return false;
    }
*/
    // 3. Gets the current color...
    var domDetect    = null;
    var newColor     = null;
	
    // 3.1 ... with DOM compatible browsers except Opera that does not return
    //         valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined'
        && typeof(theCell.getAttribute) != 'undefined') {
        currentColor = theCell.getAttribute('bgcolor');
        domDetect    = true;
    }
    // 3.2 ... with other browsers
    else {
        currentColor = theCell.style.backgroundColor;
        domDetect    = false;
    } // end 3

	if (theAction=='over')
	{
		newColor = thePointerColor;
	}else if (theAction=='out')
	{
		newColor = theDefaultColor;
	}
	
	
    // 5. Sets the new color...
    if (newColor) {
        // 5.1 ... with DOM compatible browsers except Opera
        if (domDetect) {
			theCell.setAttribute('bgcolor', newColor, 0);
        }
        // 5.2 ... with other browsers
        else {
			theCell.style.backgroundColor = newColor;
        }
    } // end 5

    return true;
} // end of the 'setPointer()' function
