/* Zebra-striping tables Place this in your
region of the html doc Looks for all tables with class="datatable" with any specified ID attribute. */ addStripingEvent(window, "load", stripe); function stripe(){ // don't do anything if you can't grab the body tag of the doc! if (document.getElementsByTagName('body')){ var tables, i, rows, r; // get all tables tables = document.getElementsByTagName('table'); // loop through tables for(i=0; i