<!--Copyright © 1999-2000 the12volt.com -->
<!--If you use this script, you must include this copyright notice -->
<!-- 
function volt(number,X) {
// rounds number to X decimal places, defaults to 2
X = (!X ? 5 : X);
return Math.round(number*Math.pow(10,X))/Math.pow(10,X);
}
function computev(obj) {
with (Math) {
w=eval(obj.wid.value);
h=eval(obj.high.value);
d=eval(obj.dep.value);
t=eval(obj.thick.value);
obj.vol.value = volt((w-(t*2))*(h-(t*2))*(d-(t*2))/1728);
}	
}
//-->
