var TableDesign = new Class({
	options : {
		zebraClass	: 'zebra',
		lastColClass	: 'col5',
		container	: '.date table'
	},

	initialize : function(){
		if($$('.date table')){
			this.build();
		}
	},

	build : function(){
		this.pair = false;
		$$(this.options.container).each(function(table){
			//console.log(table);
			table.getElements('tbody tr').each(function(tr){
				//we add class col5 to fifth col
				tr.getLast().addClass(this.options.lastColClass);
				if(this.pair) {
					this.pair = false;
					tr.addClass(this.options.zebraClass);
				} else {
					this.pair = true;
				}
			}, this);
		}, this);

	}
});