function fixTables() {
	var tableRows = $(document.body).getElements('tr');
	//for each row
	tableRows.each(function(item, index){
		var children = item.getChildren('td');
		if (children.length>0)
		{
			children[0].set('class', 'column1');
			if (children.length>1)
			{
				children[1].set('class', 'column2');
			}
		}
	});
}
window.addEvent('domready',fixTables);

