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;
} // end of the 'setPointer()' function
/*---------------------------------------------------------*/
   function confirmation(mess,vers)
   { if (confirm(mess)){window.location=vers;}
   }
/*---------------------------------------------------------*/
function openwin(url,name,w,h)
{
//var h=200;
//var w=500;
window.open(url,name,"width="+w+",height="+h+",toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1,status=0,left=200,top=150");
}
/*---------------------------------------------------------*/
function doFocus(BoxName)
{
if (BoxName.value == BoxName.defaultValue)
{
BoxName.value = '';
}
}
/*---------------------------------------------------------*/
function doBlur(BoxName)
{
if (BoxName.value == '')
{
BoxName.value = BoxName.defaultValue;
}
}