function nafarbi(riadok,co) {
 var bunky=null;
  if (typeof(riadok.style)=='undefined') {
		return(0);
	}

	if (typeof(document.getElementsByTagName)!='undefined') {
		bunky=riadok.getElementsByTagName('td');
	}
	else if (typeof(riadok.cells)!='undefined') {
		bunky=riadok.cells;
	}
	else return(0);

	var max=bunky.length;
	var jedom=null;
	var farba=null;

	if (typeof(window.opera)=='undefined'
			&& typeof(bunky[0].getAttribute)!='undefined') {
		jedom=true;
	}
	else {
		jedom=false;
	}

	if (co=='over') {
		farba='#FFF5EC';  // ********************** farba ktoru bude mat ked nabehne myskou
	}
	if (co=='out') { 
//		farba='transparent';
		farba='#FFEEDD';  // *********************** povodna farba na ktoru sa ma vratit, moze byt aj transparent ale to podporuje iba I Explorer a nie Netscape.
	}

	if (farba) {
		var i=null;
		if (jedom) {
			for (i=0;i<max;i++) {
				bunky[i].setAttribute('bgcolor',farba,0);
			}
		}
		else {
			for (i=0;i<max;i++) {
				bunky[c].style.backgroundColor=farba;
			}
		}
	} 
	return(1);
} 

function f_over(riadok) {
	if (farby_riadky) {
		nafarbi(riadok,'over');
	}
}

function f_out(riadok) {
	if (farby_riadky) {
		nafarbi(riadok,'out');
	}
}

function naozaj() {
	if (pytaj_sa) {
		return(window.confirm("Are you sure?"));
	} else {
		return(true);
	}
}

