function calci_path(path)
{
	//alert(path);
	var url;
	if (path == "ksa")
		url = "http://insurance.kotak.com/common/xl_calci/SmartAdvantage-Apr09-1.8.xls";
	
	else if (path == "HAWJL")
		url ="http://insurance.kotak.com/common/xl_calci/HeadstartAssureWealthJointLife-May09-1.8.xls";
	
	else if (path == "HAWSL")
		url = "http://insurance.kotak.com/common/xl_calci/HeadstartAssureWealth(SingleLife)-Jul10-1.2.xls";
	
	else if (path == "HFPJL")
		url = "http://insurance.kotak.com/common/xl_calci/HeadstartFutureProtectJointLife-May09-1.9.xls";
	
	else if (path == "HFPSL")
		url = "http://insurance.kotak.com/common/xl_calci/HeadstartFutureProtect(SingleLife)-Jul10-1.1.xls" ;
	
	else if (path == "KHSCA")
		url = "http://insurance.kotak.com/common/xl_calci/HeadstartChildAssure_dec11_1.5.xls" ;
		
	else if (path == "k_edu")
		url = "http://insurance.kotak.com/common/xl_calci/Child-Edu-Plan-Oct-11-1.0.xls" ;
	
	else if (path == "k_future")
		url = "http://insurance.kotak.com/common/xl_calci/Child-Future-Plan-Nov11-1.0.xls" ;
	
	else if (path == "k_sukhi")
		url = "http://insurance.kotak.com/common/xl_calci/SukhiJeevan-Mar09-1.2.xls";
	
	else if (path == "k_flexi")
		url = "http://insurance.kotak.com/common/xl_calci/FlexiPlan-Mar09-1.8.xls";
	
	else if (path == "kegp")
		url = "http://insurance.kotak.com/common/xl_calci/EasyGrowth1.25times-Mar09-1.4.xls";
	
	else if (path == "kegp5")
		url = "http://insurance.kotak.com/common/xl_calci/EasyGrowth5times-Mar09-1.6.xls";
		
	else if (path == "kegp110")
		url = "http://insurance.kotak.com/common/xl_calci/KEGP1.10times_FromDec08_1.4.xls";
	
	else if (path == "ksi")
		url = "http://insurance.kotak.com/common/xl_calci/SafeInvestmentPlanII-Jul10-1.2.xls";
	
	//else if (path == "kcmp")
		//url = "http://insurance.kotak.com/servlet/saomkm.capital_calcstax_6_JUN_06?from=me";
		
	else if (path == "kcmp")
		url = "http://insurance.kotak.com/common/xl_calci/capitalmultiplierplan-may11-1.8.xls";
	
	else if (path == "kcmp_lumpsum")
		url = "";
		
	else if (path == "kcmp_pv")
		url = "";	
	
	else if (path == "kpap")
		url = "http://insurance.kotak.com/common/xl_calci/PlatinumAdvantagePlan-Mar09-1.8.xls";
	
	else if (path == "kpt_r")
		url = "http://insurance.kotak.com/servlet/saomkm.termpre_calcstax?from=me&to=me";
	
	else if (path == "kpt_s")
		url = "http://insurance.kotak.com/servlet/saomkm.termpresv_calcstax?from=me&to=me";
	
	//else if (path == "kcap")
		//url = "http://insurance.kotak.com/servlet/saomkm.chlendow_calcstax?from=me&to=me";
		
	else if (path == "kcap")
		url = "http://insurance.kotak.com/common/xl_calci/childadvantageplan-may11-1.6.xls";
	
	else if (path == "ktp")
		url = "http://insurance.kotak.com/common/xl_calci/termplan-nov10-1.1.xls";
		
	else if (path == "kss")
		url = "http://insurance.kotak.com/common/xl_calci/saralsuraksha-mar11-1.0.xls";
		
	else if (path == "kptp")
		url = "http://insurance.kotak.com/common/xl_calci/preferredtermplan-nov10-1.1.xls";
	
	else if (path == "kptp_r")
		url = "http://insurance.kotak.com/common/xl_calci/KPTPRegular_May07_1.0.xls";
	
	else if (path == "kptp_s")
		url = "http://insurance.kotak.com/common/xl_calci/KPTPsinglepremium_May07_1.0.xls";
	
	else if (path == "ktp_r")
		url = "http://insurance.kotak.com/common/xl_calci/KTPregular_May07_1.0.xls";
	
	else if (path == "ktp_s")
		url = "http://insurance.kotak.com/common/xl_calci/KTPsinglepremium_May07_1.0.xls";
	
	//else if (path == "kep")
		//url = "http://insurance.kotak.com/servlet/saomkm.endow_calcstax?from=me&to=me";
	
	//else if (path == "krip_wc")
		//url = "http://insurance.kotak.com/servlet/saomkm.retirement_calcstax?from=me&to=me";
	
	//else if (path == "krip_wic")
		//url = "http://insurance.kotak.com/servlet/saomkm.retirewocov_calcstax?from=me&to=me";
		
	else if (path == "kep")
		url = "http://insurance.kotak.com/common/xl_calci/endowmentplan-may11-1.7.xls";
		
	else if (path == "krip_wc")
		url = "http://insurance.kotak.com/common/xl_calci/krip-withcover-nonul-june11-1.7.xls";
	
	else if (path == "krip_wic")
		url = "http://insurance.kotak.com/common/xl_calci/krip-withoutcover-nonul-june11-1.8.xls";
		
	else if (path == "krip_l")
		url = "http://insurance.kotak.com/servlet/saomkm.retireLump_calc?from=me&to=me";
	
	else if (path == "krip_ul_wc")
		url = "http://insurance.kotak.com/common/xl_calci/RetirementIncomePlan-WithCover-Apr10-1.3.xls";
	
	else if (path == "krip_ul_wic")
		url = "http://insurance.kotak.com/common/xl_calci/Retirement Income Plan UL Without Cover-Dec 08-1.5.xls";
	
	else if (path == "krip_ul_s")
		url = "http://insurance.kotak.com/common/xl_calci/Retirement Income Plan UL Single Premium-Dec 08-1.5.xls";
	
	else if (path == "kmbp")
		url = "http://insurance.kotak.com/common/xl_calci/moneybackplan-may11-1.8.xls";
		
	else if (path == "kprp")
		url = "http://insurance.kotak.com/common/xl_calci/premiumreturnplan-may11-1.5.xls";
	
	//else if (path == "kmbp")
		//url = "http://insurance.kotak.com/servlet/saomkm.mback_calcstax?from=me&to=me";
	
	//else if (path == "kprp")
		//url = "http://insurance.kotak.com/servlet/saomkm.krp_calcstax?from=me&to=me";
	
	else if (path == "kelc")
		url = "http://insurance.kotak.com/common/xl_calci/eternallife-classicshield-may11-1.11.xls";
	
	else if (path == "kelp")
		url = "http://insurance.kotak.com/common/xl_calci/eternallife-premiershield-may11-1.9.xls";
	
	else if (path == "ksj")
		url = "http://insurance.kotak.com/common/xl_calci/surakshitjeevan-may11-1.10.xls";
	
	else if (path == "kllsp")
		url = "http://insurance.kotak.com/common/xl_calci/LongLifeSecurePlus-Jul10-1.3.xls";
		
	else if (path == "kllwp")
		url = "http://insurance.kotak.com/common/xl_calci/LongLifeWealthPlus-Jul10-1.2.xls";
	
	else if (path == "krinvestplan")
		url = "http://insurance.kotak.com/common/xl_calci/SecureRetirementPlan-Apr09-1.0.xls";
		
	else if (path == "kpapp")
		url = "http://insurance.kotak.com/common/xl_calci/PlatinumAdvantagePlus-Mar09-1.2.xls";
		
	else if (path == "ktgp")
		url = "http://insurance.kotak.com/common/xl_calci/Kotak Term Grouplan.xls";
		
	else if (path == "lpprp")
		url = "http://insurance.kotak.com/common/xl_calci/loanprotectionplan-regularpremium-nov-10-1.2.xls";
	
	else if (path == "lppsp")
		url = "http://insurance.kotak.com/common/xl_calci/loanprotectionplan-singlepremium-nov-10-1.2.xls";
		
	else if (path == "ksip")
		url = "http://insurance.kotak.com/common/xl_calci/SecondInnings-Jul10-1.1.xls";
		
	else if (path == "singleinvest")
		url = "http://insurance.kotak.com/common/xl_calci/SingleInvest-Jul10-1.3.xls";
		
	else if (path == "kgpb")
		url = "http://insurance.kotak.com/common/xl_calci/GuaranteedPensionBuilder-Jul10-1.1.xls";
		
	else if (path == "kpe")
		url = "http://insurance.kotak.com/common/xl_calci/PlatinumEdge-Jul10-1.5.xls";
		
	else if (path == "superadvantage")
		url = "http://insurance.kotak.com/common/xl_calci/SuperAdvantage-Jul10-1.2.xls";
	
	else if (path == "wealthinsurance")
		url = "http://insurance.kotak.com/common/xl_calci/WealthInsurance_dec11_1.6.xls";
		
	else if (path == "secureinvestinsurance")
		url = "http://insurance.kotak.com/common/xl_calci/SecureInvestInsurance_dec11_Ver_1.6.xls";
	
	else if (path == "aceinvestment")
		url = "http://insurance.kotak.com/common/xl_calci/AceInvestment_dec11_1.5.xls";
	
	else if (path == "kplatinum")
		url = "http://insurance.kotak.com/common/xl_calci/Platinum_dec11_1.5.xls";
		
	else if (path == "investmaxima")
		url = "http://insurance.kotak.com/common/xl_calci/InvestMaxima_dec11_1.1.xls";
	
	else if (path == "assuredincome")
		url = "http://insurance.kotak.com/common/xl_calci/assured-income-plan_aug-11_1.3.xls";
	
	else if (path == "singleinvestment")
		url = "http://insurance.kotak.com/common/xl_calci/SingleInvestAdvantage_dec11_1.4.xls";
		
	else if (path == "gby")
		url = "http://insurance.kotak.com/common/xl_calci/graminbimayojana-may11-1.2.xls";
	
	//self.location = url;
	//window.open(url);
	
	str=new String(url);
	var len=str.length;
	var substr=str.substring(len-3,len);
	if(substr=="xls" && url != "" )
		{
		window.open(url);
		}
	else if(url != "")
		{
		window.open(url,'','Menubar=no,width=600,height=500,toolbar=no, scrollbars=yes');
		}
 //return url; 
};
