



//Making a menu object
oMenu=new menuObj('oMenu') //Place a name for the menu in there. Must be uniqe for each menu




//Setting menu object variables




//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
oMenu.clMain='padding:0px; font-family:verdana; font-size:9px; font-weight:bold' //The style for the main menus

if (navigator.appName.indexOf('Netscape')==-1)
	{
oMenu.clSub='padding:2px; font-family:verdana; font-size:9px; font-weight:bold' //The style for the submenus
oMenu.clSubSub='padding:2px; font-family:verdana; font-size:9px; font-weight:bold' //The style for the subsubmenus
	}
else
	{
oMenu.clSub='padding:2px; font-family:verdana; font-size:8pt; font-weight:bold' //The style for the submenus
oMenu.clSubSub='padding:2px; font-family:verdana; font-size:8pt; font-weight:bold' //The style for the subsubmenus
	}

oMenu.clAMain='text-decoration:none; color:black' //The style for the main links
oMenu.clASub='text-decoration:none; color:White' //The style for the sub links

oMenu.clASubSub='text-decoration:none; color:White' //The style for the subsub links




//Writing out the style for the menu (leave this line!)
oMenu.makeStyle()




//Background bar properties
oMenu.backgroundbar=0 //Set to 0 if no backgroundbar
oMenu.backgroundbarfromleft=0 //The left placement of the backgroundbar in pixel or %
oMenu.backgroundbarfromtop=0 //The top placement of the backgroundbar  in pixel or %
oMenu.backgroundbarsize=0 //The size of the bar in pixel or %
oMenu.backgroundbarcolor=0 //The backgroundcolor of the bar




oMenu.mainheight=16 //The height of the main menuitems in pixel or %
oMenu.mainwidth=0 //The width of the main menuitems  in pixel or %




/*These are new variables. In this example they are set like the previous version*/


oMenu.subwidth=250 // ** NEW ** The width of the submenus
oMenu.subheight=16 //The height if the subitems in pixel or % 




oMenu.subsubwidth=250 // ** NEW ** The width of the subsubmenus in pixel or % 
oMenu.subsubheight=16 //** NEW ** The height if the subsubitems in pixel or % 




oMenu.subplacement=0 //** NEW ** Relative to the main item
oMenu.subsubXplacement=160 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu.subsubYplacement=5 //** NEW ** The Y placement of the subsubmenus, relative to the sub item




oMenu.mainbgcoloroff='#000000' //The backgroundcolor of the main menuitems
oMenu.mainbgcoloron='#000000' //The backgroundcolor on mouseover of the main menuitems
oMenu.mysubcolor='#9966CC' //The backgroundcolor on mouseover of the main menuitems
oMenu.subbgcoloroff='#000066' //The backgroundcolor of the sub menuitems
oMenu.subbgcoloron='#003399' //The backgroundcolor on mouseover of the sub menuitems
oMenu.subsubbgcoloroff='#003399' //The backgroundcolor of the subsub menuitems
oMenu.subsubbgcoloron='#3399CC' //The backgroundcolor on mouseover of the subsub menuitems
oMenu.stayoncolor=1 //Do you want the menus to stay on the mouseovered color when clicked?




oMenu.menuspeed=60 //The speed of the clipping in px
oMenu.menusubspeed=60 //The speed of the submenus clipping in px




oMenu.menurows=0 //Set to 0 if you want rows and to 1 if you want columns




oMenu.menueventon="mouse" //Set this to "mouse" if you want the menus to appear onmouseover, set it to "click" if you want it to appear onclick
oMenu.menueventoff="mouse" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"




//Placement of the menuitems




//Example in %:
//oMenu.menuplacement=new Array("20%","40%","60%","50%","65%") //Remember to make the arrays contain as many values as you have main menuitems




//Example in px: (remember to use the ' ' around the numbers)
//oMenu.menuplacement=new Array('105','120','135','150','165','180','195','210','225','238','255','271','286','301','316','331','346')
oMenu.menuplacement=new Array('95','110','115','140','155','170','185','200','225','238','255','271','286','301','316','331','336')


//Example right beside eachother (only adding the pxbetween variable)
//oMenu.menuplacement=0




//If you use the "right beside eachother" you cant how many pixel there should be between each here
oMenu.pxbetween=0 //in pixel or %




//And you can set where it should start from the left here
oMenu.fromleft=189 //in pixel or %




//This is how much from the top the menu should be.
oMenu.fromtop=107 //in pixel or %




/********************************************************************************
Construct your menus below
********************************************************************************/




//MAIN 0
//Main items = SPECIAL OFFERS
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)

oMenu.makeMain(0,'',1)

	//Sub items:
	// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)	
	

//MAIN 1 = GROW MY WEALTH		
oMenu.makeMain(1,'',0)
	oMenu.makeSub(1,0,'Meningkatkan Kekayaan Anda','gwealth/growing.htm',3)
	oMenu.makeSub(1,1,'Melindungi Kekayaan Anda','gwealth/protec.htm',3)	
	oMenu.makeSub(1,2,'Perencanaan Untuk Generasi Mendatang','gwealth/wplan.htm',3)

		
