arMenu1 = new Array(
150,155,"126",                      //width,hpos,vpos
"",
"",
"#D0CFAF","#DAD99F",	 //bg color, mouse over color 
"#ffffff","#ffffff",	//border color, seperator color
"NRE Fixed Deposits","nre.htm",0,
"NRO Fixed Deposits","nro.htm",0,
"NRE Recurring Deposits","nre_rd.htm",0,
"FCNR Fixed Deposits","fcnr.htm",0,
"Foreign Currency Plan","hyfcp.htm",0,
"Twin Currency Plan","twinplan.htm",0
)
arMenu2 = new Array(
150,155,"103",                      //width,hpos,vpos
"",
"",
"#D0CFAF","#DAD99F",	 //bg color, mouse over color 
"#ffffff","#ffffff",	//border color, seperator color
"NRE Savings Account","irsa_nre.htm",0,
"NRO Savings Account","irsa_nro.htm",0
//"Seafarers International Account","seafarers.htm",0
)
arMenu3 = new Array(
150,155,"164",                      //width,hpos,vpos
"",
"",
"#D0CFAF","#DAD99F",	 //bg color, mouse over color 
"#ffffff","#ffffff",	//border color, seperator color
"RFC Fixed Deposits","rfcfd.htm",0, //"RFC Fixed Deposits","rfc.htm#fd",0,
"RFC Savings Account","rfcsa.htm",0
)

arMenu4 = new Array(
150,155,"184",                      //width,hpos,vpos
"",
"",
"#D0CFAF","#DAD99F",	 //bg color, mouse over color 
"#ffffff","#ffffff",	//border color, seperator color
"Donate2India","donate2india.htm",0
)


