<%if lcase(request.form("sub"))="calculate" then if request.form("inc")<> "" then i1=request.form("inc") else i1="0" end if if request.form("s_inc")<> "" then i2=request.form("s_inc") else i2="0" end if if request.form("oth")<> "" then i3=request.form("oth") else i3="0" end if if request.form("h_exp")<> "" then e1=request.form("h_exp") else e1="0" end if if request.form("m_exp")<> "" then e2=request.form("m_exp") else e2="0" end if if request.form("e_exp")<> "" then e3=request.form("e_exp") else e3="0" end if if request.form("exp_dep")<> "" then e4=request.form("exp_dep") else e4="0" end if if request.form("hl")<> "" then l1=request.form("hl") else l1="0" end if if request.form("vl")<> "" then l2=request.form("vl") else l2="0" end if if request.form("ltl")<> "" then l3=request.form("ltl") else l3="0" end if if request.form("stl")<> "" then l4=request.form("stl") else l4="0" end if if request.form("ex_d")<> "" then l5=request.form("ex_d") else l5="0" end if if request.form("ef")<> "" then l6=request.form("ef") else l6="0" end if if request.form("bd")<> "" then a1=request.form("bd") else a1="0" end if if request.form("db")<> "" then a2=request.form("db") else a2="0" end if if request.form("ppf")<> "" then a3=request.form("ppf") else a3="0" end if if request.form("mf")<> "" then a4=request.form("mf") else a4="0" end if if request.form("nsc")<> "" then a5=request.form("nsc") else a5="0" end if if request.form("gra")<> "" then a6=request.form("gra") else a6="0" end if if request.form("hi_edu1")<> "" then h1=request.form("hi_edu1") else h1="0" end if if request.form("hi_edu2")<> "" then h2=request.form("hi_edu2") else h2="0" end if if request.form("hi_edu3")<> "" then h3=request.form("hi_edu3") else h3="0" end if if request.form("hi_edu4")<> "" then h4=request.form("hi_edu4") else h4="0" end if if request.form("hi_edu5")<> "" then h5=request.form("hi_edu5") else h5="0" end if if request.form("marr1")<> "" then m1=request.form("marr1") else m1="0" end if if request.form("marr2")<> "" then m2=request.form("marr2") else m2="0" end if if request.form("marr3")<> "" then m3=request.form("marr3") else m3="0" end if if request.form("marr4")<> "" then m4=request.form("marr4") else m4="0" end if if request.form("marr5")<> "" then m5=request.form("marr5") else m5="0" end if ret=request.form("return") if request.form("years11")<> "" then yh1=request.form("years11") else yh1="0" end if if request.form("years21")<> "" then yh2=request.form("years21") else yh2="0" end if if request.form("years31")<> "" then yh3=request.form("years31") else yh3="0" end if if request.form("years41")<> "" then yh4=request.form("years41") else yh4="0" end if if request.form("years51")<> "" then yh5=request.form("years51") else yh5="0" end if if request.form("years12")<> "" then ym1=request.form("years12") else ym1="0" end if if request.form("years22")<> "" then ym2=request.form("years22") else ym2="0" end if if request.form("years32")<> "" then ym3=request.form("years32") else ym3="0" end if if request.form("years42")<> "" then ym4=request.form("years42") else ym4="0" end if if request.form("years52")<> "" then ym5=request.form("years52") else ym5="0" end if x=round((cdbl(i2*12)+cdbl(i3*12))-(cdbl(e2*12)+cdbl(e3*12)+cdbl(e4*12)),2) q=cdbl(x)*cdbl(ret) asset=round(cdbl(a1)+cdbl(a2)+cdbl(a3)+cdbl(a4)+cdbl(a5)+cdbl(a6),2) lial=round(cdbl(l1)+cdbl(l2)+cdbl(l3)+cdbl(l4)+cdbl(l5)+cdbl(l6),2) y=cdbl(asset)-cdbl(lial) if cdbl(y) = 0 then w=abs(q) elseif cdbl(y) < 0 then w=abs(q)+abs(y) elseif cdbl(y) > 0 then w=abs(q)-cdbl(y) end if z1a=cdbl(h1)/(1+cdbl(ret)/100)^cdbl(yh1) z1b=cdbl(m1)/(1+cdbl(ret)/100)^cdbl(ym1) z1=cdbl(z1a)+cdbl(z1b) z2a=cdbl(h2)/(1+cdbl(ret)/100)^cdbl(yh2) z2b=cdbl(m2)/(1+cdbl(ret)/100)^cdbl(ym2) z2=cdbl(z2a)+cdbl(z2b) z3a=cdbl(h3)/(1+cdbl(ret)/100)^cdbl(yh3) z3b=cdbl(m3)/(1+cdbl(ret)/100)^cdbl(ym3) z3=cdbl(z3a)+cdbl(z3b) z4a=round(cdbl(h4)/(1+cdbl(ret)/100)^cdbl(yh4),2) z4b=round(cdbl(m4)/(1+cdbl(ret)/100)^cdbl(yh4),2) z4=cdbl(z4a)+cdbl(z4b) z5a=round(cdbl(h5)/(1+cdbl(ret)/100)^cdbl(yh5),2) z5b=round(cdbl(m5)/(1+cdbl(ret)/100)^cdbl(yh5),2) z5=cdbl(z5a)+cdbl(z5b) p=round(cdbl(z1)+cdbl(z2)+cdbl(z3)+cdbl(z4)+cdbl(z5),2)%> <%if request.form("child")="None" then result=round(abs(w),2) elseif request.form("child")="One" then result=round(abs(w)+cdbl(z1),2) elseif request.form("child")="Two" then result=round(abs(w)+cdbl(z1)+cdbl(z2),2) elseif request.form("child")="Three" then result=round(abs(w)+cdbl(z1)+cdbl(z2)+cdbl(z3),2) elseif request.form("child")="Four" then result=round(abs(w)+cdbl(z1)+cdbl(z2)+cdbl(z3)+cdbl(z4),2) elseif request.form("child")="Five" then result=round(abs(w)+cdbl(z1)+cdbl(z2)+cdbl(z3)+cdbl(z4)+cdbl(z5),2) end if%>
Your total Insurance requirement as per your present financial status is approx. Rs. <%=result%>.
Your family should deposit <%=abs(q)%> in recurring income schemes to meet their monthly financial needs
<%if request.form("child")<> "None" then%>and the remaining amount of Rs. <%=abs(p)%> should be invested in cumulative deposit scheme to fulfil the future needs of your children.<%end if%>
<%end if%>

