HtmlTable=Class.refactor(HtmlTable,{options:{classZebra:"table-tr-odd",zebra:true,zebraOnlyVisibleRows:true},initialize:function(){this.previous.apply(this,arguments);if(this.occluded){return this.occluded}if(this.options.zebra){this.updateZebras()}},updateZebras:function(){var index=0;Array.each(this.body.rows,function(row){if(!this.options.zebraOnlyVisibleRows||row.isDisplayed()){this.zebra(row,index++)}},this)},setRowStyle:function(row,i){if(this.previous){this.previous(row,i)}this.zebra(row,i)},zebra:function(row,i){return row[((i%2)?"remove":"add")+"Class"](this.options.classZebra)},push:function(){var pushed=this.previous.apply(this,arguments);if(this.options.zebra){this.updateZebras()}return pushed}});