







//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=200 // ** 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('92','107','118','133','163','178','193','208','223','238','253','268','283','298','313','328','343','358','397','422','437','452','467','482','497','522','547','415')








//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 0		
oMenu.makeMain(0,'',1)	


//MAIN 1		
oMenu.makeMain(1,'',1)	


//MAIN 2		
oMenu.makeMain(2,'',1)


//MAIN 3		
oMenu.makeMain(3,'',1)	


//MAIN 4		
oMenu.makeMain(4,'',1)	


//MAIN 5		
oMenu.makeMain(5,'',1)


//MAIN 6		
oMenu.makeMain(6,'',1)	


//MAIN 7		
oMenu.makeMain(7,'',1)


//MAIN 8		
oMenu.makeMain(8,'',1)


//MAIN 9		
oMenu.makeMain(9,'',1)


//MAIN 10		
oMenu.makeMain(10,'',1)


//MAIN 11		
oMenu.makeMain(11,'',1)


//MAIN 12		
oMenu.makeMain(12,'',1)


//MAIN 13		
oMenu.makeMain(13,'',1)


//MAIN 14		
oMenu.makeMain(14,'',1)


//MAIN 15		
oMenu.makeMain(15,'',1)


//MAIN 16		
oMenu.makeMain(16,'',1)


//MAIN 17		
oMenu.makeMain(17,'',1)


//MAIN 18		
oMenu.makeMain(18,'',1)


//MAIN 19		
oMenu.makeMain(19,'',1)


//MAIN 20		
oMenu.makeMain(20,'',1)


//MAIN 21		
oMenu.makeMain(21,'',1)


//MAIN 22		
oMenu.makeMain(22,'',1)


//MAIN 23		
oMenu.makeMain(23,'',1)


//MAIN 24		
oMenu.makeMain(24,'',1)


//MAIN 25		
oMenu.makeMain(25,'',1)


//MAIN 26		
oMenu.makeMain(26,'',1)




//MAIN 27 = ABOUT US & SINGAPORE
oMenu.makeMain(27,'',0)
	oMenu.makeSub(27,0,"Tur Di Negara Kami","javascript:ipbtour('../../../../english/about/tour/ipbtour/frame.htm')",7)
	oMenu.makeSub(27,1,"Perbankan Di Singapura","javascript:openTWin('../../../../english/about/sbank/index.htm')",7)
	oMenu.makeSub(27,2,'Apa Yang Dikatakan Nasabah Tentang Kami',"javascript:openTWin('../../../../english/about/customer/index.htm')",7)
	oMenu.makeSub(27,3,'Bekerja Di Singapura',"javascript:openTWin('../../../../english/about/work/index.htm')",7)
	oMenu.makeSub(27,4,'Menuntut Ilmu',"javascript:openTWin('../../../../english/about/study/index.htm')",7)
	oMenu.makeSub(27,5,'Hidup Di Singapura',"javascript:openTWin('../../../../english/about/live/index.htm')",7)
	oMenu.makeSub(27,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()	
