function Setup(){RestoreFromQs();Calculate();SetInput()}
function Calculate(){var a=document.getElementById("txtCols");a=ParseCheck("Columns",a,1,1E3);if(!(a<0)){var c=ConvertTo32nds(document.getElementById("txtDiameter").value),d=ConvertTo32nds(document.getElementById("txtLength").value),b=c/2;b=Math.PI*b*b*d*a/56623104;document.getElementById("spnRes").innerHTML="Volume "+RoundTo(b,1)+" ft&sup3; - "+RoundTo(b/27,2)+" yd&sup3;";a=a+" cylindrical columns with Diameter "+ConEng(c,true)+" and Length "+ConEng(d,true)+" have a total concrete volume of "+RoundTo(b,
1)+" ft&sup3; or "+RoundTo(b/27,2)+" yd&sup3;";document.getElementById("spnDesc").innerHTML=a}};
