﻿// JScript File
function CommonConstants(){
    try{
		this.Current_Date=new Date();
	}catch(err){
        alert('error in Constants.js.CommonConstants() '+err.description)
    }
}

function CalcRiskAnalyserConstants(){
	try{
/* Risk Capacity Var  [Start]*/		
		this.maxscore_age=10;
		this.maxscore_dep_age10=3;
		this.maxscore_dep_age11_18=2;
		this.maxscore_dep_age19_25=2;
		this.maxscore_handicap_dep=3;
		this.maxscore_aged_dep=3;		
		this.maxscore_month_save=20;
		this.maxscore_sust_month=20;
		this.maxscore_sec_income=15;
		this.maxscore_reinv_income=3;
		this.maxscore_fin_goals=8;
		this.maxscore_inhr_wealth=5;
		this.maxscore_inc_cover=3;		
		this.maxscore_fin_supp=3;
/* Risk Capacity Var   [End]*/		
/*Asset Allocation per user both for Capacity and Tolerance [Start]*/
			this.ast_alo_eq_low=10
			this.ast_alo_eq_low_med=20
			this.ast_alo_eq_med=40
			this.ast_alo_eq_med_hi=60
			this.ast_alo_eq_hi=70
			this.ast_alo_eq_ver_hi=90

			this.ast_alo_debt_low=90
			this.ast_alo_debt_low_med=80
			this.ast_alo_debt_med=60
			this.ast_alo_debt_med_hi=40
			this.ast_alo_debt_hi=30
			this.ast_alo_debt_ver_hi=10
/*Asset Allocation per [End]*/

/* Risk Tolerance Var  [Start]*/		
			this.maxscore_quiz_game=8;
			this.maxscore_start_buss=15;
			this.maxscore_play_card=5;
			this.maxscore_play_bet=7;
			this.maxscore_compensation=15;
			this.maxscore_risk=5;		
			this.maxscore_Short_term=15;
			this.maxscore_portfolio=10;
			this.maxscore_inv_venture=10;
			this.maxscore_offer=10;		
/* Risk Tolerance Var  [End]*/		

	//Common  Var [Start]
		this.wgt_AvgRiskCap=65		
		this.wgt_AvgRiskTol=(100 - this.wgt_AvgRiskCap)		
	//Common  Var [End]

}catch(err){
        alert('error in Constants.js.CalcRiskAnalyserConstants() '+err.description)
    }
}


/* Constants used it RiskAnalyser.js End*/
