


//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('106','121','136','151','166','181','196','211','226','241','256','271','292','317','332','347','362','377','382','412','427','430')



//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 = LOGIN TO INTERNET BANKING
oMenu.makeMain(0,'',1)
//MAIN 1 = FIRST TIME USER
oMenu.makeMain(1,'',1)
//Main items = GETTING STARTED
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)

//MAIN 2
oMenu.makeMain(2,'',1)
	//Sub items:
	// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)


//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 = ABOUT US & SINGAPORE
oMenu.makeMain(21,'',1)

/********************************************************************************
End menu construction
********************************************************************************/


//When all the menus are written out we initiates the menu
oMenu.construct()	