Need help with tables

Need help with tables

Hi,

I am new to jquery,

Suppose this is my table

<table>
<tr id=b1><td>BUY</td></tr>
<tr id=b2><td>BUY</td></tr>
<tr id=s3><td>SELL</td></tr>
<tr id=s4><td>SELL</td></tr>
</table>

here i want to change background color of every row that start with 'b' to Blue
and every one that start with starts with 's' to red.

I fill it might be easy, but since i am new to jquery i am not able to figure it out.

your help would be greatly welcome,

thanks in advance.