function setPointer(theRow, thePointerColor, theNormalBgColor){
    var theCells = null;
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }

/*

    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

*/

    theCells = theRow;

    var rowCellsCnt  = theCells.length;
    var currentColor = null;
    var newColor     = null;
    // Opera does not return valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined' && typeof(theCells.getAttribute) != 'undefined' && typeof(theCells.getAttribute) != 'undefined') {
        currentColor = theCells.getAttribute('bgcolor');
        newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase())
                     ? theNormalBgColor
                     : thePointerColor;
                     theCells.setAttribute('bgcolor', newColor, 0);
    } else {
        currentColor = theCells.style.backgroundColor;
        newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase())
                     ? theNormalBgColor
                     : thePointerColor;
		     theCells.style.backgroundColor = newColor;
    }

    return true;
} // end of the 'setPointer()' function
 
function contato()
{
	window.open('../servicos/contato.html',"",'menubar=0;resizable=true,width=450,height=450,scrollbars=0');
}