var path=location.href;
//path="https://www.franklintempletonindia.com/india_hindi/jsp_cm/commentary/commentary.asp"
var strind1=path.indexOf('/')+2
var strind2=path.indexOf('/',8)
var pth=path.substring(strind1,strind2)
var httppath = "http://" + pth
var httpspath = "https://" + pth

//alert(httpspath)

aboutus_1 =		[	"account.gif",		//Normal State
				"account_on.gif",	//Enabled State
				"", //Alternate String
				"Account",				//Status String
				123					//width
				]

ourproducts_1 =	[	"funds.gif",
			"funds_on.gif",
			"",
			"Fund Information",
			160
			]
			
funds_1 =	[ "learning.gif",
			"learning_on.gif",
			"",
			"Learning",
			151
			]
			
tools_1 =	[ "literature.gif",
			"literature_on.gif",
			"",
			"Services & Literature",
			164
			]
 
news_1    =	[ "new_comm.gif",
			"new_comm_on.gif",
			"",
			"News & Commentary",
			127
			]
			
investor_1    =	[ "Services.gif",
			"services_on.gif",
			"",
			"Education & Planning",
			148
			]

aboutus_2 =	[	[143], //left, top
				["Investment Philosophies",httppath+"/india_hindi/jsp_cm/aboutus/philosophy.jsp"],
				["Worldwide Profile",httppath+"/india_hindi/jsp_cm/aboutus/wwprofile.jsp"],
				["UK Profile",httppath+"/india_hindi/jsp_cm/aboutus/companyprofile.asp"],
				["Company History",httppath+"/india_hindi/jsp_cm/aboutus/companyhistory.jsp"]
				]

ourproducts_2 =	[	[143], //left, top
				["&#2319;&#2344;&#2319;&#2357;&#2368;&#2332;&#2364; </a>",httppath+"/india_hindi/jsp_cm/GeneralAccess/Nav/gac_getmore.asp"],
				["&#2347;&#2306;&#2337; &#2325;&#2375; &#2340;&#2341;&#2381;&#2351; &#2324;&#2352; &#2344;&#2367;&#2359;&#2381;&#2346;&#2366;&#2342;&#2344; ",httppath+"/india_hindi/jsp_cm/GeneralAccess/Mfs/Mutual_fund_scheme.asp"]
				//["Dividend History",httppath+"/india_hindi/Includes/ASPs/TMFW_DividendHistory.asp"]
				//["Benchmark Comparisons",httppath+"/india_hindi/jsp_cm/funds/investmenttrust.jsp"]
				]

funds_2= [	[],
		["&#2357;&#2367;&#2342;&#2375;&#2358;&#2368; &#2344;&#2367;&#2357;&#2375;&#2358;&#2325;",httppath+"/india_hindi/jsp_cm/aboutus/nri.asp"],
		["&#2347;&#2306;&#2337; &#2348;&#2375;&#2360;&#2367;&#2325;&#2381;&#2360;",httppath+"/india_hindi/jsp_cm/funds/fund_basic_overview.asp"],
		["&#2357;&#2367;&#2340;&#2381;&#2340;&#2368;&#2351; &#2348;&#2375;&#2360;&#2367;&#2325;&#2381;&#2360;",httppath+"/india_hindi/jsp_cm/GeneralAccess/LearningCenter/financialbasics.asp"],
		["&#2357;&#2367;&#2340;&#2381;&#2340;&#2368;&#2351; &#2344;&#2367;&#2351;&#2379;&#2332;&#2344;",httppath+"/india_hindi/jsp_cm/GeneralAccess/Learningcenter/index.asp"],
		//["&#2335;&#2370;&#2354;&#2381;&#2360; &#2357; &#2325;&#2375;&#2354;&#2325;&#2381;&#2351;&#2369;&#2354;&#2375;&#2335;&#2352;&#2381;&#2360;",httppath+"/india_hindi/jsp_cm/FinancialCalculators/gac_fc_home.asp"],
		["&#2346;&#2352;&#2366;&#2350;&#2352;&#2381;&#2358; &#2330;&#2366;&#2361;&#2367;&#2319;",httppath+"/india_hindi/jsp_cm/funds/need_advice.asp"],
		["&#2358;&#2348;&#2381;&#2342;&#2366;&#2357;&#2354;&#2368;",httppath+"/india_hindi/jsp_cm/GeneralAccess/LearningCenter/gac_glossary_a.asp"]
		]

