//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();
_d=document;
function addmenu(){
	menunum++;menus[menunum]=menu;
}

function dumpmenus(){
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
	_d.write(mt)
}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

	effect = "Fade(duration=0.2)"								// Stop IE5.5 bug when using more than one filter
	MainMenuTextEffect = "Shadow(color='#777777', Direction=115, Strength=1)"		// Stop IE5.5 bug when using more than one filter

timegap = 300			// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=7;			// Sub menu offset Top position 
suboffset_left=2;			// Sub menu offset Left position
closeOnClick = true

MainMenuStyle=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",				// Mouse Off Font Color
"",					// Mouse Off Background Color
"003399",				// Mouse On Font Color
"",					// Mouse On Background Color
"",					// Menu Border Color 
11,					// Font Size in pixels
"Normal",				// Font Style (italic or normal)
"Bold",				// Font Weight (bold or normal)
"Arial, Helvetica, sans-serif",	// Font Name
5,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"",					// 3D High Color
"",					// 3D Low Color
"",					// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"",					// Top Bar image (Leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
"",					// Menu Item Separator Color
]

SubMenuStyle=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"FFFFFF",				// Mouse Off Font Color
"70788f",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"FFFFFF",				// Mouse On Background Color
"000000",				// Menu Border Color 
11,					// Font Size in pixels
"Normal",				// Font Style (italic or normal)
"Bold",				// Font Weight (bold or normal)
"Arial, Helvetica, sans-serif",	// Font Name
5,					// Menu Item Padding
"images/TopMenuArrowR.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"",					// 3D High Color
"",					// 3D Low Color
"",					// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"",					// Top Bar image (Leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
"000000",				// Menu Item Separator Color
]

addmenu(menu=[			// This is the array that contains your menu properties and details
"mainmenu",				// Menu Name - This is needed in order for the menu to be called
5,					// Menu Top - The Top position of the menu in pixels
148,					// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MainMenuStyle,			// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
MainMenuTextEffect,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
, 					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"CORPORATE INFORMATION&nbsp;&nbsp;","show-menu=CI","index.php","",1
,"GROUP OF COMPANIES&nbsp;&nbsp;","show-menu=IR","group.php","",1
,"NEWS & CAREERS&nbsp;&nbsp;","show-menu=UA","news/news.php","",1
,"CONTACT US&nbsp;&nbsp;","show-menu=CS","contact/contact.php","",1
,"LOGIN&nbsp;&nbsp;","show-menu=HM","login.php","",1
,"HOME&nbsp;&nbsp;","show-menu=HM","default.php","",1
])

	//Corporate Information
	addmenu(menu=["CI",
	,,160,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
	,"Company Background","about.php",,,1
	,"Board of Directors","directors/bod.php",,,1
	,"Group Completed Projects","companies/project_completed_group.php",,,1
	,"Group Current Projects","companies/project_current_group.php",,,1
	])
	
		
		
		

	//Group of Companies
	//,"HLA Project Management Sdn Bhd","show-menu=PMC","companies/pmc.php",,1
			addmenu(menu=["IR",
			,,185,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"HLA Associates Sdn Bhd","show-menu=ASC","companies/associates.php",,1
			
			,"HLA Integrated Sdn Bhd","show-menu=INT","companies/integrated.php",,1
			])
		
			addmenu(menu=["ASC",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/associates.php",,,1
			,"Organisation Chart","companies/associates.php?l=1",,,1
			,"Services","companies/associates.php?l=2",,,1
			,"Project","companies/associates.php?l=3",,,1
			])
			
			addmenu(menu=["PMC",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/pmc.php",,,1
			,"Organisation Chart","companies/pmc.php?l=1",,,1
			,"Services","companies/pmc.php?l=2",,,1
			,"Project","companies/pmc.php?l=3&&com=HLA-009",,,1
			])
			
			addmenu(menu=["INT",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/integrated.php",,,1
			,"Organisation Chart","companies/integrated.php?l=1",,,1
			,"Services","companies/integrated.php?l=2",,,1
			,"Project","companies/integrated.php?l=3&&com=HLA-002",,,1
			])
			
			/*
			addmenu(menu=["TLG",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/taleng.php",,,1
			,"Organisation Chart","companies/taleng.php?l=1",,,1
			,"Services","companies/taleng.php?l=2",,,1
			,"Project","companies/taleng.php?l=3&&com=HLA-004",,,1
			])
			
			addmenu(menu=["PWG",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/pwangsa.php",,,1
			,"Organisation Chart","companies/pwangsa.php?l=1",,,1
			,"Services","companies/pwangsa.php?l=2",,,1
			,"Project","companies/pwangsa.php?l=3&&com=HLA-007",,,1
			])
			
			addmenu(menu=["DEV",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/development.php",,,1
			,"Organisation Chart","companies/development.php?l=1",,,1
			,"Services","companies/development.php?l=2",,,1
			,"Project","companies/development.php?l=3",,,1
			])
		
			addmenu(menu=["ENV",
			,,140,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
			,"Corporate Profile","companies/enviromental.php",,,1
			,"Organisation Chart","companies/enviromental.php?l=1",,,1
			,"Services","companies/enviromental.php?l=2",,,1
			,"Project","companies/enviromental.php?l=3",,,1
			])
			*/
		
		
	//News & Announcements
		addmenu(menu=["UA",
		,,135,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
		,"News","news/news.php",,,1
		,"Career","news/job.php",,,1
	])
	
	
	

	//Contact
	addmenu(menu=["CS",
	,,160,1,"",SubMenuStyle,,"left",effect,,,,,,,,,,,,
	,"Contact Information","contact.php",,,1
	,"Location Map","map.php",,,1
	])
			
	

dumpmenus()
