function opwin(target, winname, xsize, ysize, scroll, xpos, ypos)
{
    window.open(target, winname,"width="+xsize+",height="+ysize+",scrollbars="+scroll+",screenX="+xpos+",screenY="+ypos+",location=0,resizable=0,status=0,toolbar=0,menubar=0",false);
//      window.open(target, winname,"scrollbars="+scroll+",screenX="+xpos+",screenY="+ypos+",location=0,resizable=0,status=0,toolbar=0,menubar=0",false);
}

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 setPointer2(theCell, thePointerColor)
{
    if (thePointerColor == '' || typeof(theCell.style) == 'undefined') return false;
    theCell.style.backgroundColor = thePointerColor;
    return true;
}