tools_2=	[	[],
			["&#2346;&#2381;&#2352;&#2360;&#2381;&#2340;&#2366;&#2357; &#2342;&#2360;&#2381;&#2340;&#2366;&#2357;&#2375;&#2332;",httppath+"/india_hindi/jsp_cm/GeneralAccess/LiteratureDownloads/gac_OD_Downloads.asp"],
			["&#2352;&#2367;&#2346;&#2379;&#2352;&#2381;&#2335;&#2381;&zwnj;&#2360;",httppath+"/india_hindi/jsp_cm/GeneralAccess/LiteratureDownloads/gac_Reports_Download_New.asp"],
			["&#2360;&#2366;&#2361;&#2367;&#2340;&#2381;&#2351;",httppath+"/india_hindi/jsp_cm/GeneralAccess/LiteratureDownloads/gac_sales_literature_Downloads_new.asp"],
			["&#2346;&#2381;&#2352;&#2346;&#2340;&#2381;&#2352; &#2357; &#2344;&#2367;&#2352;&#2381;&#2342;&#2375;&#2358;",httppath+"/india_hindi/jsp_cm/GeneralAccess/LiteratureDownloads/gac_Service_Documents_Downloads_new.asp"]
			]
			
news_2 = 	[	[],
			["&#2340;&#2366;&#2332;&#2366; &#2360;&#2350;&#2366;&#2330;&#2366;&#2352;",httppath+"/india_hindi/jsp_cm/GeneralAccess/Aboutus/whatsnew/latestnews.asp"],
			["&#2347;&#2339;&#2381;&#2337;/&#2348;&#2366;&#2332;&#2366;&#2352; &#2325;&#2350;&#2375;&#2306;&#2335;&#2352;&#2368;",httppath+"/india_hindi/jsp_cm/commentary/commentary.asp"],
			["&#2309;&#2326;&#2348;&#2366;&#2352;&#2379;&#2306; &#2360;&#2375; &#2313;&#2342;&#2381;&#2343;&#2352;&#2339;",httppath+"/india_hindi/jsp_cm/media/media.asp"],
//["&#2348;&#2366;&#2332;&#2364;&#2366;&#2352; &#2346;&#2352;&#2367;&#2357;&#2352;&#2381;&#2340;&#2344;&#2358;&#2368;&#2354;&#2340;&#2366; &#2325;&#2375;&#2344;&#2381;&#2342;&#2381;&#2352;",httppath+"/india_hindi/jsp_cm/commentary/market_volatility_centre.asp"],
["&#2319;&#2347;&#2335;&#2368; &#2309;&#2306;&#2340;&#2352;&#2381;&#2342;&#2371;&#2359;&#2381;&#2335;&#2367;",httppath+"/india_hindi/jsp_cm/media/insight.asp"]
              ]
			
investor_2 = 	[	[],
			//["Investing with Us","/uk/jsp_cm/investor/invest.jsp"],
			["&#2309;&#2306;&#2358;&#2342;&#2366;&#2344; &#2324;&#2352; &#2357;&#2367;&#2332;&#2381;&#2334;&#2346;&#2381;&#2340;&#2367;&#2351;&#2366;&#2306;",httpspath+"/GeneralAccess/SubscriptionMailback/gac_subscription_home.asp"],
			["&#2354;&#2375;&#2326;&#2366; &#2360;&#2375;&#2357;&#2366;&#2318;&#2306;",httppath+"/india_hindi/jsp_cm/GeneralAccess/Accountservices/index.asp"],
			["&#2361;&#2350;&#2366;&#2352;&#2375; &#2347;&#2339;&#2381;&#2337; &#2326;&#2352;&#2368;&#2342;&#2375;&#2306;",httppath+"/india_hindi/jsp_cm/GeneralAccess/Investment/buyingourfunds.asp"],
			["&#2346;&#2379;&#2352;&#2381;&#2335;&#2347;&#2379;&#2354;&#2367;&#2351;&#2379; &#2350;&#2376;&#2344;&#2375;&#2332;&#2350;&#2375;&#2339;&#2381;&#2335; &#2360;&#2352;&#2381;&#2357;&#2367;&#2360;&#2375;&#2332;&#2364;",httppath+"/india_hindi/jsp_cm/GeneralAccess/pms/PMServices.asp"]
			]
							
var mainMenu = [[ourproducts_1, ourproducts_2],
		[investor_1,investor_2],
		[funds_1, funds_2],
		[tools_1, tools_2],
		[news_1,news_2]		
		]
	



//alert(_topMenu.length);  

//alert(TheMenu[0][1][1][0]);
//alert();
// 1- length-1 sec nav elements
//[][primary-0,secondary-1][][displaystr-0

