var mainArray = new Array (
	"--", "International System (SI)", "",
	"megawatt", "megawatt", "MW",
	"kilowatt", "kilowatt", "kW",
	"watt", "watt", "W",
	"--", "Common Units", "",
	"kcalories/sec", "kilocalories per second", "-",
	"calories/sec", "calories per second", "-",
	"bhorsepower", "horsepower, boiler", "bhp",
	"ehorsepower", "horsepower, electric", "ehp",
	"horsepower", "horsepower", "hp",
	"methorsepower", "horsepower, metric", "mhp",
	"kgfmpersec", "kilogramm-force meter per second", "-",
	"joule/sec", "joule per second", "-",
	"joule/hr", "joule per hour", "-",
	"erg/sec", "erg per second", "-",
	"--", "British and American", "",
	"btu/sec", "British Thermal Unit per second", "-",
	"btu/min", "British Thermal Unit per minute", "-",
	"btu/hr", "British Thermal Unit per hour", "-",
	"ftlbfpersec", "foot pound-force per second", "ft*lbf/s");

var coeffArray = new Array ( 
 1000,
 1000000,
 238.8459,
 238845.9,
 101.95889,
 1340.48,
 1341.0221,
 1359.62,
 101971.62,
 1000000,
 3.6e+09,
 1e+13,
 947.81339,
 56868.804,
 3412128.2,
 737562.15,
 1000,
 0.2388459,
 238.8459,
 0.10195889,
 1.34048,
 1.3410221,
 1.35962,
 101.97162,
 1000,
 3600000,
 1e+10,
 0.94781339,
 56.868804,
 3412.1282,
 737.56215,
 0.0002388459,
 0.2388459,
 0.00010195889,
 0.00134048,
 0.0013410221,
 0.00135962,
 0.10197162,
 1,
 3600,
 10000000,
 0.00094781339,
 0.056868804,
 3.4121282,
 0.73756215,
 1000,
 0.42688148,
 5.6123217,
 5.6145913,
 5.692457,
 426.93478,
 4186.8,
 15072480,
 4.1868e+10,
 3.9683051,
 238.09831,
 14285.898,
 3088.0252,
 0.00042688148,
 0.0056123217,
 0.0056145913,
 0.005692457,
 0.42693478,
 4.1868,
 15072.48,
 41868000,
 0.0039683051,
 0.23809831,
 14.285898,
 3.0880252,
 13.14726,
 13.152576,
 13.334982,
 1000.1249,
 9807.8745,
 35308348,
 9.8078745e+10,
 9.2960348,
 557.76209,
 33465.725,
 7233.917,
 1.0004044,
 1.0142785,
 76.070976,
 746.00143,
 2685605.2,
 7.4600143e+09,
 0.70707015,
 42.424209,
 2545.4525,
 550.22242,
 1.0138685,
 76.040225,
 745.69987,
 2684519.5,
 7.4569987e+09,
 0.70678433,
 42.40706,
 2544.4236,
 550,
 75.000089,
 735.49962,
 2647798.6,
 7.3549962e+09,
 0.6971164,
 41.826984,
 2509.619,
 542.47668,
 9.80665,
 35303.94,
 98066500,
 0.0092948742,
 0.55769245,
 33.461547,
 7.2330139,
 3600,
 10000000,
 0.00094781339,
 0.056868804,
 3.4121282,
 0.73756215,
 2777.7778,
 2.632815e-07,
 1.579689e-05,
 0.00094781339,
 0.00020487837,
 9.4781339e-11,
 5.6868804e-09,
 3.4121282e-07,
 7.3756215e-08,
 60,
 3600,
 778.17232,
 60,
 12.969539,
 0.21615898);

