// JavaScript Document
function sqFtCalc()
{		
var width =  Math.round(parseInt(document.SquareFootCalc.width.value));
var height =  Math.round(parseInt(document.SquareFootCalc.length.value));
var sqFt = width * height;
document.SquareFootCalc.squareFoot.value = sqFt;
if (sqFt < "200"){
document.SquareFootCalc.btuNeeded.value = "3,000 - 9,000";
}
else if (sqFt > "201" && sqFt < "400"){
document.SquareFootCalc.btuNeeded.value = "6,000 - 18,000";
}
else if (sqFt > "401" && sqFt < "600"){
document.SquareFootCalc.btuNeeded.value = "9,000 - 27,000";
}
else if (sqFt > "601" && sqFt < "800"){
document.SquareFootCalc.btuNeeded.value = "12,000 - 36,000";
}
else if (sqFt > "801" && sqFt < "1000"){
document.SquareFootCalc.btuNeeded.value = "15,000 - 45,000";
}
else if (sqFt > "1101"){
document.SquareFootCalc.btuNeeded.value = "45,000";
}
}