// Stripes all tables with class "stripedtable"
function stripeTables(){

	// get all tables from document
	var tables = document.getElementsByTagName("table");  
   
	for(i = 0; i < tables.length; i++){
		
		if(tables[i].className == 'pxstripedtable'){
		
			// Stripe rows for each table
			var rows = tables[i].getElementsByTagName("tr");  
		    
			for(z = 0; z < rows.length; z++){ 
			
				if(z % 2 == 0){
					rows[z].className = "st_even";
				}else{
					rows[z].className = "st_odd";
				}  
			}
		}
	}
}
