I'm selecting a checkbox and adding style to its parent tag. It's working well. What I don't know is how to do the inverse way, when it is already checked and remove the style.

<http://jsfiddle.net/FG7jV/>

HTML 

```
<table>
    <tbody>
        <tr>
            <td><input type="checkbox" name="" value="" /></td>
            <td><img src="http://lorempixel.com/60/60/" /></td>
                    <td>Boné NFL - San Diego Charges</td>
         </tr>
      </tbody>
 </table>

```

JQUERY

```
$("input:checkbox").click(function() {
$(this).parent().parent().css("background-color","yellow");
});
$("input:checked").click(function(){
alert();
});

```

im using alert, obviously, just to check if it's selecting when i click.