Need help with image flip script - works in firefox but not in IE

Need help with image flip script - works in firefox but not in IE

I'm using Drupal and views (if any of you are familiar with that), and have to place some javascript in the top of the 'views' page to accomodate some image flips on some dynamically generated fields. 

I didn't create this, and I'm not all that great with javascript or jquery, so I'm not sure what the problem is.  It works great in Firefox, but not at all in IE.  I've included the exact output code from the page in question.

  1. <script type="text/javascript">
    $(document).ready(function() {
       $(".views-field-title > a").each(function() {
       $(this).attr("onclick", "flipIt(" + this.name + ");");
       });
    });
     
    function flipIt(nid) {
    $(".image-" + nid).attr("src", "images/checkmark.gif");
    }
    </script>










  2. <tr class="even">
         <td class="views-field views-field-title">
         <a class="jPop" name="107" href="/node/107">Link Name</a>
         </td>


  3.      <td class="views-field views-field-nid">
         <img class="image-107" src="images/checkmark_off.gif" />
         </td>

  4.      <td class="views-field views-field-field-vlength-value">
          2:29
         </td>

  5.      <td class="views-field views-field-field-vsize-value">
          4MB
          </td>
    </tr>



Any ideas to help me get this working in IE? Thanks!