
//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-size:11px;' //The style for the submenus
oMenu.clSubSub='padding:2px; font-size:11px;' //The style for the subsubmenus
	}
else
	{
oMenu.clSub='padding:2px; font-size:9pt;' //The style for the submenus
oMenu.clSubSub='padding:2px; font-size:9pt;' //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=200 // ** NEW ** The width of the submenus
oMenu.subheight=20 //The height if the subitems in pixel or %

oMenu.subsubwidth=200 // ** NEW ** The width of the subsubmenus in pixel or %
oMenu.subsubheight=20 //** NEW ** The height if the subsubitems in pixel or %

oMenu.subplacement=0 //** NEW ** Relative to the main item
oMenu.subsubXplacement=180 //** 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('93','108','123','138','153','168','183','198','213','226','243','259','274','289','304','319','334')


//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=90 //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,'增 長 您 的 財 富','gwealth/growing.htm',3)
	oMenu.makeSub(1,1,'保 障 您 的 財 富','gwealth/protec.htm',3)
	oMenu.makeSub(1,2,'為 後 代 子 孫 規 劃 財 富','gwealth/wplan.htm',3)


//MAIN 2 = FINANCIAL PLANNING
oMenu.makeMain(2,'',0)
	oMenu.makeSub(2,0,'基 本 投 資','finplan/gstart/gstart.htm',6)
	oMenu.makeSub(2,1,'保 險','finplan/insure/insure.htm',6)
	oMenu.makeSub(2,2,'投 資','finplan/invest/invest.htm',6)
	oMenu.makeSub(2,3,'私 人 財 富 顧 問 服 務','finplan/wealth/wealth.htm',6)
	oMenu.makeSub(2,4,'投 資 工 具','finplan/itools/itools.htm',6)
	oMenu.makeSub(2,5,'個 人 投 資 組 合',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/chinese/contact/customer/pinvest/')",6)
		//Insurance Sub Menu
		//oMenu.makeSubSub(2,1,0,'終 身','finplan/insure/life/life.htm',2)
		//oMenu.makeSubSub(2,1,1,'退 休','finplan/insure/endown/endown.htm',2)
		//Investment Sub Menu
		oMenu.makeSubSub(2,2,0,'投 資 基 金','finplan/invest/investf/investf.htm',6)
		oMenu.makeSubSub(2,2,1,'外 匯 與 外 幣 交 易','finplan/invest/foreign/foreign.htm',6)
		oMenu.makeSubSub(2,2,2,'高 回 報 存 款','finplan/invest/edeposit/edeposit.htm',6)
		oMenu.makeSubSub(2,2,3,'黃 金 投 資','finplan/invest/gdinvest/gdinvest.htm',6)
		oMenu.makeSubSub(2,2,4,'股 票 與 債 券','finplan/invest/stocksb/stocksb.htm',6)
		oMenu.makeSubSub(2,2,5,'投 資 工 具','finplan/invest/itools/itools.htm',6)
		//Private Wealth Advisory Services Sub Menu
		oMenu.makeSubSub(2,2,6,'個 人 投 資 規 劃',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/chinese/contact/customer/pinvest/')",1)
		//Investment Tools Sub Menu
		oMenu.makeSubSub(2,3,0,'現 在 就 申 請',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/chinese/appl/proserv/')",1)
		oMenu.makeSubSub(2,4,0,'教 育 規 劃','javascript:cals(\'products/invest/itools/cals/eplan.htm\',\'eplan\')',5)
		oMenu.makeSubSub(2,4,1,'未 來 價 值','javascript:cals(\'products/invest/itools/cals/fvcal.htm\',\'fvcal\')',5)
		oMenu.makeSubSub(2,4,2,'目 前 價 值','javascript:cals(\'products/invest/itools/cals/pvcal.htm\',\'pvcal\')',5)
		oMenu.makeSubSub(2,4,3,'時 程 增 值','javascript:cals(\'products/invest/itools/cals/pacal.htm\',\'pacal\')',5)
		oMenu.makeSubSub(2,4,4,'主 要 購 買 計 劃','javascript:cals(\'products/invest/itools/cals/mpplan.htm\',\'mpplan\')',5)


//Main 3 = PRODUCTS
oMenu.makeMain(3,'',0)
	oMenu.makeSub(3,0,'儲 蓄 與 支 票','products/savings/savings.htm',7)
	oMenu.makeSub(3,1,'存 款','products/deposit/deposit.htm',7)
	oMenu.makeSub(3,2,'投 資','products/invest/invest.htm',7)
	oMenu.makeSub(3,3,'保 險','products/insure/insure.htm',7)
	oMenu.makeSub(3,4,'花 旗  貴 賓','products/citigold/citigold.htm',7)
	oMenu.makeSub(3,5,'私 人 財 富 顧 問 服 務','products/wealth/wealth.htm',7)
	oMenu.makeSub(3,6,'貸 款','products/loans/loans.htm',7)
		//Savings Sub Menu
		oMenu.makeSubSub(3,0,0,'儲 蓄 帳 戶','products/savings/saccount/saccount.htm',4)
		oMenu.makeSubSub(3,0,1,'支 票 帳 戶','products/savings/check/check.htm',4)
		oMenu.makeSubSub(3,0,2,'付 息 支 票 帳 戶','products/savings/interest/interest.htm',4)
		oMenu.makeSubSub(3,0,3,'花 旗  卡','products/savings/citicard/citicard.htm',4)
		//Deposit Sub Menu
		oMenu.makeSubSub(3,1,0,'定 期 存 款','products/deposit/tdeposit/tdeposit.htm',2)
		oMenu.makeSubSub(3,1,1,'高 回 報 存 款','products/deposit/edeposit/edeposit.htm',2)
		//Investment Sub Menu
		oMenu.makeSubSub(3,2,0,'投 資 基 金','products/invest/investf/investf.htm',7)
		oMenu.makeSubSub(3,2,1,'外 匯 與 外 幣 交 易','products/invest/foreign/foreign.htm',7)
		//oMenu.makeSubSub(3,2,2,'期 權','products/invest/uoptions/uoptions.htm',8)
		oMenu.makeSubSub(3,2,2,'高 回 報 存 款','products/invest/edeposit/edeposit.htm',7)
		oMenu.makeSubSub(3,2,3,'黃 金 投 資','products/invest/gdinvest/gdinvest.htm',7)
		oMenu.makeSubSub(3,2,4,'股 票 與 債 券','products/invest/stocksb/stocksb.htm',7)
		oMenu.makeSubSub(3,2,5,'投 資 工 具','products/invest/itools/itools.htm',7)
		oMenu.makeSubSub(3,2,6,'個 人 投 資 規 劃',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/chinese/contact/customer/pinvest/')",7)
		//Insurance Sub Menu
		//oMenu.makeSubSub(3,3,0,'終 身','products/insure/life/life.htm',2)
		//oMenu.makeSubSub(3,3,1,'退 休','products/insure/endown/endown.htm',2)
		//Private Wealth Advisory Services Sub Menu
		oMenu.makeSubSub(3,5,0,'現 在 就 申 請',"javascript:newwin('/cgi-bin/gohttps?/cgi-bin/securemail/securemail.cgi/ipb-singapore/secureforms/chinese/appl/proserv/')",1)
		//Loans Sub Menu
		oMenu.makeSubSub(3,6,0,'自 動 透 支','products/loans/aodraft/aodraft.htm',4)
		oMenu.makeSubSub(3,6,1,'短 期 固 定 利 率 貸 款','products/loans/stloan/stloan.htm',4)
		oMenu.makeSubSub(3,6,2,'多 種 貨 幣 房 屋 貸 款','products/loans/mcloan/mcloan.htm',4)
		oMenu.makeSubSub(3,6,3,'貢 杆 平 衡 貸 款','products/loans/levloan/levloan.htm',4)


//MAIN 4 = SERVICES
oMenu.makeMain(4,'',1)
	oMenu.makeSub(4,0,'花 旗  卡','services/citicard/citicard.htm',5)
	oMenu.makeSub(4,1,'花 旗  網 路 銀 行','services/ibank/ibank.htm',5)
	oMenu.makeSub(4,2,'花 旗  電 話 理 財 服 務','services/cphone/cphone.htm',5)
	oMenu.makeSub(4,3,'傳 真 銀 行 / 資 訊 傳 真','services/faxbank/faxbank.htm',5)
	oMenu.makeSub(4,4,'花 旗  貴 賓','services/citigold/citigold.htm',5)
		//Internet Banking Sub Menu
		oMenu.makeSubSub(4,1,0,'開 始 使 用','services/ibank/gstart/gstart.htm',3)
		oMenu.makeSubSub(4,1,1,'服 務 項 目','services/ibank/services/services.htm',3)
		oMenu.makeSubSub(4,1,2,'安 全','services/ibank/security/security.htm',3)


//MAIN 5 = INTERNET BANKING
oMenu.makeMain(5,'',0)
	oMenu.makeSub(5,0,'開 始 使 用','ibank/gstart/gstart.htm',3)
	oMenu.makeSub(5,1,'服 務 項 目','ibank/services/services.htm',3)
	oMenu.makeSub(5,2,'安 全','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,"",1)

/********************************************************************************
End menu construction
********************************************************************************/


//When all the menus are written out we initiates the menu
oMenu.construct()	
