Assertion Error on JavaScript Code
<p>I have a piece of JavaScript code that seems to work OK but when I look at the error console I am getting an 'Assertion Error'.  I have never come across one of these before!</p>

<p>Does anyone know what an assertion error is and what might be causing the error from the code.</p>

<p>The JavaScript can be found here: <a href="http://jsfiddle.net/8nBAQ/31/" rel="nofollow">JSFiddle link</a></p>

<p>Thanks
-JaXL</p>
