<!--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 computevw2(obj) {
with (Math) {
w=eval(obj.wid2.value);
s=eval(obj.high1.value);
h=eval(obj.high2.value);
d=eval(obj.dep2.value);
t=eval(obj.thick2.value);
obj.volw2.value = volt((w-(t*2))*((s+h)-(t*4))*((d-(t*2))/2)/1728);
}	
}
//-->
