function init() {
	stripeAllTables('standard');
//	stripeTableById('table1');
	}

function stripeTable(t) {
	var i, odd = true;
	for (i=0; i<t.rows.length; i++) {
		t.rows[i].className += odd ? ' r2' : ' even';
		odd = !odd;
		}
	}
function stripeTableById(id) {
	var t = document.getElementById(id);
	if (t) stripeTable(t);
	}

//označí všechny tabulky - vstup název class tabulky
function stripeAllTables(styl) {
	var t = document.getElementsByTagName('TABLE');
	for (var i=0; i<t.length; i++) 
		{
		if (t[i].className==styl)
			stripeTable(t[i]);
		}
	}

