function tymfun()
{
	document.getElementById("zmieniacz").innerHTML = txt[nr];
	nr++;
	if (nr>=txt.length) nr=0;
	setTimeout("tymfun()",czas);
}

/*
function flash(id, kolor, czas, kolor2, czas2)
{
	document.getElementById(id).style.color = kolor;
	setTimeout('flash("' + id + '","' + kolor2 + '",' + czas2 + ',"' + kolor + '",' + czas + ')', czas);
}
*/