var Height;	// g
var Weight;	// ̏d

var Temp;

function checkFunc(){
	Height	= document.bmi.height.value;
	Weight	= document.bmi.weight.value;

	Temp	=(Height * Height * 22) / 10000;
	Temp	= Math.round(Temp * 10) / 10;
	document.bmi.result_std.value = Temp;

	Temp	= Weight / ((Height * Height) / 10000);
	Temp	= Math.round(Temp * 10) / 10;
	document.bmi.result_bmi.value = Temp;
}

