/* PODSWIETLANIE WIERSZA W TABELCE */
arr_row_child_css = Array(); // Talica z lista klas css dla elementow TD wiersza
// Zmiana koloru wiersza po najechaniu myszka
function mouseOverTableRow( obj_row_over, str_css_highlight ) {
	if ( obj_row_over && (obj_row_over.childNodes && obj_row_over.childNodes.length > 1)  ) {
		var int_td_pos = 0;
		for ( var x = 0; x < obj_row_over.childNodes.length; x++ ) {
			if ( String(obj_row_over.childNodes[x].nodeName) == 'TD' ) {
				arr_row_child_css[int_td_pos] = String(obj_row_over.childNodes[x].className);				
				obj_row_over.childNodes[x].className = String(String(arr_row_child_css[int_td_pos])+" "+str_css_highlight); 
				int_td_pos++; } } }
}
// Przywrocenie ustawien css z tablicy globalnej
function mouseOutTableRow(obj_row_out) {
	if ( obj_row_out != null && (obj_row_out.childNodes && obj_row_out.childNodes.length > 1) ) {
		var int_td_pos = 0;
		for ( var x = 0; x < obj_row_out.childNodes.length; x++ ) {
			if ( String(obj_row_out.childNodes[x].nodeName) == 'TD' ) {
				obj_row_out.childNodes[x].className = String(arr_row_child_css[int_td_pos]);
				int_td_pos++; } }
		arr_row_child_css = Array(); }
}
/* / PODSWIETLANIE WIERSZA W TABELCE */

/*
PRZYKLAD UZYCIA:

<tr style="background-color:#ffffff;" 
onmouseover="mouseOverTableRow(this, 'td-highlight td-highlight-color')" 
onmouseout="mouseOutTableRow(this)">
*/
