function sindan(){
	var hiyou =document.getElementById("si");

var text=20;
var che=40;
var o=0;
for(var i=0; i<hiyou.length; i++){
	if(hiyou.elements[i].value==""){text--;}
	else{text++;}}
	if(text<che){alert("未入力の項目があります");}
	else if(text==che){keisan();}
	}

function keisan(){
	
var aa=Number(document.a.a1.value);var ab=Number(document.a.a2.value);
var ac=Number(document.a.a3.value);var ad=Number(document.a.a4.value);
var ae=Number(document.a.a5.value);var af=Number(document.a.a6.value);
var ag=Number(document.a.a7.value);
document.b.d1.value=aa+ab+ac+ad+ae+af+ag;

var ba=Number(document.a.a9.value);var bb=Number(document.a.a10.value);
var bc=Number(document.a.a11.value);var bd=Number(document.a.a12.value);
var be=Number(document.a.a13.value);var bf=Number(document.a.a14.value);
var bg=Number(document.a.a19.value);
document.b.d2.value=ba+bb+bc+bd+be+bf+bg;

var ca=Number(document.a.a15.value);var cb=Number(document.a.a16.value);
var cc=Number(document.a.a17.value);var cd=Number(document.a.a18.value);
document.b.d3.value=ca+cb+cc+cd;
document.b.d.value=aa+ab+ac+ad+ae+af+ag+ba+bb+bc+bd+be+bf+bg+ca+cb+cc+cd;
var ea=Number(document.a.b2.value*10000);var eb=Number(document.a.b3.value*10000);

var da=Number(document.b.d1.value);var db=Number(document.b.d2.value);
var dc=Number(document.b.d3.value);var dd=Number(document.b.d.value);
document.b.a20.value=ea-dd;
var fa=document.getElementById("ke");
var fb=fa.selectedIndex==1;
var fc=fa.selectedIndex==2;
var fd=fa.selectedIndex==3;
var fe=fa.selectedIndex==4;
var fg=ea*12;
if(isNaN(da) ||isNaN(db)||isNaN(dc)||isNaN(dd)){alert("半角数字のみを入力してください");return false;}
else if(fa.selectedIndex==0){alert("年齢を選択してください");return false;}
//20代赤字

if(fb&&(ea<=dd)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<=1000000){location.href="20kotei/20arooncs.html";}
else if(1000000<=eb){location.href="20kotei/20aroonco.html";}}
else if(dd*0.2<=bc){
if(eb<=1000000){location.href="20kotei/20ahokencs.html";}
else if(1000000<=eb){location.href="20kotei/20ahokenco.html";}}
else if(dd*0.2<=bd){
if(eb<=1000000){location.href="20kotei/20anaraics.html";}
else if(1000000<=eb){location.href="20kotei/20anaraico.html";}}
else if(dd*0.2<=be){
if(eb<=1000000){location.href="20kotei/20akeitaics.html";}
else if(1000000<=eb){location.href="20kotei/20akeitaico.html";}}
else{
if(eb<=1000000){location.href="20/20acs.html";}
else if(1000000<=eb){location.href="20/20acok.html";}}}
//20代赤字、固定費終わり
	else if(dd*0.45<=da){
if(dd*0.2<=aa){
if(eb<=1000000){location.href="20ryuu/20syokucs.html";}
else if(1000000<=eb){location.href="20ryuu/20syokuco.html";}}
else if(dd*0.2<=ab){
if(eb<=1000000){location.href="20ryuu/20akounetucs.html";}
else if(1000000<=eb){location.href="20ryuu/20akounetuco.html";}}
else if(dd*0.2<=ac){
if(eb<=1000000){location.href="20ryuu/20akyouikucs.html";}
else if(1000000<=eb){location.href="20ryuu/20akyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<=1000000){location.href="20ryuu/20airyoucs.html";}
else if(1000000<=eb){location.href="20ryuu/20airyouco.html";}}
else if(dd*0.25<=ae){
if(eb<=1000000){location.href="20ryuu/20akurumacs.html";}
else if(1000000<=eb){location.href="20ryuu/20akurumaco.html";}}
else{
if(eb<=1000000){location.href="20/20arcs.html";}
else if(1000000<=eb){location.href="20/20arco.html";}}}
else if(dd*0.35<=dc){
if(eb<=1000000){location.href="20/20akucs.html";}
else if(1000000<=eb){location.href="20/20akuco.html";}}
else{
if(eb<=1000000){location.href="20/20azcs.html";}
else if(1000000<=eb){location.href="20/20azco.html";}}
}
else if(fb&&(dd<ea*0.65)){
	if(ea<=300000){if(eb<1000000){location.href="yoyuu/20yoyuusocs.html";}
else if(1000000<=eb){location.href="yoyuu/yoyuu.html";}}
else {if(eb<1000000){location.href="yoyuu/20yoyuucs.html";}
else if(1000000<=eb){location.href="yoyuu/20yoyuuco.html";}}}
//20代余剰金多い終わり
//20代黒字
else if(fb&&(dd<ea)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<1000000){location.href="20kotei/20krooncs.html";}
else if(1000000<=eb){location.href="20kotei/20kroonco.html";}}
else if(dd*0.2<=bc){
if(eb<1000000){location.href="20kotei/20khokencs.html";}
else if(1000000<=eb){location.href="20kotei/20khokenco.html";}}
else if(dd*0.2<=bd){
if(eb<1000000){location.href="20kotei/20knaraics.html";}
else if(1000000<=eb){location.href="20kotei/20knaraico.html";}}
else if(dd*0.2<=be){
if(eb<1000000){location.href="20kotei/20kkeitaics.html";}
else if(1000000<=eb){location.href="20kotei/20kkeitaico.html";}}
else{
if(eb<1000000){location.href="20/20krkcs.html";}
else if(1000000<=eb){location.href="20/20krkco.html";}}}
//20代黒字固定費終わり
else if(dd*0.45<=da){
if(dd*0.2<=aa){
if(eb<1000000){location.href="20ryuu/20ksyokucs.html";}
else if(1000000<=eb){location.href="20ryuu/20ksyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<1000000){location.href="20ryuu/20kkounetucs.html";}
else if(1000000<=eb){location.href="20ryuu/20kkounetuco.html";}}
else if(dd*0.2<=ac){
if(eb<1000000){location.href="20ryuu/20kkyouikucs.html";}
else if(1000000<=eb){location.href="20ryuu/20kkyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<1000000){location.href="20ryuu/20kiryoucs.html";}
else if(1000000<=eb){location.href="20ryuu/20kiryouco.html";}}
else if(dd*0.25<=ae){
if(eb<1000000){location.href="20ryuu/20kkurumacs.html";}
else if(1000000<=eb){location.href="20ryuu/20kkurumacs.html";}}
else{
if(eb<1000000){location.href="20/20krrcs.html";}
else if(1000000<=eb){location.href="20/20krrco.html";}}}
else if(dd*0.35<=dc){
if(eb<1000000){location.href="20/20krkucs.html";}
else if(1000000<=eb){location.href="20/20krkuco.html";}}
else{
if(eb<1000000){location.href="20/20krzcs.html";}
else if(1000000<=eb){location.href="20/20krzco.html";}}
}
	

	//20代終わり//30代赤字
else if(fc&&(ea<=dd)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<3000000){location.href="30kotei/30arooncs.html";}
else if(3000000<=eb){location.href="30kotei/30aroonco.html";}}
else if(dd*0.2<=bc){
if(eb<3000000){location.href="30kotei/30ahokencs.html";}
else if(3000000<=eb){location.href="30kotei/30ahokenco.html";}}
else if(dd*0.2<=bd){
if(eb<3000000){location.href="30kotei/30anaraics.html";}
else if(3000000<=eb){location.href="30kotei/30anaraico.html";}}
else if(dd*0.2<=be){
if(eb<3000000){location.href="30kotei/30akeitaics.html";}
else if(3000000<=eb){location.href="30kotei/30akeitaico.html";}}
else{
if(eb<3000000){location.href="30/30akcs.html";}
else if(3000000<=eb){location.href="30/30akco.html";}}}
//30代赤字流動費
else if(dd*0.45<=da){
if(dd*0.25<=aa){
if(eb<3000000){location.href="30ryuu/30asyokucs.html";}
else if(3000000<=eb){location.href="30ryuu/30asyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<3000000){location.href="30ryuu/30akounetucs.html";}
else if(3000000<=eb){location.href="30ryuu/30akounetuco.html";}}
else if(dd*0.2<=ac){
if(eb<3000000){location.href="30ryuu/30akyouikucs.html";}
else if(3000000<=eb){location.href="30ryuu/30akyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<3000000){location.href="30ryuu/30airyoucs.html";}
else if(3000000<=eb){location.href="30ryuu/30airyouco.html";}}
else if(dd*0.25<=ae){
if(eb<3000000){location.href="30ryuu/30akurumacs.html";}
else if(3000000<=eb){location.href="30ryuu/30akurumaco.html";}}
else{
if(eb<3000000){location.href="30/30arcs.html";}
else if(3000000<=eb){location.href="30/30arco.html";}}}
else if(dd*0.35<=dc){
if(eb<3000000){location.href="30/30akucs.html";}
else if(3000000<=eb){location.href="30/30akuco.html";}}
else{
if(eb<3000000){location.href="30/30azcs.html";}
else if(3000000<=eb){location.href="30/30azco.html";}}

	}//30代黒字
	else if(fb&&(dd<ea*0.65)){
	if(ea<=500000){if(eb<3000000){location.href="yoyuu/20yoyuusocs.html";}
else if(3000000<=eb){location.href="yoyuu/yoyuu.html";}}
else {if(eb<3000000){location.href="yoyuu/30yoyuucs.html";}
else if(3000000<=eb){location.href="yoyuu/30yoyuuco.html";}}}
//30代余剰金多い終わり
else if(fc&&(dd<ea)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<3000000){location.href="30kotei/30krooncs.html"}
else if(3000000<=eb){location.href="30kotei/30kroonco.html"}}
else if(dd*0.2<=bc){
if(eb<3000000){location.href="30kotei/30khokencs.html"}
else if(3000000<=eb){location.href="30kotei/30khokenco.html"}}
else if(dd*0.2<=bd){
if(eb<3000000){location.href="30kotei/30knaraics.html"}
else if(3000000<=eb){location.href="30kotei/30knaraico.html"}}
else if(dd*0.2<=be){
if(eb<3000000){location.href="30kotei/30kkeitaics.html"}
else if(3000000<=eb){location.href="30kotei/30kkeitaico.html"}}
else{
if(eb<3000000){location.href="30/30kkcs.html"}
else if(3000000<=eb){location.href="30/30kkco.html"}}}
//30代黒字流動費
else if(dd*0.45<=da){
if(dd*0.25<=aa){
if(eb<3000000){location.href="30ryuu/30ksyokucs.html";}
else if(3000000<=eb){location.href="30ryuu/30ksyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<3000000){location.href="30ryuu/30kkounetucs.html";}
else if(3000000<=eb){location.href="30ryuu/30kkounetuco.html";}}
else if(dd*0.2<=ac){
if(eb<3000000){location.href="30ryuu/30kkyouikucs.html";}
else if(3000000<=eb){location.href="30ryuu/30kkyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<3000000){location.href="30ryuu/30kiryoucs.html";}
else if(3000000<=eb){location.href="30ryuu/30kiryouco.html";}}
else if(dd*0.25<=ae){
if(eb<3000000){location.href="30ryuu/30kkurumacs.html";}
else if(3000000<=eb){location.href="30ryuu/30kkurumaco.html";}}
else{
if(eb<3000000){location.href="30/30krcs.html";}
else if(3000000<=eb){location.href="30/30krco.html";}}}
else if(dd*0.35<=dc){
if(eb<3000000){location.href="30/30kkucs.html";}
else if(3000000<=eb){location.href="30/30kkuco.html";}}
else{
if(eb<3000000){location.href="30/30kzcs.html";}
else if(3000000<=eb){location.href="30/30kzco.html";}}}

	//30代終わり
	//40代赤字
else if(fd&&(ea<=dd)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<5000000){location.href="40kotei/40arooncs.html";}
else if(5000000<=eb){location.href="40kotei/40aroonco.html";}}
else if(dd*0.2<=bc){
if(eb<5000000){location.href="40kotei/40ahokencs.html";}
else if(5000000<=eb){location.href="40kotei/40ahokenco.html";}}
else if(dd*0.2<=bd){
if(eb<5000000){location.href="40kotei/40anaraics.html";}
else if(5000000<=eb){location.href="40kotei/40anaraico.html";}}
else if(dd*0.2<=be){
if(eb<5000000){location.href="40kotei/40akeitaics.html";}
else if(5000000<=eb){location.href="40kotei/40akeitaico.html";}}
else{
if(eb<5000000){location.href="40/40akcs.html";}
else if(5000000<=eb){location.href="40/40akco.html";}}}
//40代赤字流動費
else if(dd*0.45<=da){
if(dd*0.25<=aa){
if(eb<5000000){location.href="40ryuu/40asyokucs.html";}
else if(5000000<=eb){location.href="40ryuu/40asyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<5000000){location.href="40ryuu/40akounetucs.html";}
else if(5000000<=eb){location.href="40ryuu/40akounetuco.html";}}
else if(dd*0.25<=ac){
if(eb<5000000){location.href="40ryuu/40akyouikucs.html";}
else if(5000000<=eb){location.href="40ryuu/40akyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<5000000){location.href="40ryuu/40airyoucs.html";}
else if(5000000<=eb){location.href="40ryuu/40airyouco.html";}}
else if(dd*0.25<=ae){
if(eb<5000000){location.href="40ryuu/40akurumacs.html";}
else if(5000000<=eb){location.href="40ryuu/40akurumaco.html";}}
else{
if(eb<5000000){location.href="40/40arcs.html";}
else if(5000000<=eb){location.href="40/40arcs.html";}}}
else if(dd*0.35<=dc){
if(eb<5000000){location.href="40/40akucs.html";}
else if(5000000<=eb){location.href="40/40kuco.html";}}
else{
if(eb<5000000){location.href="40/40azcs.html";}
else if(5000000<=eb){location.href="40/40azco.html";}}}

	//40代黒字
	else if(fb&&(dd<ea*0.65)){
	if(ea<=600000){if(eb<5000000){location.href="yoyuu/40yoyuusocs.html";}
else if(5000000<=eb){location.href="yoyuu/yoyuu.html";}}
else {if(eb<5000000){location.href="yoyuu/40yoyuucs.html";}
else if(5000000<=eb){location.href="yoyuu/40yoyuuco.html";}}}
//40代余剰金多い終わり
else if(fd&&(dd<ea)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<5000000){location.href="40kotei/40krooncs.html";}
else if(5000000<=eb){location.href="40kotei/40kroonco.html";}}
else if(dd*0.2<=bc){
if(eb<5000000){location.href="40kotei/40khokencs.html";}
else if(5000000<=eb){location.href="40kotei/40khokenco.html";}}
else if(dd*0.2<=bd){
if(eb<5000000){location.href="40kotei/40knaraics.html";}
else if(5000000<=eb){location.href="40kotei/40knaraico.html";}}
else if(dd*0.2<=be){
if(eb<5000000){location.href="40kotei/40kkeitaics.html";}
else if(5000000<=eb){location.href="40kotei/40kkeitaico.html";}}
else{
if(eb<5000000){location.href="40/40kkcs.html";}
else if(5000000<=eb){location.href="40/40kkco.html";}}}
//40代黒字、流動費
else if(dd*0.45<=da){
if(dd*0.25<=aa){
if(eb<5000000){location.href="40ryuu/40ksyokucs.html";}
else if(5000000<=eb){location.href="40ryuu/40ksyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<5000000){location.href="40ryuu/40kkounetucs.html";}
else if(5000000<=eb){location.href="40ryuu/40kkounetuco.html";}}
else if(dd*0.25<=ac){
if(eb<5000000){location.href="40ryuu/40kkyouikucs.html";}
else if(5000000<=eb){location.href="40ryuu/40kkyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<5000000){location.href="40ryuu/40kiryoucs.html";}
else if(5000000<=eb){location.href="40ryuu/40kiryouco.html";}}
else if(dd*0.25<=ae){
if(eb<5000000){location.href="40ryuu/40kkurumacs.html";}
else if(5000000<=eb){location.href="40ryuu/40kkurumaco.html";}}
else{
if(eb<5000000){location.href="40/40krcs.html";}
else if(5000000<=eb){location.href="40/40krco.html";}}}
else if(dd/2<=dc){
if(eb<5000000){location.href="40/40kkucs.html";}
else if(5000000<=eb){location.href="40/40kkuco.html";}}
else{
if(eb<5000000){location.href="40/40kzcs.html";}
else if(5000000<=eb){location.href="40/40kzco.html";}}}

	//40代終わり
	//50代赤字
else if(fe&&(ea<=dd)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<8000000){location.href="50kotei/50arooncs.html";}
else if(8000000<=eb){location.href="50kotei/50aroonco.html";}}
else if(dd*0.2<=bc){
if(eb<8000000){location.href="50kotei/50ahokencs.html";}
else if(8000000<=eb){location.href="50kotei/50ahokenco.html";}}
else if(dd*0.2<=bd){
if(eb<8000000){location.href="50kotei/50anaraics.html";}
else if(8000000<=eb){location.href="50kotei/50anaraico.html";}}
else if(dd*0.2<=be){
if(eb<8000000){location.href="50kotei/50akeitaics.html";}
else if(8000000<=eb){location.href="50kotei/50akeitaico.html";}}
else{
if(eb<8000000){location.href="50/50akcs.html";}
else if(8000000<=eb){location.href="50/50akco.html";}}}
//50代赤字、流動費
else if(dd*0.45<=da){
if(dd*0.25<=aa){
if(eb<8000000){location.href="50ryuu/50asyokucs.html";}
else if(8000000<=eb){location.href="50ryuu/50asyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<8000000){location.href="50ryuu/50akounetucs.html";}
else if(8000000<=eb){location.href="50ryuu/50akounetuco.html";}}
else if(dd*0.2<=ac){
if(eb<8000000){location.href="50ryuu/50akyouikucs.html";}
else if(8000000<=eb){location.href="50ryuu/50akyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<8000000){location.href="50ryuu/50airyoucs.html";}
else if(8000000<=eb){location.href="50ryuu/50airyouco.html";}}
else if(dd*0.25<=ae){
if(eb<8000000){location.href="50ryuu/50akurumacs.html";}
else if(8000000<=eb){location.href="50ryuu/50akurumaco.html";}}
else{
if(eb<8000000){location.href="50/50arcs.html";}
else if(8000000<=eb){location.href="50/50arco.html";}}}
else if(dd*0.35<=dc){
if(eb<8000000){location.href="50/50akucs.html";}
else if(8000000<=eb){location.href="50/50akuco.html";}}
else{
if(eb<8000000){location.href="50/50azcs.html";}
else if(8000000<=eb){location.href="50/50azco.html";}}}

	//50代黒字
	else if(fb&&(dd<ea*0.65)){
	if(ea<=700000){if(eb<8000000){location.href="yoyuu/40yoyuusocs.html";}
else if(8000000<=eb){location.href="yoyuu/yoyuu.html";}}
else {if(eb<8000000){location.href="yoyuu/50yoyuucs.html";}
else if(8000000<=eb){location.href="yoyuu/50yoyuuco.html";}}}
//50代余剰金多い終わり
else if(fe&&(dd<ea)){if((dd*0.4<=db)){
if(dd*0.2<=bb){
if(eb<8000000){location.href="50kotei/50krooncs.html";}
else if(8000000<=eb){location.href="50kotei/50kroonco.html";}}
else if(dd*0.2<=bc){
if(eb<8000000){location.href="50kotei/50khokencs.html";}
else if(8000000<=eb){location.href="50kotei/50khokenco.html";}}
else if(dd*0.2<=bd){
if(eb<8000000){location.href="50kotei/50knaraics.html";}
else if(8000000<=eb){location.href="50kotei/50knaraico.html";}}
else if(dd*0.2<=be){
if(eb<8000000){location.href="50kotei/50kkeitaics.html";}
else if(8000000<=eb){location.href="50kotei/50kkeitaico.html";}}
else{
if(eb<8000000){location.href="50/50kkcs.html";}
else if(8000000<=eb){location.href="50/50kkco.html";}}}
//50代黒字、流動費
else if(dd*0.45<=da){
if(dd*0.25<=aa){
if(eb<8000000){location.href="50ryuu/50ksyokucs.html";}
else if(8000000<=eb){location.href="50ryuu/50ksyokuco.html";}}
else if(dd*0.2<=ab){
if(eb<8000000){location.href="50ryuu/50kkounetucs.html";}
else if(8000000<=eb){location.href="50ryuu/50kkounetuco.html";}}
else if(dd*0.2<=ac){
if(eb<8000000){location.href="50ryuu/50kkyouikucs.html";}
else if(8000000<=eb){location.href="50ryuu/50kkyouikuco.html";}}
else if(dd*0.2<=ad){
if(eb<8000000){location.href="50ryuu/50kiryoucs.html";}
else if(8000000<=eb){location.href="50ryuu/50kiryouco.html";}}
else if(dd*0.25<=ae){
if(eb<8000000){location.href="50ryuu/50kkurumacs.html";}
else if(8000000<=eb){location.href="50ryuu/50kkurumaco.html";}}
else{
if(eb<8000000){location.href="50/50krcs.html";}
else if(8000000<=eb){location.href="50/50krco.html";}}}
else if(dd*0.35<=dc){
if(eb<8000000){location.href="50/50kkucs.html";}
else if(8000000<=eb){location.href="50/50kkuco.html";}}
else{
if(eb<8000000){location.href="50/50kzcs.html";}
else if(8000000<=eb){location.href="50/50kzco.html";}}}
	//50代終わり
if(dd<=ea){alert("支出総額は"+Math.round(dd/10000)+"万で固定費が"+Math.round(db/10000)+"万、流動費が"+Math.round(da/10000)+"万、交際費が"+Math.round(dc/10000)+"万で"+Math.round((ea-dd)/10000)+"万円の黒字です");}
else if(ea<=dd){alert("支出総額は"+Math.round(dd/10000)+"万で固定費が"+Math.round(db/10000)+"万、流動費が"+Math.round(da/10000)+"万、交際費が"+Math.round(dc/10000)+"万で"+Math.round((dd-ea)/10000)+"万円の赤字です");}	
}
function keka1(){document.write("赤字")}
function keka201(){document.write("20代赤字")}
function keka202(){document.write("20代普通、貯蓄１００万以下")}
function keka203(){document.write("20代普通、貯蓄100万以上")}
function keka204(){document.write("20代黒字、貯蓄年収以下")}
function keka205(){document.write("20代黒字、貯蓄年収以上")}
function keka206(){document.write("20代黒字、年収多。貯蓄年収以上")}
function keka301(){document.write("30代赤字")}
function keka302(){document.write("30代普通、貯蓄１００万以下")}
function keka303(){document.write("30代普通、貯蓄１００万以上")}
function keka304(){document.write("30代黒字、貯蓄年収以下")}
function keka305(){document.write("30代黒字、貯蓄年収以上")}
function keka306(){document.write("30代黒字、年収多。貯蓄年収以上")}
function keka401(){document.write("40代赤字")}
function keka402(){document.write("40代普通、貯蓄１００万以下")}
function keka403(){document.write("40代普通、貯蓄１００万以上")}
function keka404(){document.write("40代黒字、貯蓄年収以下")}
function keka405(){document.write("40代黒字、貯蓄年収以上")}
function keka406(){document.write("40代黒字、年収多。貯蓄年収以上")}
function keka501(){document.write("50代赤字")}
function keka502(){document.write("50代普通、貯蓄１００万以下")}
function keka503(){document.write("50代普通、貯蓄１００万以上")}
function keka504(){document.write("50代黒字、貯蓄年収以下")}
function keka505(){document.write("50代黒字、貯蓄年収以上")}
function keka506(){document.write("50代黒字、年収多。貯蓄年収以上")}

