function fnccal1()
{
var numrows = parseInt(document.getElementById('hdnMaxLine').value);
for(intLine=1;intLine<numrows;intLine++)
{
var total = 0;
if(document.getElementById && (element = document.getElementById('Column3_'+intLine)))
{
var sum = parseInt(document.getElementById('Column3_'+intLine).value);
if(isNaN(sum))
{
sum = 0;
}
total += sum;
}
document.getElementById('Sumdebit').value = total;
}
}