KJE.DisabilityCalc=function(){this.iDecimal=0;this.MONTHLY_DISABILITY_EXPENSES=0;this.LONG_MESSAGE="";this.SHORT_MESSAGE="";this.INFLATION_DISABILITY_EXPENSES=0;this.oldMONTHLY_EXPENSES=-1;this.DEFAULT_EXPENSE_PERCENT=KJE.parameters.get("DEFAULT_EXPENSE_PERCENT",70);this.MSG_SHORT1=KJE.parameters.get("MSG_SHORT1","You have no current disability shortfall.");this.MSG_SHORT2=KJE.parameters.get("MSG_SHORT2","Your current shortfall is");this.MSG_SHORT3=KJE.parameters.get("MSG_SHORT3","per month.");this.MSG_LONG1=KJE.parameters.get("MSG_LONG1","You need no additional coverage for the first");this.MSG_LONG2=KJE.parameters.get("MSG_LONG2",".");this.MSG_LONG3=KJE.parameters.get("MSG_LONG3","You need an additional MONTHLY_SHORTFALL1 coverage per month for");this.MSG_LONG4=KJE.parameters.get("MSG_LONG4",".");this.MSG_LONG5=KJE.parameters.get("MSG_LONG5","You will need MONTHLY_SHORTFALL2 of additional coverage for the following");this.MSG_LONG6=KJE.parameters.get("MSG_LONG6",".");this.MSG_LONG7=KJE.parameters.get("MSG_LONG7","If you remain disabled for more than a few years, you may need to increase this coverage to account for inflation. At the end of your anticipated LENGTH_OF_DISABILITY month disability your expenses would be INFLATION_DISABILITY_EXPENSES after accounting for ANNUAL_INFLATION annual inflation.");this.sSchedule=new KJE.Repeating()};KJE.DisabilityCalc.prototype.clear=function(){this.MONTHLY_EXPENSES=0;this.LENGTH_OF_DISABILITY=0;this.CURRENT_MONTHLY_COVERAGE=0;this.LENGTH_OF_CURRENT_COVERAGE=0;this.ANNUAL_INFLATION=0};KJE.DisabilityCalc.prototype.calculate=function(k){var f=KJE;var i=this.MONTHLY_EXPENSES;var m=this.LENGTH_OF_DISABILITY;var g=this.CURRENT_MONTHLY_COVERAGE;var l=this.LENGTH_OF_CURRENT_COVERAGE;var b=this.ANNUAL_INFLATION;var e=this.DEFAULT_EXPENSE_PERCENT;if(this.oldMONTHLY_EXPENSES!=i&&this.oldMONTHLY_EXPENSES!=-1){this.MONTHLY_DISABILITY_EXPENSES=((e/100)*i)}this.oldMONTHLY_EXPENSES=i;var c=this.MONTHLY_DISABILITY_EXPENSES-g;var a=this.MONTHLY_DISABILITY_EXPENSES;var j=m-l;this.INFLATION_DISABILITY_EXPENSES=KJE.FV_AMT(KJE.ROR_MONTH(b/100),m,this.MONTHLY_DISABILITY_EXPENSES);if(c<=0){this.SHORT_MESSAGE=this.MSG_SHORT1;this.LONG_MESSAGE=this.MSG_LONG1+" "+KJE.getTermLabel(l)+(this.MSG_LONG2.length==1?"":" ")+this.MSG_LONG2}else{this.SHORT_MESSAGE=this.MSG_SHORT2+" "+f.dollars(c,0)+(this.MSG_SHORT3.length==1?"":" ")+this.MSG_SHORT3;this.LONG_MESSAGE=this.MSG_LONG3+" "+KJE.getTermLabel(l)+(this.MSG_LONG4.length==1?"":" ")+this.MSG_LONG4}if(j>0){this.LONG_MESSAGE+=" "+this.MSG_LONG5+" "+KJE.getTermLabel(m-l)+(this.MSG_LONG6.length==1?"":" ")+this.MSG_LONG6}this.LONG_MESSAGE+=" "+this.MSG_LONG7;var o=Math.round(m);this.DS_EXPENSES=KJE.FloatArray(o);this.DS_COVERAGE=KJE.FloatArray(o);if(k){var h=this.sSchedule;h.clearRepeat();h.addHeader(h.sReportCol("Payment #",1),h.sReportCol("Monthly expenses",2),h.sReportCol("Insurance coverage",3),h.sReportCol("Difference",4))}this.cats=new Array(o);for(var d=0;dd){this.DS_COVERAGE[d]=g}else{this.DS_COVERAGE[d]=0}this.cats[d]=d+1;if(k){h.addRepeat(f.number(d+1),f.dollars(this.DS_EXPENSES[d]),f.dollars(this.DS_COVERAGE[d]),f.dollars(this.DS_COVERAGE[d]-this.DS_EXPENSES[d]))}}this.MONTHLY_SHORTFALL1=c;this.MONTHLY_SHORTFALL2=a};KJE.DisabilityCalc.prototype.formatReport=function(a){a.replace("LONG_MESSAGE",this.LONG_MESSAGE);a.replace("SHORT_MESSAGE",this.SHORT_MESSAGE);a.dollars("MONTHLY_SHORTFALL1",this.MONTHLY_SHORTFALL1);a.dollars("MONTHLY_SHORTFALL2",this.MONTHLY_SHORTFALL2);a.dollars("MONTHLY_EXPENSES",this.MONTHLY_EXPENSES);a.dollars("MONTHLY_DISABILITY_EXPENSES",this.MONTHLY_DISABILITY_EXPENSES);a.number("LENGTH_OF_DISABILITY",this.LENGTH_OF_DISABILITY);a.dollars("CURRENT_MONTHLY_COVERAGE",this.CURRENT_MONTHLY_COVERAGE);a.number("LENGTH_OF_CURRENT_COVERAGE",this.LENGTH_OF_CURRENT_COVERAGE);a.inflationRate("ANNUAL_INFLATION",this.ANNUAL_INFLATION/100);a.dollars("INFLATION_DISABILITY_EXPENSES",this.INFLATION_DISABILITY_EXPENSES);a.percent("DEFAULT_EXPENSE_PERCENT",this.DEFAULT_EXPENSE_PERCENT/100);a.replace("**REPEATING GROUP**",this.sSchedule.getRepeat())};KJE.CalcName="Disability Insurance";KJE.CalcType="Disability";KJE.CalculatorTitleTemplate="Disability Insurance Needs";KJE.initialize=function(){KJE.CalcControl=new KJE.DisabilityCalc();KJE.GuiControl=new KJE.Disability(KJE.CalcControl)};KJE.Disability=function(e){var d=KJE;var c=KJE.gLegend;var b=KJE.inputs.items;this.MSG_GRAPH1=KJE.parameters.get("MSG_GRAPH1","Monthly disability expenses");this.MSG_GRAPH2=KJE.parameters.get("MSG_GRAPH2","Current insurance");this.MSG_GRAPH3=KJE.parameters.get("MSG_GRAPH3","Month of Disability");KJE.DollarSlider("MONTHLY_EXPENSES","Current monthly expenses",0,100000,0,0,6);KJE.DollarSlider("MONTHLY_DISABILITY_EXPENSES","Disability monthly expenses",0,100000,0,0,6);KJE.NumberSlider("LENGTH_OF_DISABILITY","Months of disability",1,120,0);KJE.DollarSlider("CURRENT_MONTHLY_COVERAGE","Current monthly coverage",0,100000,0,0,6);KJE.NumberSlider("LENGTH_OF_CURRENT_COVERAGE","Months of coverage",0,240,0);KJE.InflationRateSlider("ANNUAL_INFLATION","Annual Inflation");var a=KJE.gNewGraph(KJE.gLINE,"GRAPH1",true,false,KJE.colorList[1],e.MSG_SHORT1);a._legend._iOrientation=(c.TOP_RIGHT);KJE.addDiv("INPUTS",KJE.colorList[0])};KJE.Disability.prototype.setValues=function(b){var a=KJE.inputs.items;b.MONTHLY_EXPENSES=a.MONTHLY_EXPENSES.getValue();b.MONTHLY_DISABILITY_EXPENSES=a.MONTHLY_DISABILITY_EXPENSES.getValue();b.LENGTH_OF_DISABILITY=a.LENGTH_OF_DISABILITY.getValue();b.CURRENT_MONTHLY_COVERAGE=a.CURRENT_MONTHLY_COVERAGE.getValue();b.LENGTH_OF_CURRENT_COVERAGE=a.LENGTH_OF_CURRENT_COVERAGE.getValue();b.ANNUAL_INFLATION=a.ANNUAL_INFLATION.getValue()};KJE.Disability.prototype.refresh=function(e){var d=KJE;var c=KJE.gLegend;var b=KJE.inputs.items;var a=KJE.gGraphs[0];KJE.setTitleTemplate("Disability Insurance Needs");a.removeAll();a.setGraphCategories(e.cats);a.add(new KJE.gGraphDataSeries(e.DS_EXPENSES,this.MSG_GRAPH1,a.getColor(1)));a.add(new KJE.gGraphDataSeries(e.DS_COVERAGE,this.MSG_GRAPH2,a.getColor(2)));a._titleXAxis.setText(this.MSG_GRAPH3);a.setTitle(e.SHORT_MESSAGE);a.paint();b.MONTHLY_DISABILITY_EXPENSES.setValue(e.MONTHLY_DISABILITY_EXPENSES,true)};KJE.InputScreenText="
**GRAPH1** ";KJE.DefinitionText="
Current monthly expenses
Your total monthly living expenses. Remember to include your home or rent payments, food, clothing, gas, phone and other monthly expenses.
Disability monthly expenses
Your monthly expenses while you are disabled. This amount is usually a little less than your original monthly expenses. The default value for this field is calculated as 70% of your current monthly expenses. You should keep in mind, however, that many expenses such as your mortgage, rent, utilities and food will most likely remain the same as before you were disabled.
Months of disability
The number of months you expect a disability will prevent you from working. A common mistake is to underestimate the time it takes to get back to work.
Current monthly coverage
Your current monthly disability coverage. Make sure to include any disability coverage supplied by your employer.
Months of coverage
Number of months that your current monthly coverage will last.
Annual inflation
**INFLATION_DEFINITION** If you are disabled for a short period of time, inflation is usually not a very important factor. However, you may need to consider the effect of inflation if you remain disabled for more than a few years.
";KJE.ReportText='

SHORT_MESSAGE

LONG_MESSAGE **GRAPH**
Results Summary
Current expenses MONTHLY_EXPENSES per month
Expenses during disability MONTHLY_DISABILITY_EXPENSES per month
Disability expenses after ANNUAL_INFLATION annual inflation INFLATION_DISABILITY_EXPENSES per month after LENGTH_OF_DISABILITY months.
Length of disability LENGTH_OF_DISABILITY months
Current coverage CURRENT_MONTHLY_COVERAGE per month
Length of current coverage LENGTH_OF_CURRENT_COVERAGE months

Monthly expenses and Insurance coverage

**REPEATING GROUP** '; // 12/31/2024 Copyright 2024 KJE Computer Solutions, Inc. Licensed for use on www.thrivent.com cms.qa2.thrivent.psdops.com qa.thrivent.psdops.com qa2.thrivent.psdops.com qa3.thrivent.psdops.com uat.thrivent.psdops.com prod.thrivent.psdops.com cms.qa.thrivent.psdops.com cms.qa2.thrivent.psdops.com cms.qa3.thrivent.psdops.com cms.uat.thrivent.psdops.com cms.prod.thrivent.psdops.com