Second alert not working
<p>I have this function which calls values from document id's and some variables are defined.</p>

<p>It all seems to work fine besindes the variables already defined and the second alert box isnt appearing, any idea why?</p>

<pre><code>function Calculate() {
var ContentMinutes = document.getElementById ("ContentMinutes").value;
var NoOfFrames = 5;
var EstimatedCoreHours = document.getElementById ("EstimatedCoreHours").value;
var ServiceLevel=document.getElementById('SerivceLevelDD').options[document.getElementById('SerivceLevelDD')    .selectedIndex].value
var RenderHours = 1;
var CoresInTest = 2;

var EstimatedTotal =  GetNumeric(ServiceLevel) * GetNumeric(EstimatedCoreHours);
alert('hi = '+EstimatedTotal.toFixed(2));

var EstimatedCoreHours =  GetNumeric(NoOfFrames) * GetNumeric(RenderHours) * GetNumeric(CoresInTest);
alert(' = '+EstimatedCoreHoursTotal.toFixed(2));
}

function GetNumeric(val) {

if (isNaN(parseFloat(val))) {
return 0;
}
return parseFloat(val);
}
</code></pre>

<hr>

<p>Sorry I forgot to register...</p>

<p>I commented out the 'var EstimatedCoreHours = document.getElementById ("EstimatedCoreHours").value;' variable as it wasn't needed, Still doesn't work howerver...</p>