function changeLocation(x)
{
	url = 	document.FrmNriIcici.ql.options[document.FrmNriIcici.ql.selectedIndex].value;

	if(parseInt(document.FrmNriIcici.ql.selectedIndex) == 0)
	{
//		alert("This is a category, please choose a product in this category");	
		return false;
	}
	else if(parseInt(document.FrmNriIcici.ql.selectedIndex) == 1)
	{
		alert("This is a category, please choose a product in this category");	
		return false;
	}
	else if(parseInt(document.FrmNriIcici.ql.selectedIndex) == 4)
	{
		alert("This is a category, please choose a product in this category");	
		return false;
	}
	else if(parseInt(document.FrmNriIcici.ql.selectedIndex) == 19)
	{
		window.open(url);	
		return false;
	}
	else if(parseInt(document.FrmNriIcici.ql.selectedIndex) == 24)
	{
		window.open(url);	
		return false;
	}
	else if(parseInt(document.FrmNriIcici.ql.selectedIndex) == 27)
	{
		window.open(url);	
		return false;
	}
// in the same page
	else
	{
		window.location.href = url;
	}
}


	function openWin(x)
	{
		if(parseInt(x) != 0)
		{
			var urlValue, urlStr;
			urlValue = document.FrmNriIcici.menu1.options[x].value;
			if(urlValue == "" && parseInt(x) != 0)
			{
				alert("Please select the country under the continent");
				return false;
			}
			urlStr = document.FrmNriIcici.menu1.options[x].value;
			window.location.href = urlStr;
		}
	}
	
	function populateSelectBox()
	{
		
		for(i=0;i<document.FrmNriIcici.elements.length;i++)
		{
			if(document.FrmNriIcici.elements[i].type == "select-one")		
			{
				if(document.FrmNriIcici.elements[i].name.toLowerCase() == "ql")
				{
					document.FrmNriIcici.elements[i].options.length = 0;
				}			
			}
		}
		for(i=0;i<document.FrmNriIcici.elements.length;i++)
		{
			if(document.FrmNriIcici.elements[i].type == "select-one")
			{
				if(document.FrmNriIcici.elements[i].name.toLowerCase() == "ql")
				{
					document.FrmNriIcici.elements[i].options[0] = new Option("Select a Quick Link -->","");
					document.FrmNriIcici.elements[i].options[1] = new Option("Indian Rupee Savings Account","rsa.htm");
					document.FrmNriIcici.elements[i].options[2] = new Option("--NRE Savings Account","irsa_nre.htm");
					document.FrmNriIcici.elements[i].options[3] = new Option("--NRO Savings Account","irsa_nro.htm");
					document.FrmNriIcici.elements[i].options[4] = new Option("High Interest Fixed Deposits","hifd.htm");
					document.FrmNriIcici.elements[i].options[5] = new Option("--Twin Currency Plan","twinplan.htm");
					document.FrmNriIcici.elements[i].options[6] = new Option("--Foreign Currency Plan","hyfcp.htm");
					document.FrmNriIcici.elements[i].options[7] = new Option("--FCNR Deposits","fcnr.htm");
					document.FrmNriIcici.elements[i].options[8] = new Option("--NRE Fixed Deposits","nre.htm");
					document.FrmNriIcici.elements[i].options[9] = new Option("--NRO Fixed Deposits","nro.htm");
					document.FrmNriIcici.elements[i].options[10] = new Option("--NRE Recurring Deposits","nre_rd.htm");
					document.FrmNriIcici.elements[i].options[11] = new Option("Accounts for Returning Indians","rfcfd.htm");
					document.FrmNriIcici.elements[i].options[12] = new Option("--RFC Fixed Deposits","rfcfd.htm");
					document.FrmNriIcici.elements[i].options[13] = new Option("--RFC Savings Account","rfcsa.htm");
					document.FrmNriIcici.elements[i].options[14] = new Option("Money2India","m2ihom.htm");
					document.FrmNriIcici.elements[i].options[15] = new Option("--Register Now","https://money2india.icicibank.co.in/m2i/CustomerInterface/indx.html");
					document.FrmNriIcici.elements[i].options[16] = new Option("--Remit Now","https://money2india.icicibank.co.in");
					document.FrmNriIcici.elements[i].options[17] = new Option("--Track your Remittance","m2it_login.htm");
					document.FrmNriIcici.elements[i].options[18] = new Option("--Various Ways of Remitting Money","m2ihom.htm#ways");
					document.FrmNriIcici.elements[i].options[19] = new Option("--Interactive Demo","https://money2india.icicibank.co.in/Demo/sitetour.htm");
					document.FrmNriIcici.elements[i].options[20] = new Option("Loans","loan_hom.htm");
					document.FrmNriIcici.elements[i].options[21] = new Option("--Home Loans","homlons.htm");
					document.FrmNriIcici.elements[i].options[22] = new Option("--Home Search","homsearch.htm");
					document.FrmNriIcici.elements[i].options[23] = new Option("--Loans against Fixed Deposits","fdloans.htm");
					document.FrmNriIcici.elements[i].options[24] = new Option("Online Trading","http://content.icicidirect.com/product_nri.asp");
					document.FrmNriIcici.elements[i].options[25] = new Option("--Invest Here","invest.htm");
					document.FrmNriIcici.elements[i].options[26] = new Option("Customer Service","cust.htm");
					document.FrmNriIcici.elements[i].options[27] = new Option("--Live Chat","http://ca.customerasset.com/ICICIBankWCDCapture.asp?");
					document.FrmNriIcici.elements[i].options[28] = new Option("--Vast Network of ATMs","https://infinity.icicibank.co.in/web/services/jsp/Locateus.jsp");
					document.FrmNriIcici.elements[i].options[29] = new Option("--Overseas Network","ovnet.htm");
					document.FrmNriIcici.elements[i].options[30] = new Option("--Feedback","mailto:nri@icicibank.com?Sub=Feedback from website");
					document.FrmNriIcici.elements[i].options[31] = new Option("--Contact Us","mailto:nri@icicibank.com?Sub=Mail from website");
					document.FrmNriIcici.elements[i].options[0].selected = true;
				}
			}	
		}
	}	
	
	function callShortCut()
	{
	  i = document.FrmNriIcici.lstGoTo.options[document.FrmNriIcici.lstGoTo.selectedIndex].value;
	  switch(i)
	  {
		case "1":
		window.open("http://www.icicibank.com/pfsuser/temp/linkmyaccounts.htm");
		break;
		case "2":
		window.location="http://www.icicibank.com/pfsuser/channels/anywhere.htm";
		break;
		case "3":
		window.location="http://www.icicibank.com/pfsuser/channels/internet/internet.htm";
		break;
		case "4":
		window.location="http://www.icicibank.com/pfsuser/channels/phone/phone.htm";
		break;
		case "5":
		window.location="http://www.icicibank.com/pfsuser/channels/mobile/mobile.htm";
		break;
		case "6":
		window.location="http://www.icicibank.com/pfsuser/channels/atm/atm.htm";
		break;
		case "7":
		window.location="http://www.icicibank.com/pfsuser/channels/bankbranch/bankbranch.htm";
		break;
		case "8":
		window.location="http://www.icicibank.com/pfsuser/channels/icicicentre/icicicentre.htm";
		break;
		case "9":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/bank.htm";
		break;
		case "10":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/savingaccount/savingaccount.htm";
		break;
		case "11":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/fixeddeposits/fixeddeposits.htm";
		break;
		case "12":
		window.open("http://www.icicibank.com/pfsuser/icicibank/depositproducts/quantumoptima/features.htm");
		break;
		case "13":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/recurringdeposits/recurring.htm";
		break;
		case "14":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/privatebanking/privatebanking.htm";
		break;
		case "15":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/roamingaccount/roamingaccount.htm";
		break;
		case "16":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/kid-e-bank/kid-e-bank.htm";
		break;
		case "17":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/bank@campus/bankatcampus.htm";
		break;
		case "18":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/powerpay/powerpay.htm";
		break;
		case "19":
		window.location="http://www.icicibank.com/pfsuser/icicibank/depositproducts/lockerfacility/lockerfacility.htm";
		break;
		case "20":
		window.location="http://www.icicibank.com/pfsuser/cards/cards.htm";
		break;
		case "21":
		window.location="http://www.icicibank.com/pfsuser/cards/creditcard/cc_home.htm";
		break;
		case "22":
		window.location="http://www.icicibank.com/pfsuser/cards/debitcard/dbhome.htm";
		break;
		case "23":
		window.location="http://www.icicibank.com/pfsuser/channels/atm/atm.htm";
		break;
		case "24":
		window.location="http://www.icicibank.com/pfsuser/demat/demathome.htm";
		break;
		case "25":
		window.location="http://www.icicibank.com/pfsuser/loans/loans.htm";
		break;
		case "26":
		window.location="http://www.icicibank.com/pfsuser/loans/homeloans/hlhomepage.htm";
		break;
		case "27":
		window.location="http://www.icicibank.com/pfsuser/loans/personalloans/plhomepage.htm";
		break;
		case "28":
		window.location="http://www.icicibank.com/pfsuser/loans/commercialloans/cvhomepage.htm";
		break;
		case "29":
		window.location="http://www.icicibank.com/pfsuser/loans/carloans/alhomepage.htm";
		break;
		case "30":
		window.location="http://www.icicibank.com/pfsuser/loans/twowheeler/twhomepage.htm";
		break;
		case "31":
		window.location="http://www.icicibank.com/pfsuser/loans/consumerdurableloans/cdhomepage.htm";
		break;
		case "32":
		window.location="http://www.icicibank.com/pfsuser/loans/las/lashomepage.htm";
		break;
		case "33":
		window.location="http://www.icicibank.com/pfsuser/bonds/invst.htm";
		break;
		case "34":
		window.location="http://www.icicibank.com/pfsuser/bonds/bonds/bondmainpage.htm";
		break;
		case "35":
		window.location="http://www.icicibank.com/pfsuser/bonds/fixeddeposits/fdfeature.htm";
		break;
		case "36":
		window.location="http://www.icicibank.com/pfsuser/icicibank/investmentproducts/reliefbonds/reliefbond.htm";
		break;
		case "37":
		window.location="http://www.icicibank.com/pfsuser/icicibank/investmentproducts/mutualfundsonline/home.htm";
		break;
		case "38":
		window.location="http://www.icicibank.com/pfsuser/icicibank/ibank-nri/index.htm";
		break;
		case "39":
		window.location="http://www.icicibank.com/pfsuser/billpay/online.htm";
		break;
		case "40":
		window.location="http://www.icicibank.com/pfsuser/billpay/billpay.htm";
		break;
		case "41":
		window.location="http://www.icicibank.com/pfsuser/munshi/index.html";
		//taxplanning/taxplanninghome.htm";
		break;  
		case "42":
		window.location="http://www.icicibank.com/pfsuser/shoponline/soshoponline.htm";
		break;
		case "43":
		window.open("http://www.icicidirect.com");
		break;
		case "44":
		window.open("http://www.icicicommunities.com");
		break;
		case "45":
		window.location.href="http://www.icicibank.com/pfsuser/services/contactus.htm";
		break;
		case "46":
		window.location="http://www.icicibank.com/pfsuser/services/MyFeedBack.htm";
		break;
		case "47":
		window.location="http://www.icicibank.com/pfsuser/loans/pcandofficeequip/pchomepage.htm";
		break;
		case "48":
		window.location="http://www.icicibank.com/pfsuser/loans/medicalequip/mdhomepage.htm";
		break;
		}
	}