function Setup(){RestoreFromQs();Calculate();SetInput()}
function Calculate(){var a=document.getElementById("txtCols"),b=ParseCheck("Columns",a,1,1E3);if(!(b<0)){a=document.getElementById("txtDiameter");var d=ParseCheck("Diameter",a,1,1E3);if(!(d<0)){a=document.getElementById("txtLength");a=ParseCheck("Length",a,1,1E5);if(!(a<0)){var c=d/2;c=RoundTo(Math.PI*c*c*a*b*1.0E-9,2);document.getElementById("spnRes").innerHTML="Total Volume "+c+"m&sup3;";b=b+" cylindrical columns with Diameter "+d+" and Length "+a+" have a total concrete volume of "+c+" m&sup3;";
document.getElementById("spnDesc").innerHTML=b}}}};
