function displacement(form, bore, stroke, n, u) {

// Copyright 2003 Davewin.com - The Ultimate Racing & Performance Car Site

vol = Math.PI * stroke * n * (bore/2) * (bore/2);

if (u == 1) {
	vol1 = vol;
	vol2 = vol * 16.393442623;
}

if (u == 2) {
	vol2 = vol / 1000;
	vol1 = vol2 * 61 / 1000;
}

vol1  = Math.round(10*vol1)/10;
vol2  = Math.round(vol2);


form.ci.value = vol1;
form.cc.value = vol2;

}


