function flipBox(who) {
	var tmp; 
	if (document.images['b_' + who].src.indexOf('_on') == -1) { 
		tmp = document.images['b_' + who].src.replace('_off', '_on');
		document.getElementById('box_' + who).style.display = 'none';
		document.images['b_' + who].src = tmp;
	} else { 
		tmp = document.images['b_' + who].src.replace('_on', '_off');
		document.getElementById('box_' + who).style.display = 'block';
		document.images['b_' + who].src = tmp;
	} 
}



// PODŚWIETLENIE TŁA WIERSZA TR
        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;
} 
