function setPointer(theRow, thePointerColor) {

 if (thePointerColor == '' || typeof(theRow.style) == 'undefined') { return false; }

 if (typeof(document.getElementsByTagName) != 'undefined') {

  var theCells = theRow.getElementsByTagName('td');

 } else if (typeof(theRow.cells) != 'undefined') {

  var theCells = theRow.cells;

 } else { return false; }

 var rowCellsCnt  = theCells.length;

 for (var c = 0; c < rowCellsCnt; c++) { theCells[c].style.backgroundColor = thePointerColor; }

 return true;
}

function windowOpen(object, width, height) {

 new_window = window.open(object,'',
                          'width=' + width + ',height=' + height + ',toolbar=no,location=no,' +
                          'directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
}