function stripeAllElements(){$$(".striped").each(stripeElement)}function stripeElement(a){var b=["rowEven","rowOdd"],c=[];if(a.tagName=="TABLE"){a.childElements().each(stripeElement);return}else{c=a.childElements()}c.each(function(d){d.removeClassName(b[1]);d.addClassName(b[0]);b.reverse(true)})}document.observe("dom:loaded",stripeAllElements);