<style>
.listrow1  { background-color: #EFEFEF; }
.listrow2  { background-color: #
FFFFFF; }
</style>

<cfoutput query="q">
<cfset lr = CurrentRow MOD 2 + 1>
<tr class="listrow#lr#">
...
</tr>
</cfoutput>