function tableStripe(e) {
	var i,rows,table;
    table = document.getElementById("tableToStripe");
    if (table == null) return;
    rows = table.getElementsByTagName("tr");
    for(i = 1; i < rows.length; i++) { // ignore first tr which is assumed to be a heading...
    	if (i % 2 == 0) { rows[i].className='tableStripe'; }
    }
}