if(window.addEventListener){window.addEventListener("load",findStripedElements,false)}else{if(window.attachEvent){window.attachEvent("onload",findStripedElements)}else{if(window.onload!=null){var oldOnLoad=window.onload;window.onload=function(a){oldOnLoad(a);findStripedElements()}}else{window.onload=findStripedElements}}}function findStripedElements(){if(!document.getElementsByTagName){return}var c=document.getElementsByTagName("*");for(var a=0;a<c.length;++a){var b=c[a];if(b.className.indexOf("striped")!=-1){if(b.tagName=="TABLE"){stripeTable(b)}else{stripeElement(b)}}}}function stripeTable(e){var f=false;var b=e.childNodes;for(var g=0;g<b.length;g++){if(b[g].tagName=="TBODY"){var a=b[g].childNodes;for(var d=0;d<a.length;d++){if(a[d].tagName=="TR"){a[d].className=a[d].className.replace(/ ?rowEven ?/,"").replace(/ ?rowOdd ?/,"");if(a[d].className){a[d].className+=" "}a[d].className+=f?"rowEven":"rowOdd";f=!f}}}}}function stripeElement(d){var e=false;var c=d.childNodes;for(var b=0;b<c.length;b++){var a=c[b];if(a.nodeType&&a.nodeType==1){a.className=a.className.replace(/ ?rowEven ?/,"").replace(/ ?rowOdd ?/,"");a.className=a.className.split(" ").concat([e?"rowEven":"rowOdd"]).join(" ");e=!e}}};