function initTables() {
  tables = document.getElementsByTagName("table");
  for (i = 0; i < tables.length; i++) {
    table = tables[i];
    if (table.className.indexOf('structural') < 1) {
		// go through table rows
		rows = table.getElementsByTagName("tr");
		for (j = 0; j < rows.length; j++) {
			row = rows[j];
			// if this is a th row, make the first th have a left border that's green
			
			tds = row.getElementsByTagName("td");
			
				
			// if j (zero-based row number) is even, make the td backgrounds white
			if (!(j % 2)) {
				//tds = row.getElementsByTagName("td");
				for (k = 0; k < tds.length; k++) {
					tds[k].className += "second-row";
					//alert (tds[k].className);
				}
			}
		}
    }
  }
  //initTablesOldOnload();
}
//initTablesOldOnload = function(){window.onload;};
//window.onload=function(){initTables();};