<!--
/* ------------------------------------------------
 I hope you find it useful and if you find it to   
 have errors please let me know.

                  *  script by S.J. Kok
                  *  http://www.sanderkok.com
                  *  copyright 2001
                  *  all rights reserved
 ------------------------------------------------
*/

function void_volume(input) {
var txt="";
var d=(input.d.value);
var L=(input.L.value);
var pore=(input.pore.value);
var PI=3.14159265
if (input.d.value == "" && input.L.value == "") {
txt = "";
input.d.value = txt;
input.L.value = txt;
input.pore.value = txt;
}

if (input.d.value != "" && input.L.value != "")

 {
var txt = (d*d * PI * L * pore )/4000
input.Volume.value = txt;
}
}

function reset(input) {
	input.d.value="";	
	input.L.value="";
	input.Volume.value="";
}
//-->
