Javascript Function Stopping code from executing
<p>I have this function in my javascript which is stopping my code from being executed and returning data, If I remove it from my file the code works perfectly, can anybody see whats wrong?</p>

<pre><code>var TimeToRenderHours = EstimatedCoreHours/(245.76);
if (TimeToRenderHours &lt;= 1) {
   alert('less than 1 working');
} else {
alert(TimeToRenderHours);
}
</code></pre>

<p>Sorry, I would have posted the page but its huge and very messy, Estimated Core Hours comes from</p>

<pre><code>   var EstimatedCoreHours =  GetNumeric(NoOfFrames) * GetNumeric(RenderingHours) * GetNumeric(CoresInTest);
</code></pre>

<p>the 3 variables which are multiplied are called from input files, eg</p>

<pre><code>var NoOfFrames = document.getElementById ("NoOfFrames").value;
</code></pre>
