
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 mark(face,field_color,text_color){

	if (document.documentElement){//if browser is IE5+ or NS6+
		face.style.backgroundColor=field_color;
		face.style.color=text_color;
	}

}

// Pop-up Windows
function popWin( url, name, width, height, scroller )
{
	var outStr = 'height=' + height + ',width=' + width;
	outStr = outStr + ',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=' + scroller + ',resizable=no';
	window.open(url, name, outStr);
}

