zebraTables = new Class({
	triggerClass: "hoverRows",
	tables: Object,
	/** INITIALIZE FUNCTION **/
	initialize: function () {
		this.tables = document.getElementsByClassName(this.triggerClass);
		this.tables.each(function(item, index) {
			rows = item.getElementsByTagName('tr');
			this.applyRowsHover(rows);
		}.bind(this));
	},
	/** FUNCTION WALKS OVER THE TABLE ROWS **/
	applyRowsHover: function(rows) {
		tableRows = $A(rows);
		tableRows.each(function(row, index){
			$(row).addEvent('mouseover', function() { $(row).addClass('over') });
			$(row).addEvent('mouseout' , function() { $(row).removeClass('over') });
		}.bind(this));
	}
});

Window.onDomReady(function() {
	var zebraTable = new zebraTables(); 
	zebraTable.initialize;
	});