Your Annual recurring Income
Your Present Age ">
Your Monthly Income ">
Are you married
If yes, is your spouse working
If yes, what is his/her monthly income ">
Any other family income (like house rent, pension etc.) ">
Your Annual recurring Income
Your present household expense of 3 months ">
Min. family expenses expected after your death ">
No. of children
Estimated monthly educational expenses on children ">
No. of Dependents (if any) ">
Estimated monthly expenses on dependents ">
Assets
Bank Deposit & Balance ">
Debenture Bonds ">
Public Provident Fund ">
Mutual Fund Invest ">
NSC/IVP ">
Gratuity (Expected) ">
Liabilities
Housing Loan ">
Vehicle Loan ">
Other long-term loans ">
Other short-term loans ">
Expenses on death ">
Emergency funds ">
<%'ret=trim(request.form("return"))%>
Expected Rate of Return on Investments. (The interest rate of 10% taken is based on prevailing bank rate, but you can choose a different interest rate) percent
<%if request.form("child")="None" then%>
<%end if%>
Provision for Children
Child 1 Amount for higher education ">

Amount for marriage            ">
Required after "> years

Required after "> years
Child 2 Amount for higher education ">

Amount for
marriage
           ">
Required after "> years

Required after"> years
Child 3 Amount for
higher education
">

Amount for marriage            ">
Required after "> years

Required after"> years
Child 4 Amount for higher education ">

Amount for marriage            ">
Required after "> years

Required after"> years