unless its the copy and paste let me post the code here, dont forget there are no body or head tags...
<script language="JavaScript"><!-- Generic Unit Conversion Program
// Author : Jonathan Weesner (jweesner@cyberstation.net) 21 Nov 95
// Copyright : You want it? Take it! ... but leave the Author line intact please!
function convertform(form){
var firstvalue = 0;
for (var i = 1; i <= form.count; i ) {
// Find first non-blank entry
if (form.elements[i].value != null && form.elements[i].value.length != 0) {
if (i == 1 && form.elements[2].value != "") return false;
firstvalue = form.elements[i].value / form.elements[i].factor;
break;
}
}
if (firstvalue == 0) {
clearform(form);
return false;
}
for (var i = 1; i <= form.count; i )
form.elements[i].value = formatvalue((firstvalue * form.elements[i].factor), form.rsize);
return true;
}
function formatvalue(input, rsize) {
var invalid = "**************************";
var nines = "999999999999999999999999";
var strin = "" input;
var fltin = parseFloat(strin);
if (strin.length <= rsize) return strin;
if (strin.indexOf("e") != -1 ||
fltin > parseFloat(nines.substring(0,rsize) ".4"))
return invalid.substring(0, rsize);
var rounded = "" (fltin (fltin - parseFloat(strin.substring(0, rsize))));
return rounded.substring(0, rsize);
}
function resetform(form) {
clearform(form);
form[1].value = 1;
convertform(form);
return true;
}
function clearform(form) {
for (var i = 1; i <= form.count; i ) form[i].value = "";
return true;
}
<!-- done hiding from old browsers -->
</script>
<script language="JavaScript">
<!-- hide javascript
function calculate(){
var from = Number(document.forms[0].from.selectedIndex);
var toval = Number(document.forms[0].toval.selectedIndex);
var input = Number(document.forms[0].input.value);
var output = 0;
var x = 0;
if ( from == 0 ){ x = input * .00006485423519737;}
if ( from == 1 ){ x = input * .0003080576;}
if ( from == 2 ){ x = input * .0006161152;}
if ( from == 3 ){ x = input * .001;}
if ( from == 4 ){ x = input * .1;}
if ( from == 5 ){ x = input * .0036966914;}
if ( from == 6 ){ x = input * .004927469540511968;}
if ( from == 7 ){ x = input * .0046207343;}
if ( from == 8 ){ x = input * .014782408621535903;}
if ( from == 9 ){ x = input * .018482937;}
if ( from == 10 ){ x = input * .029564817243071806;}
if ( from == 11 ){ x = input * .028413075;}
if ( from == 12 ){ x = input * .23651853794457445;}
if ( from == 13 ){ x = input * .01638706;}
if ( from == 14 ){ x = input * .11825926897228722;}
if ( from == 15 ){ x = input * .1420654;}
if ( from == 16 ){ x = input * .4730370758891489;}
if ( from == 17 ){ x = input * .5682615;}
if ( from == 18 ){ x = input * .9460741517782978;}
if ( from == 19 ){ x = input * 1;}
if ( from == 20 ){ x = input * 3.784296607113191;}
if ( from == 21 ){ x = input * 4.546092;}
if ( toval == 0 ){ output = x / .00006485423519737;}
if ( toval == 1 ){ output = x / .0003080576;}
if ( toval == 2 ){ output = x / .0006161152;}
if ( toval == 3 ){ output = x / .001;}
if ( toval == 4 ){ output = x / .1;}
if ( toval == 5 ){ output = x / .0036966914;}
if ( toval == 6 ){ output = x / .004927469540511968;}
if ( toval == 7 ){ output = x / .0046207343;}
if ( toval == 8 ){ output = x / .014782408621535903;}
if ( toval == 9 ){ output = x / .018482937;}
if ( toval == 10 ){ output = x / .029564817243071806;}
if ( toval == 11 ){ output = x / .028413075;}
if ( toval == 12 ){ output = x / .23651853794457445;}
if ( toval == 13 ){ output = x / .01638706;}
if ( toval == 14 ){ output = x / .11825926897228722;}
if ( toval == 15 ){ output = x / .1420654;}
if ( toval == 16 ){ output = x / .4730370758891489;}
if ( toval == 17 ){ output = x / .5682615;}
if ( toval == 18 ){ output = x / .9460741517782978;}
if ( toval == 19 ){ output = x / 1;}
if ( toval == 20 ){ output = x / 3.784296607113191;}
if ( toval == 21 ){ output = x / 4.546092;}
document.forms[0].output.value = Math.round( 1000 * output)/ 1000;
document.forms[0].output.value = Math.round( 1000 * output)/ 1000;
}
// done hiding -->
</script><!-- end function -->
<div align="center">
<table width="527" cellspacing="1"> <tbody><tr>
<td width="523" align="center"><form>
<div align="center"><center>
<table border="0" cellpadding="3" cellspacing="0" width="502" bgcolor="#0000FF">
<tbody>
<tr>
<td bgcolor="#0000FF" width="166"><input name="input" size="15" width="100%">
<font face="Arial" size="2" color="#FFFFFF">quantity</font></td>
<td bgcolor="#0000FF" width="261"><select name="from" size="1">
<option>Drop</option>
<option>Dash</option>
<option>Pinch</option>
<option>Milliliters/cc </option>
<option>Deciliter</option>
<option>Fluid Dram</option>
<option>Teaspoon (US)</option>
<option>Teaspoon (UK)</option>
<option>Tablespoon (US)</option>
<option>Tablespoon (UK)</option>
<option>Fluid Ounce (US)</option>
<option>Fluid Ounce (Imperial)</option>
<option>Cups </option>
<option>Cubic Inch</option>
<option>Gill (US) </option>
<option>Gill (UK) </option>
<option>Pint (US) </option>
<option>Pint (UK) </option>
<option>Quarts (US)</option>
<option>Liters </option>
<option>Gallons (US)</option>
<option>Gallons (UK)</option>
</select> <font face="Arial" size="2" color="#FFFFFF">f r o m</font></td>
</tr>
<tr>
<td bgcolor="#0000FF" width="166"></td>
<td bgcolor="#0000FF" width="261"><select name="toval" size="1">
<option>Drop</option>
<option>Dash</option>
<option>Pinch</option>
<option>Milliliters/cc </option>
<option>Deciliter</option>
<option>Fluid Dram</option>
<option>Teaspoon (US)</option>
<option>Teaspoon (UK)</option>
<option>Tablespoon (US)</option>
<option>Tablespoon (UK)</option>
<option>Fluid Ounce (US)</option>
<option>Fluid Ounce (Imperial)</option>
<option>Cups </option>
<option>Cubic Inch</option>
<option>Gill (US) </option>
<option>Gill (UK) </option>
<option>Pint (US) </option>
<option>Pint (UK) </option>
<option>Quarts (US)</option>
<option>Liters </option>
<option>Gallons (US)</option>
<option>Gallons (UK)</option>
</select><font color="#FFFFFF"> <font face="Arial" size="2">t o</font></font></td>
</tr>
<tr>
<td bgcolor="#0000FF" width="166"></td>
<td bgcolor="#0000FF" width="261"><input name="output" size="15" width="100%">
<font face="Arial" size="2" color="#FFFFFF">answer</font></td>
</tr>
<tr>
<td bgcolor="#0000FF" width="166"></td>
<td bgcolor="#0000FF" width="261">
<input value="Convert" onclick="calculate()" type="button"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#0000FF" width="427">
<font color="#FFFFFF" face="Arial" size="3"><strong>Instructions</strong></font><font color="#FFFFFF" face="Arial" size="2"><br>
1. Type in a quantity <br>
2. Select "from" measurement <br>
3. Select "to" measurement<br>
4. Click "Convert"</font></td>
</tr>
</tbody></table>
</center></div>
</form>
</td>
</tr>
</tbody></table>
</div>
just copy this to note pad and save has conversions.htm then upload to your host