
<!--
function convert(Units1,Units2) 
{
 uom1Index = Units1.fUnits.selectedIndex ;
 uom2Index = Units2.toUnits.selectedIndex ;
 
  Uom1 = Units1.fUnits.options[uom1Index].value ;
  Uom2 = Units2.toUnits.options[uom2Index].value ;
 
  with(document.multBy) 
  {
		if(Uom1 != "=" && Uom2 != "=")
    { 
      Factor =  Uom2 / Uom1 ;       
    }
    else 
    { 
      Factor = "0.0" ;
    }
  }
 
  with (document.ToUnits) 
  {
 //   fromU.value = Units1.fUnits.options[uom1Index].text ; 
 //   toU.value = Units2.toUnits.options[uom2Index].text ;
 
    if ( Factor > 0.0 ) 
    { 
      result.value = Units1.nrUnits.value * Factor
    }
    else
    { 
      result.value = "0.0"
    }
  }
}
//-->

