// JavaScript Document

var stripeid = /striped/gi;
var hiliteid = /hilited/gi;

function stripe()
{ //stripe a table with class=row1 alternating with row2, ignores <tr class="thead">
 for(x=0;x<arguments.length;x++)
 {
  tblObj=document.getElementById(arguments[x]);
  objRows = tblObj.getElementsByTagName('tr');
  for(y=(objRows[0].className=='thead')?1:0;y<objRows.length;y++)
   objRows[y].className=(y%2==0)?'row1':'row2';
 }
}

