function TableControlObject(tblElt){this.table=tblElt;this.rowColors=new Array();this.doRowColors=__tco_alternateRowColor;}function __tco_alternateRowColor(){if((this.table==null)||(this.table&&!this.table.tBodies)||(this.rowColors.length==0))return;var tblbElts=this.table.tBodies;var tblbrElts;var rcCnt=0;var rcLen=this.rowColors.length;for (i=0;i<tblbElts.length;i++){tblbrElts=tblbElts[i].rows;for(j=0;j<tblbrElts.length;j++){if((document.all&&tblbrElts[j].currentStyle.display=='none')||(document.defaultView&&document.defaultView.getComputedStyle(tblbrElts[j],'').getPropertyValue('display')=='none'))continue;tblbrElts[j].style.backgroundColor=this.rowColors[rcCnt];(rcCnt<rcLen-1)?rcCnt++:rcCnt=0;}}}function tabrows(){var tco=new TableControlObject(document.getElementById('roster'));tco.rowColors=['F3E6C6','FEF1D1'];tco.doRowColors();}
window.onload = tabrows;