﻿function initStripe() {	
if (!document.getElementsByTagName || !document.createTextNode) return;
var rows = document.getElementsByTagName('table');
for(var i = 0; i <rows.length; i++){ 
	if(rows[i].className=="stripeTable"){
		for (var j = 0; j < rows[i].rows.length; j++) {
		        rows[i].rows[j].className = (j % 2 == 1 ? "even" : "odd");
		}
	}
}

}

try{
  window.addEventListener("load",initStripe,false);
}catch(e){
  window.attachEvent("onload",initStripe);
}
