<!--
document.writeln('<CENTER><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Engine Displacement Calculator courtesy of<br>');
document.writeln('Stegath Coachcraft</FONT></CENTER>');
document.writeln('');
document.writeln('<CENTER><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('This calculator <I>requires</I> a JavaScript compatible browser.');
document.writeln('</FONT></CENTER>');
document.writeln('');
document.writeln('<CENTER><FORM name="my_form">');
document.writeln('');
document.writeln('<CENTER><FONT COLOR="#000000" SIZE=+1 FACE="Arial, Helvetica, sans-serif">');
document.writeln('Fill in either Inch or Metric values, then click&nbsp;');
document.writeln('</FONT>');
document.writeln('<INPUT type=button value="Calculate" onClick=compute(this.form)></CENTER>');
document.writeln('');
document.writeln('<CENTER>&nbsp;</CENTER>');
document.writeln('<CENTER><TABLE BORDER=0 WIDTH="500" >');
document.writeln('<TR>');
document.writeln('<TD>');
document.writeln('<CENTER><B><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Inch Values&nbsp;');
document.writeln('</FONT></B></CENTER>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<CENTER><B><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Metric Values&nbsp;');
document.writeln('</FONT></B></CENTER>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE></CENTER>');
document.writeln('&nbsp;');
document.writeln('<CENTER><TABLE WIDTH="86%" >');
document.writeln('<TR>');
document.writeln('<TD>');
document.writeln('<TABLE BORDER=3 >');
document.writeln('<TR><TD><B>');
document.writeln('<FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Enter the Bore Diameter (inch)');
document.writeln('</FONT></B>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<INPUT type="text" size=6 name="bore" value="" onChange=swap_bore_mm()>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('');
document.writeln('<TR><TD><B>');
document.writeln('<FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Enter the Stroke Length (inch)');
document.writeln('</FONT></B>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<INPUT type="text" size=6 name="stroke" value="" onChange=swap_stroke_mm()>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('');
document.writeln('<TR><TD><B>');
document.writeln('<FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" FONT SIZE=+1>');
document.writeln('Enter the Number of cylinders');
document.writeln('</FONT></B>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<INPUT type="text" size=6 name="cylinders" value="" onChange=swap_cylinders_mm()>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');
document.writeln('&nbsp;');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<TABLE BORDER=3 >');
document.writeln('<TR><TD><B>');
document.writeln('<FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Enter the Bore Diameter (mm)');
document.writeln('</FONT></B>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<INPUT type="text" size=6 name="bore2" value="" onChange=swap_bore_in()>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('');
document.writeln('<TR><TD><B>');
document.writeln('<FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Enter the Stroke Length (mm)');
document.writeln('</FONT></B>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<INPUT type="text" size=6 name="stroke2" value="" onChange=swap_stroke_in()>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('');
document.writeln('<TR><TD><B>');
document.writeln('<FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('Enter the Number of cylinders');
document.writeln('</FONT></B>');
document.writeln('</TD>');
document.writeln('');
document.writeln('<TD>');
document.writeln('<INPUT type="text" size=6 name="cylinders2" value="" onChange=swap_cylinders_in()>');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');
document.writeln('&nbsp;');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE></CENTER>');
document.writeln('');
document.writeln('<CENTER><FONT FACE="Arial, Helvetica, sans-serif" COLOR="#000000" SIZE=+1>');
document.writeln('The numbers you entered give a displacement of&nbsp;');
document.writeln('<INPUT type=text name="output" size=6 value=" ">');
document.writeln('cubic inches or&nbsp;');
document.writeln('<INPUT type=text name="output2" size=6 value=" ">');
document.writeln('ccs.');
document.writeln('</FONT></CENTER>');
document.writeln('');
document.writeln('</FORM></CENTER>');
document.writeln('<!-- End of Displ Calculator Table -->');
//-->
