function stripe(id) {
    var table = document.getElementById(id);
    if (! table) { return; }
    var trs = table.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i += 2) {
    if (trs[i].className.length)
    { trs[i].className += " z"; 
    }
    else
    {trs[i].className = "z"; 
    }
    
    }
  }
  function runScripts()
	{	stripe('zebra');
      stripe('zebra1');
      stripe('zebra2');

	}

  window.onload = runScripts;

