function zebraTable(tblElem, oddColorClassName, alignmentSchema){
    //self initializing js object. Inlcude in onload handlers when you need a quick 'n' ez way to stripe a table!
    //this is designed to grab the table you point it to vis-a-vis a DOM id
    //it iterates through each row and assigns each ODD numbered row the class contained in the oddColorClassName argument
    //it also aligns each 2nd cell in a given row according to the argument supplied in alignmentSchema .
        function init(){
            var table = document.getElementById(tblElem);
            paintRows(table);
            alignCells(table);
        }
        function alignCells(table){
            //returns the 2nd cell in a pair of cells for each row in the table
            var cellNodes = table.getElementsByTagName("td");
            for(n=1;n<cellNodes.length;n=n+2){
                cellNodes[n].style.textAlign=alignmentSchema;
            }
        }
        function paintRows(table){
            //returns an array of rows, in alternating sequence.
            var rowNodes = table.getElementsByTagName("tr");
            for(d=1;d<rowNodes.length;d=d+2){
                rowNodes[d].className=oddColorClassName;
            }
        }
        init();
    }