function clc(form) {
	var fc = form.fc.value ;
	var fw = form.fw.value ;
	var c = form.c.value ;
	var p = form.p.value ;
	var ls = form.ls.value ;
	var n1 = form.n1.value ;
	var h = form.h.value ;
	var d = form.d.value ;
	
	var ataiLfig = fc/fw*c/p ;
	var ataiL = ataiLfig*ataiLfig*ataiLfig*50 ;
	var ataiLnfig = ataiL*1000/(2*(ls/1000)*(n1/60)*3600) ;
	var ataiLn = Math.floor(ataiLnfig);
	var mon  = Math.floor(ataiLn/h/d) ;

	form.ataiL.value  = Math.floor(ataiL) ;
	form.ataiLn.value = ataiLn ;

	form.mon.value  = mon ;
	form.year.value = Math.floor(mon/12) ;
}

function Focus(obj){
    obj.style.backgroundColor = "#ddddcc";
    obj.style.border = "1px solid #666666";
}

function Blur(obj){
    obj.style.backgroundColor = "#ffffff"
    obj.style.border = "1px solid #999999";
}