//MAIN 2 = FINANCIAL PLANNING	
oMenu.makeMain(2,'',0)
	oMenu.makeSub(2,0,'Langkah Awal','finplan/gstart/gstart.htm',7)
	oMenu.makeSub(2,1,'Asuransi','finplan/insure/insure.htm',7)
	oMenu.makeSub(2,2,'Investasi','finplan/invest/invest.htm',7)
	oMenu.makeSub(2,3,'Private Wealth Advisory Layanan','finplan/wealth/wealth.htm',7)
	oMenu.makeSub(2,4,'Alat Bantu Investasi','finplan/itools/itools.htm',7)
	//oMenu.makeSub(2,5,'Berita dan Informasi','finplan/news/news.htm',8)
	oMenu.makeSub(2,5,"Profil Investasi Pribadi","javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/contact/customer/pinvest/')",7)
	oMenu.makeSub(2,6,'Kamus','finplan/glossary/glossary.htm',7)




		//Insurance Sub Menu
		//oMenu.makeSubSub(2,1,0,'Whole Life','finplan/insure/life/life.htm',2)
		//oMenu.makeSubSub(2,1,1,'Endownment','finplan/insure/endown/endown.htm',2)
	


		//Investment Sub Menu
		oMenu.makeSubSub(2,2,0,'Investment Funds','finplan/invest/investf/investf.htm',7)
		oMenu.makeSubSub(2,2,1,'Foreign Exchange & Currency Trading','finplan/invest/foreign/foreign.htm',7)
		//oMenu.makeSubSub(2,2,2,'Unit Options','finplan/invest/uoptions/uoptions.htm',8)
		oMenu.makeSubSub(2,2,2,'Enhanced Deposit','finplan/invest/edeposit/edeposit.htm',7)
		oMenu.makeSubSub(2,2,3,'Gold Investment','finplan/invest/gdinvest/gdinvest.htm',7)
		oMenu.makeSubSub(2,2,4,'Saham & Bonds','finplan/invest/stocksb/stocksb.htm',7)
		oMenu.makeSubSub(2,2,5,'Alat Bantu Investasi','finplan/invest/itools/itools.htm',7)
		oMenu.makeSubSub(2,2,6,"Profil Investasi Pribadi","javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/bahasa/contact/customer/pinvest/')",7)


		//Private Wealth Advisory Services Sub Menu
		oMenu.makeSubSub(2,3,0,'Lakukan Aplikasi Sekarang Juga',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/bahasa/appl/proserv/')",1)


		//Investment Tools Sub Menu
		oMenu.makeSubSub(2,4,0,'Education Funding Planning','javascript:cals(\'products/invest/itools/cals/eplan.htm\',\'eplan\')',5)
		oMenu.makeSubSub(2,4,1,'Future Value Calculator','javascript:cals(\'products/invest/itools/cals/fvcal.htm\',\'fvcal\')',5)
		oMenu.makeSubSub(2,4,2,'Present Value Calculator','javascript:cals(\'products/invest/itools/cals/pvcal.htm\',\'pvcal\')',5)
		oMenu.makeSubSub(2,4,3,'Present Additional Calculator','javascript:cals(\'products/invest/itools/cals/pacal.htm\',\'pacal\')',5)
		oMenu.makeSubSub(2,4,4,'Major Purchase Planner','javascript:cals(\'products/invest/itools/cals/mpplan.htm\',\'mpplan\')',5)




//Main 3 = PRODUCTS
oMenu.makeMain(3,'',0)
	oMenu.makeSub(3,0,'Tabungan & Rekening Koran','products/savings/savings.htm',7)
	oMenu.makeSub(3,1,'Deposito','products/deposit/deposit.htm',7)
	oMenu.makeSub(3,2,'Investasi','products/invest/invest.htm',7)
	oMenu.makeSub(3,3,'Asuransi','products/insure/insure.htm',7)
	oMenu.makeSub(3,4,'CitiGold','products/citigold/citigold.htm',7)
	oMenu.makeSub(3,5,'Private Wealth Advisory Layanan','products/wealth/wealth.htm',7)
	oMenu.makeSub(3,6,'Pinjaman','products/loans/loans.htm',7)	


		//Savings Sub Menu
		oMenu.makeSubSub(3,0,0,'Rekening Tabungan','products/savings/saccount/saccount.htm',4)
		oMenu.makeSubSub(3,0,1,'Rekening Koran','products/savings/check/check.htm',4)
		oMenu.makeSubSub(3,0,2,'Rekening Giro','products/savings/interest/interest.htm',4)
		oMenu.makeSubSub(3,0,3,'Citicard','products/savings/citicard/citicard.htm',4)


		//Deposit Sub Menu
		oMenu.makeSubSub(3,1,0,'Deposito Berjangka','products/deposit/tdeposit/tdeposit.htm',2)
		oMenu.makeSubSub(3,1,1,'Enhanced Deposit','products/deposit/edeposit/edeposit.htm',2)


		//Investment Sub Menu
		oMenu.makeSubSub(3,2,0,'Investment Funds','products/invest/investf/investf.htm',7)
		oMenu.makeSubSub(3,2,1,'Foreign Exchange & Currency Trading','products/invest/foreign/foreign.htm',8)
		//oMenu.makeSubSub(3,2,2,'Unit Options','products/invest/uoptions/uoptions.htm',8)
		oMenu.makeSubSub(3,2,2,'Enhanced Deposit','products/invest/edeposit/edeposit.htm',7)
		oMenu.makeSubSub(3,2,3,'Gold Investment','products/invest/gdinvest/gdinvest.htm',7)
		oMenu.makeSubSub(3,2,4,'Saham & Bonds','products/invest/stocksb/stocksb.htm',7)
		oMenu.makeSubSub(3,2,5,'Alat Bantu Investasi','products/invest/itools/itools.htm',7)
		oMenu.makeSubSub(3,2,6,"Profil Investasi Pribadi","javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/bahasa/contact/customer/pinvest/')",7)


		//Insurance Sub Menu
		//oMenu.makeSubSub(3,3,0,'Whole Life','products/insure/life/life.htm',2)
		//oMenu.makeSubSub(3,3,1,'Endownment','products/insure/endown/endown.htm',2)
	


		//Private Wealth Advisory Services Sub Menu
		oMenu.makeSubSub(3,5,0,'Lakukan Aplikasi Sekarang Juga',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/bahasa/appl/proserv/')",1)


		//Loans Sub Menu
		oMenu.makeSubSub(3,6,0,'Fasilitas Cerukan Otomatis','products/loans/aodraft/aodraft.htm',4)
		oMenu.makeSubSub(3,6,1,'Short-term Fixed Rate Loan','products/loans/stloan/stloan.htm',4)
		oMenu.makeSubSub(3,6,2,'Multi-Currency Home Loan','products/loans/mcloan/mcloan.htm',4)
		oMenu.makeSubSub(3,6,3,'Leverage Loan','products/loans/levloan/levloan.htm',4)
		

//MAIN 4 = SERVICES		
oMenu.makeMain(4,'',1)
	oMenu.makeSub(4,0,'Citicard','services/citicard/citicard.htm',5)
	oMenu.makeSub(4,1,'Internet Banking','services/ibank/ibank.htm',5)
	oMenu.makeSub(4,2,'CitiPhone','services/cphone/cphone.htm',5)
	oMenu.makeSub(4,3,'Fax Banking','services/faxbank/faxbank.htm',5)
	oMenu.makeSub(4,4,'CitiGold','services/citigold/citigold.htm',5)


		//Internet Banking Sub Menu
		//oMenu.makeSubSub(4,1,0,"Melihat Demo","javascript:newwin('http://www.citibank.com/singapore/ipb/english/ibank/demo/startx.htm')",5)
		oMenu.makeSubSub(4,1,0,'Cara Memulai','services/ibank/gstart/gstart.htm',3)
		oMenu.makeSubSub(4,1,1,'Layanan Yang Tersedia','services/ibank/services/services.htm',3)
		oMenu.makeSubSub(4,1,2,'Keamanan','services/ibank/security/security.htm',3)
	

//MAIN 5 = INTERNET BANKING
oMenu.makeMain(5,'',0)
	oMenu.makeSub(5,0,'Cara Memulai','ibank/gstart/gstart.htm',3)
	oMenu.makeSub(5,1,'Layanan Yang Tersedia','ibank/services/services.htm',3)
	oMenu.makeSub(5,2,'Keamanan','ibank/security/security.htm',3)

		
//MAIN 6 = LIFESTYLE	
oMenu.makeMain(6,'',1)


//MAIN 7		
oMenu.makeMain(7,'',1)	


//MAIN 8		
oMenu.makeMain(8,'',1)	



//MAIN 9 = ABOUT US & SINGAPORE
oMenu.makeMain(9,"",0)
	oMenu.makeSub(9,0,"Tur Di Negara Kami","javascript:ipbtour('../english/about/tour/ipbtour/frame.htm')",7)
	oMenu.makeSub(9,1,"Perbankan Di Singapura","javascript:openTWin('../english/about/sbank/index.htm')",7)
	oMenu.makeSub(9,2,'Apa Yang Dikatakan Nasabah Tentang Kami',"javascript:openTWin('../english/about/customer/index.htm')",7)
	oMenu.makeSub(9,3,'Bekerja Di Singapura',"javascript:openTWin('../english/about/work/index.htm')",7)
	oMenu.makeSub(9,4,'Menuntut Ilmu',"javascript:openTWin('../english/about/study/index.htm')",7)
	oMenu.makeSub(9,5,'Hidup Di Singapura',"javascript:openTWin('../english/about/live/index.htm')",7)
	oMenu.makeSub(9,6,'Berlibur Di Singapura',"javascript:openTWin('../english/about/holiday/index.htm')",7)




/********************************************************************************
End menu construction
********************************************************************************/
		
		
//When all the menus are written out we initiates the menu
oMenu.construct()	