Script doesn't work with simple arithmetic
<p>that's part of my script:</p>

<pre><code>var count = $(".sliderItem").length;
if (count &lt; lp + 5)
{
    alert("bp4");
    var clips = count-l;
    alert("bp5");
}
</code></pre>

<p>so the problem is: 'bp4' is visible but 'bp5' not.</p>

<p>when I change <code>var clips = count-1;</code> to <code>var clips = 1;</code> it works fine.</p>

<p>Somebody have some idea?</p>
