5 star rating with jquery gives an Unexpected string
<pre><code>$('.star').mouseover(function (){
    var star = $(this).index()1;
    $(this).parent().css("background-position","0 -" (32 * star) "px");
});

$('.star-rating').mouseout(function (){
    var originalresult = $(this).attr('id').split('result')[1];
    $(this).css("background-position","0 -" (32 * originalresult) "px");
});
</code></pre>

<p>Don't get this, rewriting is giving me stars in my eyes, but the problem stands... Don't know anymore what I'm doing wrong?</p>
